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

Theorem card2on 7883
Description: Proof that the alternate definition cardval2 8275 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 4855 . . . . . . . . . . . . 13  |-  ( ( z  e.  On  /\  y  e.  z )  ->  y  e.  On )
2 vex 3081 . . . . . . . . . . . . . 14  |-  z  e. 
_V
3 onelss 4872 . . . . . . . . . . . . . . 15  |-  ( z  e.  On  ->  (
y  e.  z  -> 
y  C_  z )
)
43imp 429 . . . . . . . . . . . . . 14  |-  ( ( z  e.  On  /\  y  e.  z )  ->  y  C_  z )
5 ssdomg 7468 . . . . . . . . . . . . . 14  |-  ( z  e.  _V  ->  (
y  C_  z  ->  y  ~<_  z ) )
62, 4, 5mpsyl 63 . . . . . . . . . . . . 13  |-  ( ( z  e.  On  /\  y  e.  z )  ->  y  ~<_  z )
71, 6jca 532 . . . . . . . . . . . 12  |-  ( ( z  e.  On  /\  y  e.  z )  ->  ( y  e.  On  /\  y  ~<_  z ) )
8 domsdomtr 7559 . . . . . . . . . . . . . 14  |-  ( ( y  ~<_  z  /\  z  ~<  A )  ->  y  ~<  A )
98anim2i 569 . . . . . . . . . . . . 13  |-  ( ( y  e.  On  /\  ( y  ~<_  z  /\  z  ~<  A ) )  ->  ( y  e.  On  /\  y  ~<  A ) )
109anassrs 648 . . . . . . . . . . . 12  |-  ( ( ( y  e.  On  /\  y  ~<_  z )  /\  z  ~<  A )  -> 
( y  e.  On  /\  y  ~<  A )
)
117, 10sylan 471 . . . . . . . . . . 11  |-  ( ( ( z  e.  On  /\  y  e.  z )  /\  z  ~<  A )  ->  ( y  e.  On  /\  y  ~<  A ) )
1211exp31 604 . . . . . . . . . 10  |-  ( z  e.  On  ->  (
y  e.  z  -> 
( z  ~<  A  -> 
( y  e.  On  /\  y  ~<  A )
) ) )
1312com12 31 . . . . . . . . 9  |-  ( y  e.  z  ->  (
z  e.  On  ->  ( z  ~<  A  ->  ( y  e.  On  /\  y  ~<  A ) ) ) )
1413impd 431 . . . . . . . 8  |-  ( y  e.  z  ->  (
( z  e.  On  /\  z  ~<  A )  ->  ( y  e.  On  /\  y  ~<  A )
) )
15 breq1 4406 . . . . . . . . 9  |-  ( x  =  z  ->  (
x  ~<  A  <->  z  ~<  A ) )
1615elrab 3224 . . . . . . . 8  |-  ( z  e.  { x  e.  On  |  x  ~<  A }  <->  ( z  e.  On  /\  z  ~<  A ) )
17 breq1 4406 . . . . . . . . 9  |-  ( x  =  y  ->  (
x  ~<  A  <->  y  ~<  A ) )
1817elrab 3224 . . . . . . . 8  |-  ( y  e.  { x  e.  On  |  x  ~<  A }  <->  ( y  e.  On  /\  y  ~<  A ) )
1914, 16, 183imtr4g 270 . . . . . . 7  |-  ( y  e.  z  ->  (
z  e.  { x  e.  On  |  x  ~<  A }  ->  y  e.  { x  e.  On  |  x  ~<  A } ) )
2019imp 429 . . . . . 6  |-  ( ( y  e.  z  /\  z  e.  { x  e.  On  |  x  ~<  A } )  ->  y  e.  { x  e.  On  |  x  ~<  A }
)
2120gen2 1593 . . . . 5  |-  A. y A. z ( ( y  e.  z  /\  z  e.  { x  e.  On  |  x  ~<  A }
)  ->  y  e.  { x  e.  On  |  x  ~<  A } )
22 dftr2 4498 . . . . 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 209 . . . 4  |-  Tr  {
x  e.  On  |  x  ~<  A }
24 ssrab2 3548 . . . 4  |-  { x  e.  On  |  x  ~<  A }  C_  On
25 ordon 6507 . . . 4  |-  Ord  On
26 trssord 4847 . . . 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 1315 . . 3  |-  Ord  {
x  e.  On  |  x  ~<  A }
28 hartogs 7872 . . . 4  |-  ( A  e.  _V  ->  { x  e.  On  |  x  ~<_  A }  e.  On )
29 sdomdom 7450 . . . . . . 7  |-  ( x 
~<  A  ->  x  ~<_  A )
3029a1i 11 . . . . . 6  |-  ( x  e.  On  ->  (
x  ~<  A  ->  x  ~<_  A ) )
3130ss2rabi 3545 . . . . 5  |-  { x  e.  On  |  x  ~<  A }  C_  { x  e.  On  |  x  ~<_  A }
32 ssexg 4549 . . . . 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 670 . . . 4  |-  ( { x  e.  On  |  x  ~<_  A }  e.  On  ->  { x  e.  On  |  x  ~<  A }  e.  _V )
34 elong 4838 . . . 4  |-  ( { x  e.  On  |  x  ~<  A }  e.  _V  ->  ( { x  e.  On  |  x  ~<  A }  e.  On  <->  Ord  { x  e.  On  |  x  ~<  A } ) )
3528, 33, 343syl 20 . . 3  |-  ( A  e.  _V  ->  ( { x  e.  On  |  x  ~<  A }  e.  On  <->  Ord  { x  e.  On  |  x  ~<  A } ) )
3627, 35mpbiri 233 . 2  |-  ( A  e.  _V  ->  { x  e.  On  |  x  ~<  A }  e.  On )
37 0elon 4883 . . . 4  |-  (/)  e.  On
38 eleq1 2526 . . . 4  |-  ( { x  e.  On  |  x  ~<  A }  =  (/) 
->  ( { x  e.  On  |  x  ~<  A }  e.  On  <->  (/)  e.  On ) )
3937, 38mpbiri 233 . . 3  |-  ( { x  e.  On  |  x  ~<  A }  =  (/) 
->  { x  e.  On  |  x  ~<  A }  e.  On )
40 df-ne 2650 . . . . 5  |-  ( { x  e.  On  |  x  ~<  A }  =/=  (/)  <->  -. 
{ x  e.  On  |  x  ~<  A }  =  (/) )
41 rabn0 3768 . . . . 5  |-  ( { x  e.  On  |  x  ~<  A }  =/=  (/)  <->  E. x  e.  On  x  ~<  A )
4240, 41bitr3i 251 . . . 4  |-  ( -. 
{ x  e.  On  |  x  ~<  A }  =  (/)  <->  E. x  e.  On  x  ~<  A )
43 relsdom 7430 . . . . . 6  |-  Rel  ~<
4443brrelex2i 4991 . . . . 5  |-  ( x 
~<  A  ->  A  e. 
_V )
4544rexlimivw 2943 . . . 4  |-  ( E. x  e.  On  x  ~<  A  ->  A  e.  _V )
4642, 45sylbi 195 . . 3  |-  ( -. 
{ x  e.  On  |  x  ~<  A }  =  (/)  ->  A  e.  _V )
4739, 46nsyl4 142 . 2  |-  ( -.  A  e.  _V  ->  { x  e.  On  |  x  ~<  A }  e.  On )
4836, 47pm2.61i 164 1  |-  { x  e.  On  |  x  ~<  A }  e.  On
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    /\ wa 369   A.wal 1368    = wceq 1370    e. wcel 1758    =/= wne 2648   E.wrex 2800   {crab 2803   _Vcvv 3078    C_ wss 3439   (/)c0 3748   class class class wbr 4403   Tr wtr 4496   Ord word 4829   Oncon0 4830    ~<_ cdom 7421    ~< csdm 7422
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-rep 4514  ax-sep 4524  ax-nul 4532  ax-pow 4581  ax-pr 4642  ax-un 6485
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-rmo 2807  df-rab 2808  df-v 3080  df-sbc 3295  df-csb 3399  df-dif 3442  df-un 3444  df-in 3446  df-ss 3453  df-pss 3455  df-nul 3749  df-if 3903  df-pw 3973  df-sn 3989  df-pr 3991  df-tp 3993  df-op 3995  df-uni 4203  df-iun 4284  df-br 4404  df-opab 4462  df-mpt 4463  df-tr 4497  df-eprel 4743  df-id 4747  df-po 4752  df-so 4753  df-fr 4790  df-se 4791  df-we 4792  df-ord 4833  df-on 4834  df-lim 4835  df-suc 4836  df-xp 4957  df-rel 4958  df-cnv 4959  df-co 4960  df-dm 4961  df-rn 4962  df-res 4963  df-ima 4964  df-iota 5492  df-fun 5531  df-fn 5532  df-f 5533  df-f1 5534  df-fo 5535  df-f1o 5536  df-fv 5537  df-isom 5538  df-riota 6164  df-recs 6945  df-er 7214  df-en 7424  df-dom 7425  df-sdom 7426  df-oi 7838
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator