| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > opeqpr | Structured version Visualization version GIF version | ||
| Description: Equivalence for an ordered pair equal to an unordered pair. (Contributed by NM, 3-Jun-2008.) (Avoid depending on this detail.) |
| Ref | Expression |
|---|---|
| opeqpr.1 | ⊢ 𝐴 ∈ V |
| opeqpr.2 | ⊢ 𝐵 ∈ V |
| opeqpr.3 | ⊢ 𝐶 ∈ V |
| opeqpr.4 | ⊢ 𝐷 ∈ V |
| Ref | Expression |
|---|---|
| opeqpr | ⊢ (〈𝐴, 𝐵〉 = {𝐶, 𝐷} ↔ ((𝐶 = {𝐴} ∧ 𝐷 = {𝐴, 𝐵}) ∨ (𝐶 = {𝐴, 𝐵} ∧ 𝐷 = {𝐴}))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqcom 2738 | . 2 ⊢ (〈𝐴, 𝐵〉 = {𝐶, 𝐷} ↔ {𝐶, 𝐷} = 〈𝐴, 𝐵〉) | |
| 2 | opeqpr.1 | . . . 4 ⊢ 𝐴 ∈ V | |
| 3 | opeqpr.2 | . . . 4 ⊢ 𝐵 ∈ V | |
| 4 | 2, 3 | dfop 4821 | . . 3 ⊢ 〈𝐴, 𝐵〉 = {{𝐴}, {𝐴, 𝐵}} |
| 5 | 4 | eqeq2i 2744 | . 2 ⊢ ({𝐶, 𝐷} = 〈𝐴, 𝐵〉 ↔ {𝐶, 𝐷} = {{𝐴}, {𝐴, 𝐵}}) |
| 6 | opeqpr.3 | . . 3 ⊢ 𝐶 ∈ V | |
| 7 | opeqpr.4 | . . 3 ⊢ 𝐷 ∈ V | |
| 8 | snex 5372 | . . 3 ⊢ {𝐴} ∈ V | |
| 9 | prex 5373 | . . 3 ⊢ {𝐴, 𝐵} ∈ V | |
| 10 | 6, 7, 8, 9 | preq12b 4799 | . 2 ⊢ ({𝐶, 𝐷} = {{𝐴}, {𝐴, 𝐵}} ↔ ((𝐶 = {𝐴} ∧ 𝐷 = {𝐴, 𝐵}) ∨ (𝐶 = {𝐴, 𝐵} ∧ 𝐷 = {𝐴}))) |
| 11 | 1, 5, 10 | 3bitri 297 | 1 ⊢ (〈𝐴, 𝐵〉 = {𝐶, 𝐷} ↔ ((𝐶 = {𝐴} ∧ 𝐷 = {𝐴, 𝐵}) ∨ (𝐶 = {𝐴, 𝐵} ∧ 𝐷 = {𝐴}))) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 ∧ wa 395 ∨ wo 847 = wceq 1541 ∈ wcel 2111 Vcvv 3436 {csn 4573 {cpr 4575 〈cop 4579 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2113 ax-9 2121 ax-ext 2703 ax-sep 5232 ax-nul 5242 ax-pr 5368 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-sb 2068 df-clab 2710 df-cleq 2723 df-clel 2806 df-v 3438 df-dif 3900 df-un 3902 df-ss 3914 df-nul 4281 df-if 4473 df-sn 4574 df-pr 4576 df-op 4580 |
| This theorem is referenced by: propeqop 5445 relop 5789 |
| Copyright terms: Public domain | W3C validator |