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

Theorem rankpwi 7428
Description: The rank of a power set. Part of Exercise 30 of [Enderton] p. 207. (Contributed by Mario Carneiro, 3-Jun-2013.)
Assertion
Ref Expression
rankpwi  |-  ( A  e.  U. ( R1
" On )  -> 
( rank `  ~P A )  =  suc  ( rank `  A ) )

Proof of Theorem rankpwi
StepHypRef Expression
1 rankidn 7427 . . . 4  |-  ( A  e.  U. ( R1
" On )  ->  -.  A  e.  ( R1 `  ( rank `  A
) ) )
2 rankon 7400 . . . . . . 7  |-  ( rank `  A )  e.  On
3 r1suc 7375 . . . . . . 7  |-  ( (
rank `  A )  e.  On  ->  ( R1 ` 
suc  ( rank `  A
) )  =  ~P ( R1 `  ( rank `  A ) ) )
42, 3ax-mp 10 . . . . . 6  |-  ( R1
`  suc  ( rank `  A ) )  =  ~P ( R1 `  ( rank `  A )
)
54eleq2i 2320 . . . . 5  |-  ( ~P A  e.  ( R1
`  suc  ( rank `  A ) )  <->  ~P A  e.  ~P ( R1 `  ( rank `  A )
) )
6 elpwi 3574 . . . . . 6  |-  ( ~P A  e.  ~P ( R1 `  ( rank `  A
) )  ->  ~P A  C_  ( R1 `  ( rank `  A )
) )
7 pwidg 3578 . . . . . . 7  |-  ( A  e.  U. ( R1
" On )  ->  A  e.  ~P A
)
8 ssel 3116 . . . . . . 7  |-  ( ~P A  C_  ( R1 `  ( rank `  A
) )  ->  ( A  e.  ~P A  ->  A  e.  ( R1
`  ( rank `  A
) ) ) )
97, 8syl5com 28 . . . . . 6  |-  ( A  e.  U. ( R1
" On )  -> 
( ~P A  C_  ( R1 `  ( rank `  A ) )  ->  A  e.  ( R1 `  ( rank `  A
) ) ) )
106, 9syl5 30 . . . . 5  |-  ( A  e.  U. ( R1
" On )  -> 
( ~P A  e. 
~P ( R1 `  ( rank `  A )
)  ->  A  e.  ( R1 `  ( rank `  A ) ) ) )
115, 10syl5bi 210 . . . 4  |-  ( A  e.  U. ( R1
" On )  -> 
( ~P A  e.  ( R1 `  suc  ( rank `  A )
)  ->  A  e.  ( R1 `  ( rank `  A ) ) ) )
121, 11mtod 170 . . 3  |-  ( A  e.  U. ( R1
" On )  ->  -.  ~P A  e.  ( R1 `  suc  ( rank `  A ) ) )
13 r1rankidb 7409 . . . . . . 7  |-  ( A  e.  U. ( R1
" On )  ->  A  C_  ( R1 `  ( rank `  A )
) )
14 sspwb 4161 . . . . . . 7  |-  ( A 
C_  ( R1 `  ( rank `  A )
)  <->  ~P A  C_  ~P ( R1 `  ( rank `  A ) ) )
1513, 14sylib 190 . . . . . 6  |-  ( A  e.  U. ( R1
" On )  ->  ~P A  C_  ~P ( R1 `  ( rank `  A
) ) )
1615, 4syl6sseqr 3167 . . . . 5  |-  ( A  e.  U. ( R1
" On )  ->  ~P A  C_  ( R1
`  suc  ( rank `  A ) ) )
17 fvex 5437 . . . . . 6  |-  ( R1
`  suc  ( rank `  A ) )  e. 
_V
1817elpw2 4108 . . . . 5  |-  ( ~P A  e.  ~P ( R1 `  suc  ( rank `  A ) )  <->  ~P A  C_  ( R1 `  suc  ( rank `  A )
) )
1916, 18sylibr 205 . . . 4  |-  ( A  e.  U. ( R1
" On )  ->  ~P A  e.  ~P ( R1 `  suc  ( rank `  A ) ) )
202onsuci 4566 . . . . 5  |-  suc  ( rank `  A )  e.  On
21 r1suc 7375 . . . . 5  |-  ( suc  ( rank `  A
)  e.  On  ->  ( R1 `  suc  suc  ( rank `  A )
)  =  ~P ( R1 `  suc  ( rank `  A ) ) )
2220, 21ax-mp 10 . . . 4  |-  ( R1
`  suc  suc  ( rank `  A ) )  =  ~P ( R1 `  suc  ( rank `  A
) )
2319, 22syl6eleqr 2347 . . 3  |-  ( A  e.  U. ( R1
" On )  ->  ~P A  e.  ( R1 `  suc  suc  ( rank `  A ) ) )
24 pwwf 7412 . . . 4  |-  ( A  e.  U. ( R1
" On )  <->  ~P A  e.  U. ( R1 " On ) )
25 rankr1c 7426 . . . 4  |-  ( ~P A  e.  U. ( R1 " On )  -> 
( suc  ( rank `  A )  =  (
rank `  ~P A )  <-> 
( -.  ~P A  e.  ( R1 `  suc  ( rank `  A )
)  /\  ~P A  e.  ( R1 `  suc  suc  ( rank `  A
) ) ) ) )
2624, 25sylbi 189 . . 3  |-  ( A  e.  U. ( R1
" On )  -> 
( suc  ( rank `  A )  =  (
rank `  ~P A )  <-> 
( -.  ~P A  e.  ( R1 `  suc  ( rank `  A )
)  /\  ~P A  e.  ( R1 `  suc  suc  ( rank `  A
) ) ) ) )
2712, 23, 26mpbir2and 893 . 2  |-  ( A  e.  U. ( R1
" On )  ->  suc  ( rank `  A
)  =  ( rank `  ~P A ) )
2827eqcomd 2261 1  |-  ( A  e.  U. ( R1
" On )  -> 
( rank `  ~P A )  =  suc  ( rank `  A ) )
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    <-> wb 178    /\ wa 360    = wceq 1619    e. wcel 1621    C_ wss 3094   ~Pcpw 3566   U.cuni 3768   Oncon0 4329   suc csuc 4331   "cima 4629   ` cfv 4638   R1cr1 7367   rankcrnk 7368
This theorem is referenced by:  rankpw  7448  r1pw  7450  r1pwcl  7452
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-rep 4071  ax-sep 4081  ax-nul 4089  ax-pow 4126  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-int 3804  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-recs 6321  df-rdg 6356  df-r1 7369  df-rank 7370
  Copyright terms: Public domain W3C validator