| 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 9611 (via the preleq 9635 step). See df-op 4613 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 4743 | . . . 4 ⊢ 𝐴 ∈ {𝐴, 𝐵} |
| 3 | opthreg.3 | . . . . 5 ⊢ 𝐶 ∈ V | |
| 4 | 3 | prid1 4743 | . . . 4 ⊢ 𝐶 ∈ {𝐶, 𝐷} |
| 5 | prex 5412 | . . . . 5 ⊢ {𝐴, 𝐵} ∈ V | |
| 6 | 5 | preleq 9635 | . . . 4 ⊢ (((𝐴 ∈ {𝐴, 𝐵} ∧ 𝐶 ∈ {𝐶, 𝐷}) ∧ {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷})) |
| 7 | 2, 4, 6 | mpanl12 702 | . . 3 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷})) |
| 8 | preq1 4714 | . . . . . 6 ⊢ (𝐴 = 𝐶 → {𝐴, 𝐵} = {𝐶, 𝐵}) | |
| 9 | 8 | eqeq1d 2738 | . . . . 5 ⊢ (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ {𝐶, 𝐵} = {𝐶, 𝐷})) |
| 10 | opthreg.2 | . . . . . 6 ⊢ 𝐵 ∈ V | |
| 11 | opthreg.4 | . . . . . 6 ⊢ 𝐷 ∈ V | |
| 12 | 10, 11 | preqr2 4830 | . . . . 5 ⊢ ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷) |
| 13 | 9, 12 | biimtrdi 253 | . . . 4 ⊢ (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷)) |
| 14 | 13 | imdistani 568 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| 15 | 7, 14 | syl 17 | . 2 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| 16 | preq1 4714 | . . . 4 ⊢ (𝐴 = 𝐶 → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}}) | |
| 17 | 16 | adantr 480 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}}) |
| 18 | preq12 4716 | . . . 4 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}) | |
| 19 | 18 | preq2d 4721 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐶, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) |
| 20 | 17, 19 | eqtrd 2771 | . 2 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) |
| 21 | 15, 20 | impbii 209 | 1 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 ∧ wa 395 = wceq 1540 ∈ wcel 2109 Vcvv 3464 {cpr 4608 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-12 2178 ax-ext 2708 ax-sep 5271 ax-nul 5281 ax-pr 5407 ax-reg 9611 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-clab 2715 df-cleq 2728 df-clel 2810 df-ne 2934 df-ral 3053 df-rex 3062 df-rab 3421 df-v 3466 df-dif 3934 df-un 3936 df-in 3938 df-ss 3948 df-nul 4314 df-if 4506 df-pw 4582 df-sn 4607 df-pr 4609 df-op 4613 df-br 5125 df-opab 5187 df-eprel 5558 df-fr 5611 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |