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

Theorem omopthi 6588
Description: An ordered pair theorem for  om. Theorem 17.3 of [Quine] p. 124. This proof is adapted from nn0opthi 11216. (Contributed by Scott Fenton, 16-Apr-2012.) (Revised by Mario Carneiro, 17-Nov-2014.)
Hypotheses
Ref Expression
omopth.1  |-  A  e. 
om
omopth.2  |-  B  e. 
om
omopth.3  |-  C  e. 
om
omopth.4  |-  D  e. 
om
Assertion
Ref Expression
omopthi  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  <->  ( A  =  C  /\  B  =  D ) )

Proof of Theorem omopthi
StepHypRef Expression
1 omopth.1 . . . . . . . . . . . . 13  |-  A  e. 
om
2 omopth.2 . . . . . . . . . . . . 13  |-  B  e. 
om
31, 2nnacli 6545 . . . . . . . . . . . 12  |-  ( A  +o  B )  e. 
om
43nnoni 4600 . . . . . . . . . . 11  |-  ( A  +o  B )  e.  On
54onordi 4434 . . . . . . . . . 10  |-  Ord  ( A  +o  B )
6 omopth.3 . . . . . . . . . . . . 13  |-  C  e. 
om
7 omopth.4 . . . . . . . . . . . . 13  |-  D  e. 
om
86, 7nnacli 6545 . . . . . . . . . . . 12  |-  ( C  +o  D )  e. 
om
98nnoni 4600 . . . . . . . . . . 11  |-  ( C  +o  D )  e.  On
109onordi 4434 . . . . . . . . . 10  |-  Ord  ( C  +o  D )
11 ordtri3 4365 . . . . . . . . . 10  |-  ( ( Ord  ( A  +o  B )  /\  Ord  ( C  +o  D
) )  ->  (
( A  +o  B
)  =  ( C  +o  D )  <->  -.  (
( A  +o  B
)  e.  ( C  +o  D )  \/  ( C  +o  D
)  e.  ( A  +o  B ) ) ) )
125, 10, 11mp2an 656 . . . . . . . . 9  |-  ( ( A  +o  B )  =  ( C  +o  D )  <->  -.  (
( A  +o  B
)  e.  ( C  +o  D )  \/  ( C  +o  D
)  e.  ( A  +o  B ) ) )
1312con2bii 324 . . . . . . . 8  |-  ( ( ( A  +o  B
)  e.  ( C  +o  D )  \/  ( C  +o  D
)  e.  ( A  +o  B ) )  <->  -.  ( A  +o  B
)  =  ( C  +o  D ) )
141, 2, 8, 7omopthlem2 6587 . . . . . . . . . 10  |-  ( ( A  +o  B )  e.  ( C  +o  D )  ->  -.  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  =  ( ( ( A  +o  B
)  .o  ( A  +o  B ) )  +o  B ) )
15 eqcom 2258 . . . . . . . . . 10  |-  ( ( ( ( C  +o  D )  .o  ( C  +o  D ) )  +o  D )  =  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  B
)  <->  ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D ) )  +o  D ) )
1614, 15sylnib 297 . . . . . . . . 9  |-  ( ( A  +o  B )  e.  ( C  +o  D )  ->  -.  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  B
)  =  ( ( ( C  +o  D
)  .o  ( C  +o  D ) )  +o  D ) )
176, 7, 3, 2omopthlem2 6587 . . . . . . . . 9  |-  ( ( C  +o  D )  e.  ( A  +o  B )  ->  -.  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  B
)  =  ( ( ( C  +o  D
)  .o  ( C  +o  D ) )  +o  D ) )
1816, 17jaoi 370 . . . . . . . 8  |-  ( ( ( A  +o  B
)  e.  ( C  +o  D )  \/  ( C  +o  D
)  e.  ( A  +o  B ) )  ->  -.  ( (
( A  +o  B
)  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
) )
1913, 18sylbir 206 . . . . . . 7  |-  ( -.  ( A  +o  B
)  =  ( C  +o  D )  ->  -.  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  B
)  =  ( ( ( C  +o  D
)  .o  ( C  +o  D ) )  +o  D ) )
2019con4i 124 . . . . . 6  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( A  +o  B )  =  ( C  +o  D ) )
21 id 21 . . . . . . . . 9  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( (
( A  +o  B
)  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
) )
2220, 20oveq12d 5775 . . . . . . . . . 10  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( ( A  +o  B )  .o  ( A  +o  B
) )  =  ( ( C  +o  D
)  .o  ( C  +o  D ) ) )
2322oveq1d 5772 . . . . . . . . 9  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( (
( A  +o  B
)  .o  ( A  +o  B ) )  +o  D )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
) )
2421, 23eqtr4d 2291 . . . . . . . 8  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( (
( A  +o  B
)  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  D
) )
253, 3nnmcli 6546 . . . . . . . . 9  |-  ( ( A  +o  B )  .o  ( A  +o  B ) )  e. 
om
26 nnacan 6559 . . . . . . . . 9  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  e.  om  /\  B  e.  om  /\  D  e. 
om )  ->  (
( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  B
)  =  ( ( ( A  +o  B
)  .o  ( A  +o  B ) )  +o  D )  <->  B  =  D ) )
2725, 2, 7, 26mp3an 1282 . . . . . . . 8  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  D
)  <->  B  =  D
)
2824, 27sylib 190 . . . . . . 7  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  B  =  D )
2928oveq2d 5773 . . . . . 6  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( C  +o  B )  =  ( C  +o  D ) )
3020, 29eqtr4d 2291 . . . . 5  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( A  +o  B )  =  ( C  +o  B ) )
31 nnacom 6548 . . . . . 6  |-  ( ( B  e.  om  /\  A  e.  om )  ->  ( B  +o  A
)  =  ( A  +o  B ) )
322, 1, 31mp2an 656 . . . . 5  |-  ( B  +o  A )  =  ( A  +o  B
)
33 nnacom 6548 . . . . . 6  |-  ( ( B  e.  om  /\  C  e.  om )  ->  ( B  +o  C
)  =  ( C  +o  B ) )
342, 6, 33mp2an 656 . . . . 5  |-  ( B  +o  C )  =  ( C  +o  B
)
3530, 32, 343eqtr4g 2313 . . . 4  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( B  +o  A )  =  ( B  +o  C ) )
36 nnacan 6559 . . . . 5  |-  ( ( B  e.  om  /\  A  e.  om  /\  C  e.  om )  ->  (
( B  +o  A
)  =  ( B  +o  C )  <->  A  =  C ) )
372, 1, 6, 36mp3an 1282 . . . 4  |-  ( ( B  +o  A )  =  ( B  +o  C )  <->  A  =  C )
3835, 37sylib 190 . . 3  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  A  =  C )
3938, 28jca 520 . 2  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  ->  ( A  =  C  /\  B  =  D ) )
40 oveq12 5766 . . . 4  |-  ( ( A  =  C  /\  B  =  D )  ->  ( A  +o  B
)  =  ( C  +o  D ) )
4140, 40oveq12d 5775 . . 3  |-  ( ( A  =  C  /\  B  =  D )  ->  ( ( A  +o  B )  .o  ( A  +o  B ) )  =  ( ( C  +o  D )  .o  ( C  +o  D
) ) )
42 simpr 449 . . 3  |-  ( ( A  =  C  /\  B  =  D )  ->  B  =  D )
4341, 42oveq12d 5775 . 2  |-  ( ( A  =  C  /\  B  =  D )  ->  ( ( ( A  +o  B )  .o  ( A  +o  B
) )  +o  B
)  =  ( ( ( C  +o  D
)  .o  ( C  +o  D ) )  +o  D ) )
4439, 43impbii 182 1  |-  ( ( ( ( A  +o  B )  .o  ( A  +o  B ) )  +o  B )  =  ( ( ( C  +o  D )  .o  ( C  +o  D
) )  +o  D
)  <->  ( A  =  C  /\  B  =  D ) )
Colors of variables: wff set class
Syntax hints:   -. wn 5    <-> wb 178    \/ wo 359    /\ wa 360    = wceq 1619    e. wcel 1621   Ord word 4328   omcom 4593  (class class class)co 5757    +o coa 6409    .o comu 6410
This theorem is referenced by:  omopth  6589
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-sep 4081  ax-nul 4089  ax-pr 4152  ax-un 4449
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-ral 2520  df-rex 2521  df-reu 2522  df-rab 2523  df-v 2742  df-sbc 2936  df-csb 3024  df-dif 3097  df-un 3099  df-in 3101  df-ss 3108  df-pss 3110  df-nul 3398  df-if 3507  df-pw 3568  df-sn 3587  df-pr 3588  df-tp 3589  df-op 3590  df-uni 3769  df-iun 3848  df-br 3964  df-opab 4018  df-mpt 4019  df-tr 4054  df-eprel 4242  df-id 4246  df-po 4251  df-so 4252  df-fr 4289  df-we 4291  df-ord 4332  df-on 4333  df-lim 4334  df-suc 4335  df-om 4594  df-xp 4640  df-rel 4641  df-cnv 4642  df-co 4643  df-dm 4644  df-rn 4645  df-res 4646  df-ima 4647  df-fun 4648  df-fn 4649  df-f 4650  df-f1 4651  df-fo 4652  df-f1o 4653  df-fv 4654  df-ov 5760  df-oprab 5761  df-mpt2 5762  df-1st 6021  df-2nd 6022  df-recs 6321  df-rdg 6356  df-1o 6412  df-2o 6413  df-oadd 6416  df-omul 6417
  Copyright terms: Public domain W3C validator