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

Theorem opeqpr 4008
Description: Equivalence for an ordered pair equal to an unordered pair. (Contributed by NM, 3-Jun-2008.)
Hypotheses
Ref Expression
opeqpr.1  |-  A  e. 
_V
opeqpr.2  |-  B  e. 
_V
opeqpr.3  |-  C  e. 
_V
opeqpr.4  |-  D  e. 
_V
Assertion
Ref Expression
opeqpr  |-  ( <. A ,  B >.  =  { C ,  D } 
<->  ( ( C  =  { A }  /\  D  =  { A ,  B } )  \/  ( C  =  { A ,  B }  /\  D  =  { A } ) ) )

Proof of Theorem opeqpr
StepHypRef Expression
1 eqcom 2083 . 2  |-  ( <. A ,  B >.  =  { C ,  D } 
<->  { C ,  D }  =  <. A ,  B >. )
2 opeqpr.1 . . . 4  |-  A  e. 
_V
3 opeqpr.2 . . . 4  |-  B  e. 
_V
42, 3dfop 3569 . . 3  |-  <. A ,  B >.  =  { { A } ,  { A ,  B } }
54eqeq2i 2091 . 2  |-  ( { C ,  D }  =  <. A ,  B >.  <->  { C ,  D }  =  { { A } ,  { A ,  B } } )
6 opeqpr.3 . . 3  |-  C  e. 
_V
7 opeqpr.4 . . 3  |-  D  e. 
_V
82snex 3957 . . 3  |-  { A }  e.  _V
9 prexg 3966 . . . 4  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  { A ,  B }  e.  _V )
102, 3, 9mp2an 416 . . 3  |-  { A ,  B }  e.  _V
116, 7, 8, 10preq12b 3562 . 2  |-  ( { C ,  D }  =  { { A } ,  { A ,  B } }  <->  ( ( C  =  { A }  /\  D  =  { A ,  B }
)  \/  ( C  =  { A ,  B }  /\  D  =  { A } ) ) )
121, 5, 113bitri 204 1  |-  ( <. A ,  B >.  =  { C ,  D } 
<->  ( ( C  =  { A }  /\  D  =  { A ,  B } )  \/  ( C  =  { A ,  B }  /\  D  =  { A } ) ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 102    <-> wb 103    \/ wo 661    = wceq 1284    e. wcel 1433   _Vcvv 2601   {csn 3398   {cpr 3399   <.cop 3401
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-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-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407
This theorem is referenced by:  relop  4504
  Copyright terms: Public domain W3C validator