| 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 9509 (via the preleq 9537 step). See df-op 4589 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 4721 | . . . 4 ⊢ 𝐴 ∈ {𝐴, 𝐵} |
| 3 | opthreg.3 | . . . . 5 ⊢ 𝐶 ∈ V | |
| 4 | 3 | prid1 4721 | . . . 4 ⊢ 𝐶 ∈ {𝐶, 𝐷} |
| 5 | prex 5384 | . . . . 5 ⊢ {𝐴, 𝐵} ∈ V | |
| 6 | 5 | preleq 9537 | . . . 4 ⊢ (((𝐴 ∈ {𝐴, 𝐵} ∧ 𝐶 ∈ {𝐶, 𝐷}) ∧ {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷})) |
| 7 | 2, 4, 6 | mpanl12 703 | . . 3 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷})) |
| 8 | preq1 4692 | . . . . . 6 ⊢ (𝐴 = 𝐶 → {𝐴, 𝐵} = {𝐶, 𝐵}) | |
| 9 | 8 | eqeq1d 2739 | . . . . 5 ⊢ (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ {𝐶, 𝐵} = {𝐶, 𝐷})) |
| 10 | opthreg.2 | . . . . . 6 ⊢ 𝐵 ∈ V | |
| 11 | opthreg.4 | . . . . . 6 ⊢ 𝐷 ∈ V | |
| 12 | 10, 11 | preqr2 4807 | . . . . 5 ⊢ ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷) |
| 13 | 9, 12 | biimtrdi 253 | . . . 4 ⊢ (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷)) |
| 14 | 13 | imdistani 568 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| 15 | 7, 14 | syl 17 | . 2 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| 16 | preq1 4692 | . . . 4 ⊢ (𝐴 = 𝐶 → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}}) | |
| 17 | 16 | adantr 480 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}}) |
| 18 | preq12 4694 | . . . 4 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷}) | |
| 19 | 18 | preq2d 4699 | . . 3 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐶, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) |
| 20 | 17, 19 | eqtrd 2772 | . 2 ⊢ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) |
| 21 | 15, 20 | impbii 209 | 1 ⊢ ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 ∧ wa 395 = wceq 1542 ∈ wcel 2114 Vcvv 3442 {cpr 4584 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-ext 2709 ax-sep 5243 ax-pr 5379 ax-reg 9509 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-sb 2069 df-clab 2716 df-cleq 2729 df-clel 2812 df-ne 2934 df-ral 3053 df-rex 3063 df-rab 3402 df-v 3444 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4288 df-if 4482 df-pw 4558 df-sn 4583 df-pr 4585 df-op 4589 df-br 5101 df-opab 5163 df-eprel 5532 df-fr 5585 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |