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

Theorem opthpr 4782
Description: An unordered pair has the ordered pair property (compare opth 5368) 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 4781 . 2 ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)))
6 idd 24 . . . 4 (𝐴𝐷 → ((𝐴 = 𝐶𝐵 = 𝐷) → (𝐴 = 𝐶𝐵 = 𝐷)))
7 df-ne 3017 . . . . . 6 (𝐴𝐷 ↔ ¬ 𝐴 = 𝐷)
8 pm2.21 123 . . . . . 6 𝐴 = 𝐷 → (𝐴 = 𝐷 → (𝐵 = 𝐶 → (𝐴 = 𝐶𝐵 = 𝐷))))
97, 8sylbi 219 . . . . 5 (𝐴𝐷 → (𝐴 = 𝐷 → (𝐵 = 𝐶 → (𝐴 = 𝐶𝐵 = 𝐷))))
109impd 413 . . . 4 (𝐴𝐷 → ((𝐴 = 𝐷𝐵 = 𝐶) → (𝐴 = 𝐶𝐵 = 𝐷)))
116, 10jaod 855 . . 3 (𝐴𝐷 → (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) → (𝐴 = 𝐶𝐵 = 𝐷)))
12 orc 863 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)))
1311, 12impbid1 227 . 2 (𝐴𝐷 → (((𝐴 = 𝐶𝐵 = 𝐷) ∨ (𝐴 = 𝐷𝐵 = 𝐶)) ↔ (𝐴 = 𝐶𝐵 = 𝐷)))
145, 13syl5bb 285 1 (𝐴𝐷 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ (𝐴 = 𝐶𝐵 = 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wcel 2114  wne 3016  Vcvv 3494  {cpr 4569
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-v 3496  df-un 3941  df-sn 4568  df-pr 4570
This theorem is referenced by:  brdom7disj  9953  brdom6disj  9954
  Copyright terms: Public domain W3C validator