MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  opthreg Unicode version

Theorem opthreg 7315
Description: Theorem for alternate representation of ordered pairs, requiring the Axiom of Regularity ax-reg 7302 (via the preleq 7314 step). See df-op 3651 for a description of other ordered pair representations. Exercise 34 of [Enderton] p. 207. (Contributed by NM, 16-Oct-1996.)
Hypotheses
Ref Expression
preleq.1  |-  A  e. 
_V
preleq.2  |-  B  e. 
_V
preleq.3  |-  C  e. 
_V
preleq.4  |-  D  e. 
_V
Assertion
Ref Expression
opthreg  |-  ( { A ,  { A ,  B } }  =  { C ,  { C ,  D } }  <->  ( A  =  C  /\  B  =  D ) )

Proof of Theorem opthreg
StepHypRef Expression
1 preleq.1 . . . . 5  |-  A  e. 
_V
21prid1 3736 . . . 4  |-  A  e. 
{ A ,  B }
3 preleq.3 . . . . 5  |-  C  e. 
_V
43prid1 3736 . . . 4  |-  C  e. 
{ C ,  D }
5 prex 4217 . . . . 5  |-  { A ,  B }  e.  _V
6 prex 4217 . . . . 5  |-  { C ,  D }  e.  _V
71, 5, 3, 6preleq 7314 . . . 4  |-  ( ( ( A  e.  { A ,  B }  /\  C  e.  { C ,  D } )  /\  { A ,  { A ,  B } }  =  { C ,  { C ,  D } } )  ->  ( A  =  C  /\  { A ,  B }  =  { C ,  D }
) )
82, 4, 7mpanl12 665 . . 3  |-  ( { A ,  { A ,  B } }  =  { C ,  { C ,  D } }  ->  ( A  =  C  /\  { A ,  B }  =  { C ,  D } ) )
9 preq1 3708 . . . . . 6  |-  ( A  =  C  ->  { A ,  B }  =  { C ,  B }
)
109eqeq1d 2293 . . . . 5  |-  ( A  =  C  ->  ( { A ,  B }  =  { C ,  D } 
<->  { C ,  B }  =  { C ,  D } ) )
11 preleq.2 . . . . . 6  |-  B  e. 
_V
12 preleq.4 . . . . . 6  |-  D  e. 
_V
1311, 12preqr2 3789 . . . . 5  |-  ( { C ,  B }  =  { C ,  D }  ->  B  =  D )
1410, 13syl6bi 221 . . . 4  |-  ( A  =  C  ->  ( { A ,  B }  =  { C ,  D }  ->  B  =  D ) )
1514imdistani 673 . . 3  |-  ( ( A  =  C  /\  { A ,  B }  =  { C ,  D } )  ->  ( A  =  C  /\  B  =  D )
)
168, 15syl 17 . 2  |-  ( { A ,  { A ,  B } }  =  { C ,  { C ,  D } }  ->  ( A  =  C  /\  B  =  D )
)
17 preq1 3708 . . . 4  |-  ( A  =  C  ->  { A ,  { A ,  B } }  =  { C ,  { A ,  B } } )
1817adantr 453 . . 3  |-  ( ( A  =  C  /\  B  =  D )  ->  { A ,  { A ,  B } }  =  { C ,  { A ,  B } } )
19 preq12 3710 . . . 4  |-  ( ( A  =  C  /\  B  =  D )  ->  { A ,  B }  =  { C ,  D } )
2019preq2d 3715 . . 3  |-  ( ( A  =  C  /\  B  =  D )  ->  { C ,  { A ,  B } }  =  { C ,  { C ,  D } } )
2118, 20eqtrd 2317 . 2  |-  ( ( A  =  C  /\  B  =  D )  ->  { A ,  { A ,  B } }  =  { C ,  { C ,  D } } )
2216, 21impbii 182 1  |-  ( { A ,  { A ,  B } }  =  { C ,  { C ,  D } }  <->  ( A  =  C  /\  B  =  D ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 178    /\ wa 360    = wceq 1624    e. wcel 1685   _Vcvv 2790   {cpr 3643
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-14 1689  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1868  ax-ext 2266  ax-sep 4143  ax-nul 4151  ax-pr 4214  ax-reg 7302
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-eu 2149  df-mo 2150  df-clab 2272  df-cleq 2278  df-clel 2281  df-nfc 2410  df-ne 2450  df-ral 2550  df-rex 2551  df-rab 2554  df-v 2792  df-sbc 2994  df-dif 3157  df-un 3159  df-in 3161  df-ss 3168  df-nul 3458  df-if 3568  df-sn 3648  df-pr 3649  df-op 3651  df-br 4026  df-opab 4080  df-eprel 4305  df-fr 4352
  Copyright terms: Public domain W3C validator