Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  opthpr Structured version   Visualization version   GIF version

Theorem opthpr 4737
 Description: An unordered pair has the ordered pair property (compare opth 5334) under certain conditions. (Contributed by NM, 27-Mar-2007.)
Hypotheses
Ref Expression
preqr1.a 𝐴 ∈ V
preqr1.b 𝐵 ∈ V
preq12b.c 𝐶 ∈ V
preq12b.d 𝐷 ∈ V
Assertion
Ref Expression
opthpr (𝐴𝐷 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ (𝐴 = 𝐶𝐵 = 𝐷)))

Proof of Theorem opthpr
StepHypRef Expression
1 preqr1.a . . 3 𝐴 ∈ V
2 preqr1.b . . 3 𝐵 ∈ V
3 preq12b.c . . 3 𝐶 ∈ V
4 preq12b.d . . 3 𝐷 ∈ V
51, 2, 3, 4preq12b 4736 . 2 ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)))
6 idd 24 . . . 4 (𝐴𝐷 → ((𝐴 = 𝐶𝐵 = 𝐷) → (𝐴 = 𝐶𝐵 = 𝐷)))
7 df-ne 2953 . . . . . 6 (𝐴𝐷 ↔ ¬ 𝐴 = 𝐷)
8 pm2.21 123 . . . . . 6 𝐴 = 𝐷 → (𝐴 = 𝐷 → (𝐵 = 𝐶 → (𝐴 = 𝐶𝐵 = 𝐷))))
97, 8sylbi 220 . . . . 5 (𝐴𝐷 → (𝐴 = 𝐷 → (𝐵 = 𝐶 → (𝐴 = 𝐶𝐵 = 𝐷))))
109impd 415 . . . 4 (𝐴𝐷 → ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴 = 𝐶𝐵 = 𝐷)))
116, 10jaod 857 . . 3 (𝐴𝐷 → (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) → (𝐴 = 𝐶𝐵 = 𝐷)))
12 orc 865 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)))
1311, 12impbid1 228 . 2 (𝐴𝐷 → (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ (𝐴 = 𝐶𝐵 = 𝐷)))
145, 13syl5bb 286 1 (𝐴𝐷 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ (𝐴 = 𝐶𝐵 = 𝐷)))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 400   ∨ wo 845   = wceq 1539   ∈ wcel 2112   ≠ wne 2952  Vcvv 3410  {cpr 4522 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-ext 2730 This theorem depends on definitions:  df-bi 210  df-an 401  df-or 846  df-tru 1542  df-ex 1783  df-sb 2071  df-clab 2737  df-cleq 2751  df-clel 2831  df-ne 2953  df-v 3412  df-un 3864  df-sn 4521  df-pr 4523 This theorem is referenced by:  brdom7disj  9981  brdom6disj  9982
 Copyright terms: Public domain W3C validator