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

Theorem card2on 7284
Description: Proof that the alternate definition cardval2 7640 is always a set, and indeed is an ordinal. (Contributed by Mario Carneiro, 14-Jan-2013.)
Assertion
Ref Expression
card2on  |-  { x  e.  On  |  x  ~<  A }  e.  On
Distinct variable group:    x, A

Proof of Theorem card2on
Dummy variables  y 
z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 onelon 4433 . . . . . . . . . . . . 13  |-  ( ( z  e.  On  /\  y  e.  z )  ->  y  e.  On )
2 vex 2804 . . . . . . . . . . . . . 14  |-  z  e. 
_V
3 onelss 4450 . . . . . . . . . . . . . . 15  |-  ( z  e.  On  ->  (
y  e.  z  -> 
y  C_  z )
)
43imp 418 . . . . . . . . . . . . . 14  |-  ( ( z  e.  On  /\  y  e.  z )  ->  y  C_  z )
5 ssdomg 6923 . . . . . . . . . . . . . 14  |-  ( z  e.  _V  ->  (
y  C_  z  ->  y  ~<_  z ) )
62, 4, 5mpsyl 59 . . . . . . . . . . . . 13  |-  ( ( z  e.  On  /\  y  e.  z )  ->  y  ~<_  z )
71, 6jca 518 . . . . . . . . . . . 12  |-  ( ( z  e.  On  /\  y  e.  z )  ->  ( y  e.  On  /\  y  ~<_  z ) )
8 domsdomtr 7012 . . . . . . . . . . . . . 14  |-  ( ( y  ~<_  z  /\  z  ~<  A )  ->  y  ~<  A )
98anim2i 552 . . . . . . . . . . . . 13  |-  ( ( y  e.  On  /\  ( y  ~<_  z  /\  z  ~<  A ) )  ->  ( y  e.  On  /\  y  ~<  A ) )
109anassrs 629 . . . . . . . . . . . 12  |-  ( ( ( y  e.  On  /\  y  ~<_  z )  /\  z  ~<  A )  -> 
( y  e.  On  /\  y  ~<  A )
)
117, 10sylan 457 . . . . . . . . . . 11  |-  ( ( ( z  e.  On  /\  y  e.  z )  /\  z  ~<  A )  ->  ( y  e.  On  /\  y  ~<  A ) )
1211exp31 587 . . . . . . . . . 10  |-  ( z  e.  On  ->  (
y  e.  z  -> 
( z  ~<  A  -> 
( y  e.  On  /\  y  ~<  A )
) ) )
1312com12 27 . . . . . . . . 9  |-  ( y  e.  z  ->  (
z  e.  On  ->  ( z  ~<  A  ->  ( y  e.  On  /\  y  ~<  A ) ) ) )
1413imp3a 420 . . . . . . . 8  |-  ( y  e.  z  ->  (
( z  e.  On  /\  z  ~<  A )  ->  ( y  e.  On  /\  y  ~<  A )
) )
15 breq1 4042 . . . . . . . . 9  |-  ( x  =  z  ->  (
x  ~<  A  <->  z  ~<  A ) )
1615elrab 2936 . . . . . . . 8  |-  ( z  e.  { x  e.  On  |  x  ~<  A }  <->  ( z  e.  On  /\  z  ~<  A ) )
17 breq1 4042 . . . . . . . . 9  |-  ( x  =  y  ->  (
x  ~<  A  <->  y  ~<  A ) )
1817elrab 2936 . . . . . . . 8  |-  ( y  e.  { x  e.  On  |  x  ~<  A }  <->  ( y  e.  On  /\  y  ~<  A ) )
1914, 16, 183imtr4g 261 . . . . . . 7  |-  ( y  e.  z  ->  (
z  e.  { x  e.  On  |  x  ~<  A }  ->  y  e.  { x  e.  On  |  x  ~<  A } ) )
2019imp 418 . . . . . 6  |-  ( ( y  e.  z  /\  z  e.  { x  e.  On  |  x  ~<  A } )  ->  y  e.  { x  e.  On  |  x  ~<  A }
)
2120gen2 1537 . . . . 5  |-  A. y A. z ( ( y  e.  z  /\  z  e.  { x  e.  On  |  x  ~<  A }
)  ->  y  e.  { x  e.  On  |  x  ~<  A } )
22 dftr2 4131 . . . . 5  |-  ( Tr 
{ x  e.  On  |  x  ~<  A }  <->  A. y A. z ( ( y  e.  z  /\  z  e.  {
x  e.  On  |  x  ~<  A } )  ->  y  e.  {
x  e.  On  |  x  ~<  A } ) )
2321, 22mpbir 200 . . . 4  |-  Tr  {
x  e.  On  |  x  ~<  A }
24 ssrab2 3271 . . . 4  |-  { x  e.  On  |  x  ~<  A }  C_  On
25 ordon 4590 . . . 4  |-  Ord  On
26 trssord 4425 . . . 4  |-  ( ( Tr  { x  e.  On  |  x  ~<  A }  /\  { x  e.  On  |  x  ~<  A }  C_  On  /\  Ord  On )  ->  Ord  { x  e.  On  |  x  ~<  A } )
2723, 24, 25, 26mp3an 1277 . . 3  |-  Ord  {
x  e.  On  |  x  ~<  A }
28 hartogs 7275 . . . 4  |-  ( A  e.  _V  ->  { x  e.  On  |  x  ~<_  A }  e.  On )
29 sdomdom 6905 . . . . . . 7  |-  ( x 
~<  A  ->  x  ~<_  A )
3029a1i 10 . . . . . 6  |-  ( x  e.  On  ->  (
x  ~<  A  ->  x  ~<_  A ) )
3130ss2rabi 3268 . . . . 5  |-  { x  e.  On  |  x  ~<  A }  C_  { x  e.  On  |  x  ~<_  A }
32 ssexg 4176 . . . . 5  |-  ( ( { x  e.  On  |  x  ~<  A }  C_ 
{ x  e.  On  |  x  ~<_  A }  /\  { x  e.  On  |  x  ~<_  A }  e.  On )  ->  { x  e.  On  |  x  ~<  A }  e.  _V )
3331, 32mpan 651 . . . 4  |-  ( { x  e.  On  |  x  ~<_  A }  e.  On  ->  { x  e.  On  |  x  ~<  A }  e.  _V )
34 elong 4416 . . . 4  |-  ( { x  e.  On  |  x  ~<  A }  e.  _V  ->  ( { x  e.  On  |  x  ~<  A }  e.  On  <->  Ord  { x  e.  On  |  x  ~<  A } ) )
3528, 33, 343syl 18 . . 3  |-  ( A  e.  _V  ->  ( { x  e.  On  |  x  ~<  A }  e.  On  <->  Ord  { x  e.  On  |  x  ~<  A } ) )
3627, 35mpbiri 224 . 2  |-  ( A  e.  _V  ->  { x  e.  On  |  x  ~<  A }  e.  On )
37 0elon 4461 . . . 4  |-  (/)  e.  On
38 eleq1 2356 . . . 4  |-  ( { x  e.  On  |  x  ~<  A }  =  (/) 
->  ( { x  e.  On  |  x  ~<  A }  e.  On  <->  (/)  e.  On ) )
3937, 38mpbiri 224 . . 3  |-  ( { x  e.  On  |  x  ~<  A }  =  (/) 
->  { x  e.  On  |  x  ~<  A }  e.  On )
40 df-ne 2461 . . . . 5  |-  ( { x  e.  On  |  x  ~<  A }  =/=  (/)  <->  -. 
{ x  e.  On  |  x  ~<  A }  =  (/) )
41 rabn0 3487 . . . . 5  |-  ( { x  e.  On  |  x  ~<  A }  =/=  (/)  <->  E. x  e.  On  x  ~<  A )
4240, 41bitr3i 242 . . . 4  |-  ( -. 
{ x  e.  On  |  x  ~<  A }  =  (/)  <->  E. x  e.  On  x  ~<  A )
43 relsdom 6886 . . . . . 6  |-  Rel  ~<
4443brrelex2i 4746 . . . . 5  |-  ( x 
~<  A  ->  A  e. 
_V )
4544rexlimivw 2676 . . . 4  |-  ( E. x  e.  On  x  ~<  A  ->  A  e.  _V )
4642, 45sylbi 187 . . 3  |-  ( -. 
{ x  e.  On  |  x  ~<  A }  =  (/)  ->  A  e.  _V )
4739, 46nsyl4 134 . 2  |-  ( -.  A  e.  _V  ->  { x  e.  On  |  x  ~<  A }  e.  On )
4836, 47pm2.61i 156 1  |-  { x  e.  On  |  x  ~<  A }  e.  On
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358   A.wal 1530    = wceq 1632    e. wcel 1696    =/= wne 2459   E.wrex 2557   {crab 2560   _Vcvv 2801    C_ wss 3165   (/)c0 3468   class class class wbr 4039   Tr wtr 4129   Ord word 4407   Oncon0 4408    ~<_ cdom 6877    ~< csdm 6878
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-se 4369  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-riota 6320  df-recs 6404  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-oi 7241
  Copyright terms: Public domain W3C validator