ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  opthpr Unicode version

Theorem opthpr 3564
Description: A way to represent ordered pairs using unordered pairs with distinct members. (Contributed by NM, 27-Mar-2007.)
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 preq12b.1 . . 3  |-  A  e. 
_V
2 preq12b.2 . . 3  |-  B  e. 
_V
3 preq12b.3 . . 3  |-  C  e. 
_V
4 preq12b.4 . . 3  |-  D  e. 
_V
51, 2, 3, 4preq12b 3562 . 2  |-  ( { A ,  B }  =  { C ,  D } 
<->  ( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
) )
6 idd 21 . . . 4  |-  ( A  =/=  D  ->  (
( A  =  C  /\  B  =  D )  ->  ( A  =  C  /\  B  =  D ) ) )
7 df-ne 2246 . . . . . 6  |-  ( A  =/=  D  <->  -.  A  =  D )
8 pm2.21 579 . . . . . 6  |-  ( -.  A  =  D  -> 
( A  =  D  ->  ( B  =  C  ->  ( A  =  C  /\  B  =  D ) ) ) )
97, 8sylbi 119 . . . . 5  |-  ( A  =/=  D  ->  ( A  =  D  ->  ( B  =  C  -> 
( A  =  C  /\  B  =  D ) ) ) )
109impd 251 . . . 4  |-  ( A  =/=  D  ->  (
( A  =  D  /\  B  =  C )  ->  ( A  =  C  /\  B  =  D ) ) )
116, 10jaod 669 . . 3  |-  ( A  =/=  D  ->  (
( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
)  ->  ( A  =  C  /\  B  =  D ) ) )
12 orc 665 . . 3  |-  ( ( A  =  C  /\  B  =  D )  ->  ( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
) )
1311, 12impbid1 140 . 2  |-  ( A  =/=  D  ->  (
( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
)  <->  ( A  =  C  /\  B  =  D ) ) )
145, 13syl5bb 190 1  |-  ( A  =/=  D  ->  ( { A ,  B }  =  { C ,  D } 
<->  ( A  =  C  /\  B  =  D ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 102    <-> wb 103    \/ wo 661    = wceq 1284    e. wcel 1433    =/= wne 2245   _Vcvv 2601   {cpr 3399
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ne 2246  df-v 2603  df-un 2977  df-sn 3404  df-pr 3405
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator