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

Theorem nnaordex 7188
Description: Equivalence for ordering. Compare Exercise 23 of [Enderton] p. 88. (Contributed by NM, 5-Dec-1995.) (Revised by Mario Carneiro, 15-Nov-2014.)
Assertion
Ref Expression
nnaordex  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  <->  E. x  e.  om  ( (/) 
e.  x  /\  ( A  +o  x )  =  B ) ) )
Distinct variable groups:    x, A    x, B

Proof of Theorem nnaordex
StepHypRef Expression
1 nnon 6593 . . . . . 6  |-  ( B  e.  om  ->  B  e.  On )
21adantl 466 . . . . 5  |-  ( ( A  e.  om  /\  B  e.  om )  ->  B  e.  On )
3 onelss 4870 . . . . 5  |-  ( B  e.  On  ->  ( A  e.  B  ->  A 
C_  B ) )
42, 3syl 16 . . . 4  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  ->  A  C_  B )
)
5 nnawordex 7187 . . . 4  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  C_  B  <->  E. x  e.  om  ( A  +o  x )  =  B ) )
64, 5sylibd 214 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  ->  E. x  e.  om  ( A  +o  x
)  =  B ) )
7 simplr 754 . . . . . . . . 9  |-  ( ( ( A  e.  om  /\  A  e.  B )  /\  x  e.  om )  ->  A  e.  B
)
8 eleq2 2527 . . . . . . . . 9  |-  ( ( A  +o  x )  =  B  ->  ( A  e.  ( A  +o  x )  <->  A  e.  B ) )
97, 8syl5ibrcom 222 . . . . . . . 8  |-  ( ( ( A  e.  om  /\  A  e.  B )  /\  x  e.  om )  ->  ( ( A  +o  x )  =  B  ->  A  e.  ( A  +o  x
) ) )
10 peano1 6606 . . . . . . . . . . . 12  |-  (/)  e.  om
11 nnaord 7169 . . . . . . . . . . . 12  |-  ( (
(/)  e.  om  /\  x  e.  om  /\  A  e. 
om )  ->  ( (/) 
e.  x  <->  ( A  +o  (/) )  e.  ( A  +o  x ) ) )
1210, 11mp3an1 1302 . . . . . . . . . . 11  |-  ( ( x  e.  om  /\  A  e.  om )  ->  ( (/)  e.  x  <->  ( A  +o  (/) )  e.  ( A  +o  x
) ) )
1312ancoms 453 . . . . . . . . . 10  |-  ( ( A  e.  om  /\  x  e.  om )  ->  ( (/)  e.  x  <->  ( A  +o  (/) )  e.  ( A  +o  x
) ) )
14 nna0 7154 . . . . . . . . . . . 12  |-  ( A  e.  om  ->  ( A  +o  (/) )  =  A )
1514adantr 465 . . . . . . . . . . 11  |-  ( ( A  e.  om  /\  x  e.  om )  ->  ( A  +o  (/) )  =  A )
1615eleq1d 2523 . . . . . . . . . 10  |-  ( ( A  e.  om  /\  x  e.  om )  ->  ( ( A  +o  (/) )  e.  ( A  +o  x )  <->  A  e.  ( A  +o  x
) ) )
1713, 16bitrd 253 . . . . . . . . 9  |-  ( ( A  e.  om  /\  x  e.  om )  ->  ( (/)  e.  x  <->  A  e.  ( A  +o  x ) ) )
1817adantlr 714 . . . . . . . 8  |-  ( ( ( A  e.  om  /\  A  e.  B )  /\  x  e.  om )  ->  ( (/)  e.  x  <->  A  e.  ( A  +o  x ) ) )
199, 18sylibrd 234 . . . . . . 7  |-  ( ( ( A  e.  om  /\  A  e.  B )  /\  x  e.  om )  ->  ( ( A  +o  x )  =  B  ->  (/)  e.  x
) )
2019ancrd 554 . . . . . 6  |-  ( ( ( A  e.  om  /\  A  e.  B )  /\  x  e.  om )  ->  ( ( A  +o  x )  =  B  ->  ( (/)  e.  x  /\  ( A  +o  x
)  =  B ) ) )
2120reximdva 2934 . . . . 5  |-  ( ( A  e.  om  /\  A  e.  B )  ->  ( E. x  e. 
om  ( A  +o  x )  =  B  ->  E. x  e.  om  ( (/)  e.  x  /\  ( A  +o  x
)  =  B ) ) )
2221ex 434 . . . 4  |-  ( A  e.  om  ->  ( A  e.  B  ->  ( E. x  e.  om  ( A  +o  x
)  =  B  ->  E. x  e.  om  ( (/)  e.  x  /\  ( A  +o  x
)  =  B ) ) ) )
2322adantr 465 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  ->  ( E. x  e. 
om  ( A  +o  x )  =  B  ->  E. x  e.  om  ( (/)  e.  x  /\  ( A  +o  x
)  =  B ) ) ) )
246, 23mpdd 40 . 2  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  ->  E. x  e.  om  ( (/)  e.  x  /\  ( A  +o  x
)  =  B ) ) )
2517biimpa 484 . . . . . 6  |-  ( ( ( A  e.  om  /\  x  e.  om )  /\  (/)  e.  x )  ->  A  e.  ( A  +o  x ) )
2625, 8syl5ibcom 220 . . . . 5  |-  ( ( ( A  e.  om  /\  x  e.  om )  /\  (/)  e.  x )  ->  ( ( A  +o  x )  =  B  ->  A  e.  B ) )
2726expimpd 603 . . . 4  |-  ( ( A  e.  om  /\  x  e.  om )  ->  ( ( (/)  e.  x  /\  ( A  +o  x
)  =  B )  ->  A  e.  B
) )
2827rexlimdva 2947 . . 3  |-  ( A  e.  om  ->  ( E. x  e.  om  ( (/)  e.  x  /\  ( A  +o  x
)  =  B )  ->  A  e.  B
) )
2928adantr 465 . 2  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( E. x  e. 
om  ( (/)  e.  x  /\  ( A  +o  x
)  =  B )  ->  A  e.  B
) )
3024, 29impbid 191 1  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  <->  E. x  e.  om  ( (/) 
e.  x  /\  ( A  +o  x )  =  B ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1370    e. wcel 1758   E.wrex 2800    C_ wss 3437   (/)c0 3746   Oncon0 4828  (class class class)co 6201   omcom 6587    +o coa 7028
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4522  ax-nul 4530  ax-pow 4579  ax-pr 4640  ax-un 6483
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-reu 2806  df-rab 2808  df-v 3080  df-sbc 3295  df-csb 3397  df-dif 3440  df-un 3442  df-in 3444  df-ss 3451  df-pss 3453  df-nul 3747  df-if 3901  df-pw 3971  df-sn 3987  df-pr 3989  df-tp 3991  df-op 3993  df-uni 4201  df-int 4238  df-iun 4282  df-br 4402  df-opab 4460  df-mpt 4461  df-tr 4495  df-eprel 4741  df-id 4745  df-po 4750  df-so 4751  df-fr 4788  df-we 4790  df-ord 4831  df-on 4832  df-lim 4833  df-suc 4834  df-xp 4955  df-rel 4956  df-cnv 4957  df-co 4958  df-dm 4959  df-rn 4960  df-res 4961  df-ima 4962  df-iota 5490  df-fun 5529  df-fn 5530  df-f 5531  df-f1 5532  df-fo 5533  df-f1o 5534  df-fv 5535  df-ov 6204  df-oprab 6205  df-mpt2 6206  df-om 6588  df-recs 6943  df-rdg 6977  df-oadd 7035
This theorem is referenced by:  ltexpi  9183
  Copyright terms: Public domain W3C validator