| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > opprb | Structured version Visualization version GIF version | ||
| Description: Equality for unordered pairs corresponds to equality of unordered pairs with the same elements. (Contributed by AV, 9-Jul-2023.) |
| Ref | Expression |
|---|---|
| opprb | ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ (〈𝐴, 𝐵〉 = 〈𝐶, 𝐷〉 ∨ 〈𝐴, 𝐵〉 = 〈𝐷, 𝐶〉))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | preq12bg 4825 | . 2 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)))) | |
| 2 | opthg 5445 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (〈𝐴, 𝐵〉 = 〈𝐶, 𝐷〉 ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷))) | |
| 3 | 2 | adantr 480 | . . 3 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (〈𝐴, 𝐵〉 = 〈𝐶, 𝐷〉 ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷))) |
| 4 | opthg 5445 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (〈𝐴, 𝐵〉 = 〈𝐷, 𝐶〉 ↔ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶))) | |
| 5 | 4 | adantr 480 | . . 3 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (〈𝐴, 𝐵〉 = 〈𝐷, 𝐶〉 ↔ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶))) |
| 6 | 3, 5 | orbi12d 918 | . 2 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ((〈𝐴, 𝐵〉 = 〈𝐶, 𝐷〉 ∨ 〈𝐴, 𝐵〉 = 〈𝐷, 𝐶〉) ↔ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)))) |
| 7 | 1, 6 | bitr4d 282 | 1 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ (〈𝐴, 𝐵〉 = 〈𝐶, 𝐷〉 ∨ 〈𝐴, 𝐵〉 = 〈𝐷, 𝐶〉))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 ∨ wo 847 = wceq 1540 ∈ wcel 2109 {cpr 4599 〈cop 4603 |
| 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-ext 2702 ax-sep 5259 ax-nul 5269 ax-pr 5395 |
| 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-sb 2066 df-clab 2709 df-cleq 2722 df-clel 2804 df-rab 3412 df-v 3457 df-dif 3925 df-un 3927 df-ss 3939 df-nul 4305 df-if 4497 df-sn 4598 df-pr 4600 df-op 4604 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |