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

Theorem opthpr 3752
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 3750 . 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 2337 . . . . . 6  |-  ( A  =/=  D  <->  -.  A  =  D )
8 pm2.21 607 . . . . . 6  |-  ( -.  A  =  D  -> 
( A  =  D  ->  ( B  =  C  ->  ( A  =  C  /\  B  =  D ) ) ) )
97, 8sylbi 120 . . . . 5  |-  ( A  =/=  D  ->  ( A  =  D  ->  ( B  =  C  -> 
( A  =  C  /\  B  =  D ) ) ) )
109impd 252 . . . 4  |-  ( A  =/=  D  ->  (
( A  =  D  /\  B  =  C )  ->  ( A  =  C  /\  B  =  D ) ) )
116, 10jaod 707 . . 3  |-  ( A  =/=  D  ->  (
( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
)  ->  ( A  =  C  /\  B  =  D ) ) )
12 orc 702 . . 3  |-  ( ( A  =  C  /\  B  =  D )  ->  ( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
) )
1311, 12impbid1 141 . 2  |-  ( A  =/=  D  ->  (
( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C )
)  <->  ( A  =  C  /\  B  =  D ) ) )
145, 13syl5bb 191 1  |-  ( A  =/=  D  ->  ( { A ,  B }  =  { C ,  D } 
<->  ( A  =  C  /\  B  =  D ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 698    = wceq 1343    e. wcel 2136    =/= wne 2336   _Vcvv 2726   {cpr 3577
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-v 2728  df-un 3120  df-sn 3582  df-pr 3583
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator