| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > opthreg | Structured version Visualization version GIF version | ||
| Description: Theorem for alternate representation of ordered pairs, requiring the Axiom of Regularity ax-reg 9541 (via the preleq 9572 step). See df-op 4590 for a description of other ordered pair representations. Exercise 34 of [Enderton] p. 207. (Contributed by NM, 16-Oct-1996.) (Proof shortened by AV, 15-Jun-2022.) |
| Ref | Expression |
|---|---|
| opthreg.1 | ⊢ 𝐴 ∈ V |
| opthreg.2 | ⊢ 𝐵 ∈ V |
| opthreg.3 | ⊢ 𝐶 ∈ V |
| opthreg.4 | ⊢ 𝐷 ∈ V |
| Ref | Expression |
|---|---|
| opthreg | ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | opthreg.1 | . . . . 5 ⊢ 𝐴 ∈ V | |
| 2 | 1 | prid1 4722 | . . . 4 ⊢ 𝐴 ∈ {𝐴, 𝐵} |
| 3 | opthreg.3 | . . . . 5 ⊢ 𝐶 ∈ V | |
| 4 | 3 | prid1 4722 | . . . 4 ⊢ 𝐶 ∈ {𝐶, 𝐷} |
| 5 | prex 5396 | . . . . 5 ⊢ {𝐴, 𝐵} ∈ V | |
| 6 | 5 | preleq 9572 | . . . 4 ⊢ (((𝐴 ∈ {𝐴, 𝐵} ∧ 𝐶 ∈ {𝐶, 𝐷}) ∧ {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷})) |
| 7 | 2, 4, 6 | mpanl12 712 | . . 3 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷})) |
| 8 | preq1 4693 | . . . . . 6 ⊢ (𝐴 = 𝐶 → {𝐴, 𝐵} = {𝐶, 𝐵}) | |
| 9 | 8 | eqeq1d 2765 | . . . . 5 ⊢ (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ {𝐶, 𝐵} = {𝐶, 𝐷})) |
| 10 | opthreg.2 | . . . . . 6 ⊢ 𝐵 ∈ V | |
| 11 | opthreg.4 | . . . . . 6 ⊢ 𝐷 ∈ V | |
| 12 | 10, 11 | preqr2 4808 | . . . . 5 ⊢ ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷) |
| 13 | 9, 12 | biimtrdi 255 | . . . 4 ⊢ (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷)) |
| 14 | 13 | imdistani 576 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| 15 | 7, 14 | syl 17 | . 2 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| 16 | preq1 4693 | . . . 4 ⊢ (𝐴 = 𝐶 → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}}) | |
| 17 | 16 | adantr 484 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}}) |
| 18 | preq12 4695 | . . . 4 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}) | |
| 19 | 18 | preq2d 4700 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐶, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) |
| 20 | 17, 19 | eqtrd 2798 | . 2 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) |
| 21 | 15, 20 | impbii 211 | 1 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 208 ∧ wa 399 = wceq 1561 ∈ wcel 2143 Vcvv 3455 {cpr 4585 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1816 ax-4 1830 ax-5 1931 ax-6 1988 ax-7 2029 ax-8 2145 ax-9 2153 ax-ext 2735 ax-sep 5247 ax-pr 5391 ax-reg 9541 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1101 df-tru 1564 df-fal 1574 df-ex 1801 df-sb 2092 df-clab 2742 df-cleq 2755 df-clel 2838 df-ne 2959 df-ral 3078 df-rex 3088 df-rab 3416 df-v 3457 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-nul 4287 df-if 4482 df-pw 4558 df-sn 4584 df-pr 4586 df-op 4590 df-br 5102 df-opab 5164 df-eprel 5548 df-fr 5601 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |