HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem opthpr 2476
Description: A way to represent ordered pairs using unordered pairs with distinct members.
Hypotheses
Ref Expression
preq12b.1 |- A e. V
preq12b.2 |- B e. V
preq12b.3 |- C e. V
preq12b.4 |- D e. V
Assertion
Ref Expression
opthpr |- (A =/= D -> ({A, B} = {C, D} <-> (A = C /\ B = D)))

Proof of Theorem opthpr
StepHypRef Expression
1 idd 61 . . . 4 |- (A =/= D -> ((A = C /\ B = D) -> (A = C /\ B = D)))
2 df-ne 1579 . . . . . 6 |- (A =/= D <-> -. A = D)
3 pm2.21 76 . . . . . 6 |- (-. A = D -> (A = D -> (B = C -> (A = C /\ B = D))))
42, 3sylbi 199 . . . . 5 |- (A =/= D -> (A = D -> (B = C -> (A = C /\ B = D))))
54imp3a 361 . . . 4 |- (A =/= D -> ((A = D /\ B = C) -> (A = C /\ B = D)))
61, 5jaod 424 . . 3 |- (A =/= D -> (((A = C /\ B = D) \/ (A = D /\ B = C)) -> (A = C /\ B = D)))
7 orc 269 . . 3 |- ((A = C /\ B = D) -> ((A = C /\ B = D) \/ (A = D /\ B = C)))
86, 7impbid1 515 . 2 |- (A =/= D -> (((A = C /\ B = D) \/ (A = D /\ B = C)) <-> (A = C /\ B = D)))
9 preq12b.1 . . 3 |- A e. V
10 preq12b.2 . . 3 |- B e. V
11 preq12b.3 . . 3 |- C e. V
12 preq12b.4 . . 3 |- D e. V
139, 10, 11, 12preq12b 2474 . 2 |- ({A, B} = {C, D} <-> ((A = C /\ B = D) \/ (A = D /\ B = C)))
148, 13syl5bb 530 1 |- (A =/= D -> ({A, B} = {C, D} <-> (A = C /\ B = D)))
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 146   \/ wo 222   /\ wa 223   = wceq 953   e. wcel 955   =/= wne 1577  Vcvv 1802  {cpr 2400
This theorem is referenced by:  brdom7disj 4776  brdom6disj 4777
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 959  ax-gen 960  ax-8 961  ax-10 963  ax-12 965  ax-17 968  ax-4 970  ax-5o 972  ax-6o 975  ax-9o 1119  ax-10o 1136  ax-16 1206  ax-11o 1213  ax-ext 1452
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 978  df-sb 1168  df-clab 1457  df-cleq 1462  df-clel 1465  df-ne 1579  df-v 1803  df-un 2040  df-sn 2402  df-pr 2403
Copyright terms: Public domain