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

Theorem rankuni 8277
Description: The rank of a union. Part of Exercise 4 of [Kunen] p. 107. (Contributed by NM, 15-Sep-2006.) (Revised by Mario Carneiro, 17-Nov-2014.)
Assertion
Ref Expression
rankuni  |-  ( rank `  U. A )  = 
U. ( rank `  A
)

Proof of Theorem rankuni
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 unieq 4253 . . . . 5  |-  ( x  =  A  ->  U. x  =  U. A )
21fveq2d 5868 . . . 4  |-  ( x  =  A  ->  ( rank `  U. x )  =  ( rank `  U. A ) )
3 fveq2 5864 . . . . 5  |-  ( x  =  A  ->  ( rank `  x )  =  ( rank `  A
) )
43unieqd 4255 . . . 4  |-  ( x  =  A  ->  U. ( rank `  x )  = 
U. ( rank `  A
) )
52, 4eqeq12d 2489 . . 3  |-  ( x  =  A  ->  (
( rank `  U. x )  =  U. ( rank `  x )  <->  ( rank ` 
U. A )  = 
U. ( rank `  A
) ) )
6 vex 3116 . . . . . . 7  |-  x  e. 
_V
76rankuni2 8269 . . . . . 6  |-  ( rank `  U. x )  = 
U_ z  e.  x  ( rank `  z )
8 fvex 5874 . . . . . . 7  |-  ( rank `  z )  e.  _V
98dfiun2 4359 . . . . . 6  |-  U_ z  e.  x  ( rank `  z )  =  U. { y  |  E. z  e.  x  y  =  ( rank `  z
) }
107, 9eqtri 2496 . . . . 5  |-  ( rank `  U. x )  = 
U. { y  |  E. z  e.  x  y  =  ( rank `  z ) }
11 df-rex 2820 . . . . . . . 8  |-  ( E. z  e.  x  y  =  ( rank `  z
)  <->  E. z ( z  e.  x  /\  y  =  ( rank `  z
) ) )
126rankel 8253 . . . . . . . . . . 11  |-  ( z  e.  x  ->  ( rank `  z )  e.  ( rank `  x
) )
1312anim1i 568 . . . . . . . . . 10  |-  ( ( z  e.  x  /\  y  =  ( rank `  z ) )  -> 
( ( rank `  z
)  e.  ( rank `  x )  /\  y  =  ( rank `  z
) ) )
1413eximi 1635 . . . . . . . . 9  |-  ( E. z ( z  e.  x  /\  y  =  ( rank `  z
) )  ->  E. z
( ( rank `  z
)  e.  ( rank `  x )  /\  y  =  ( rank `  z
) ) )
15 19.42v 1949 . . . . . . . . . 10  |-  ( E. z ( y  e.  ( rank `  x
)  /\  y  =  ( rank `  z )
)  <->  ( y  e.  ( rank `  x
)  /\  E. z 
y  =  ( rank `  z ) ) )
16 eleq1 2539 . . . . . . . . . . . 12  |-  ( y  =  ( rank `  z
)  ->  ( y  e.  ( rank `  x
)  <->  ( rank `  z
)  e.  ( rank `  x ) ) )
1716pm5.32ri 638 . . . . . . . . . . 11  |-  ( ( y  e.  ( rank `  x )  /\  y  =  ( rank `  z
) )  <->  ( ( rank `  z )  e.  ( rank `  x
)  /\  y  =  ( rank `  z )
) )
1817exbii 1644 . . . . . . . . . 10  |-  ( E. z ( y  e.  ( rank `  x
)  /\  y  =  ( rank `  z )
)  <->  E. z ( (
rank `  z )  e.  ( rank `  x
)  /\  y  =  ( rank `  z )
) )
19 simpl 457 . . . . . . . . . . 11  |-  ( ( y  e.  ( rank `  x )  /\  E. z  y  =  ( rank `  z ) )  ->  y  e.  (
rank `  x )
)
20 rankon 8209 . . . . . . . . . . . . . . . . 17  |-  ( rank `  x )  e.  On
2120oneli 4985 . . . . . . . . . . . . . . . 16  |-  ( y  e.  ( rank `  x
)  ->  y  e.  On )
22 r1fnon 8181 . . . . . . . . . . . . . . . . 17  |-  R1  Fn  On
23 fndm 5678 . . . . . . . . . . . . . . . . 17  |-  ( R1  Fn  On  ->  dom  R1  =  On )
2422, 23ax-mp 5 . . . . . . . . . . . . . . . 16  |-  dom  R1  =  On
2521, 24syl6eleqr 2566 . . . . . . . . . . . . . . 15  |-  ( y  e.  ( rank `  x
)  ->  y  e.  dom  R1 )
26 rankr1id 8276 . . . . . . . . . . . . . . 15  |-  ( y  e.  dom  R1  <->  ( rank `  ( R1 `  y
) )  =  y )
2725, 26sylib 196 . . . . . . . . . . . . . 14  |-  ( y  e.  ( rank `  x
)  ->  ( rank `  ( R1 `  y
) )  =  y )
2827eqcomd 2475 . . . . . . . . . . . . 13  |-  ( y  e.  ( rank `  x
)  ->  y  =  ( rank `  ( R1 `  y ) ) )
29 fvex 5874 . . . . . . . . . . . . . 14  |-  ( R1
`  y )  e. 
_V
30 fveq2 5864 . . . . . . . . . . . . . . 15  |-  ( z  =  ( R1 `  y )  ->  ( rank `  z )  =  ( rank `  ( R1 `  y ) ) )
3130eqeq2d 2481 . . . . . . . . . . . . . 14  |-  ( z  =  ( R1 `  y )  ->  (
y  =  ( rank `  z )  <->  y  =  ( rank `  ( R1 `  y ) ) ) )
3229, 31spcev 3205 . . . . . . . . . . . . 13  |-  ( y  =  ( rank `  ( R1 `  y ) )  ->  E. z  y  =  ( rank `  z
) )
3328, 32syl 16 . . . . . . . . . . . 12  |-  ( y  e.  ( rank `  x
)  ->  E. z 
y  =  ( rank `  z ) )
3433ancli 551 . . . . . . . . . . 11  |-  ( y  e.  ( rank `  x
)  ->  ( y  e.  ( rank `  x
)  /\  E. z 
y  =  ( rank `  z ) ) )
3519, 34impbii 188 . . . . . . . . . 10  |-  ( ( y  e.  ( rank `  x )  /\  E. z  y  =  ( rank `  z ) )  <-> 
y  e.  ( rank `  x ) )
3615, 18, 353bitr3i 275 . . . . . . . . 9  |-  ( E. z ( ( rank `  z )  e.  (
rank `  x )  /\  y  =  ( rank `  z ) )  <-> 
y  e.  ( rank `  x ) )
3714, 36sylib 196 . . . . . . . 8  |-  ( E. z ( z  e.  x  /\  y  =  ( rank `  z
) )  ->  y  e.  ( rank `  x
) )
3811, 37sylbi 195 . . . . . . 7  |-  ( E. z  e.  x  y  =  ( rank `  z
)  ->  y  e.  ( rank `  x )
)
3938abssi 3575 . . . . . 6  |-  { y  |  E. z  e.  x  y  =  (
rank `  z ) }  C_  ( rank `  x
)
4039unissi 4268 . . . . 5  |-  U. {
y  |  E. z  e.  x  y  =  ( rank `  z ) }  C_  U. ( rank `  x )
4110, 40eqsstri 3534 . . . 4  |-  ( rank `  U. x )  C_  U. ( rank `  x
)
42 pwuni 4678 . . . . . . . 8  |-  x  C_  ~P U. x
436uniex 6578 . . . . . . . . . 10  |-  U. x  e.  _V
4443pwex 4630 . . . . . . . . 9  |-  ~P U. x  e.  _V
4544rankss 8263 . . . . . . . 8  |-  ( x 
C_  ~P U. x  -> 
( rank `  x )  C_  ( rank `  ~P U. x ) )
4642, 45ax-mp 5 . . . . . . 7  |-  ( rank `  x )  C_  ( rank `  ~P U. x
)
4743rankpw 8257 . . . . . . 7  |-  ( rank `  ~P U. x )  =  suc  ( rank `  U. x )
4846, 47sseqtri 3536 . . . . . 6  |-  ( rank `  x )  C_  suc  ( rank `  U. x )
4948unissi 4268 . . . . 5  |-  U. ( rank `  x )  C_  U.
suc  ( rank `  U. x )
50 rankon 8209 . . . . . 6  |-  ( rank `  U. x )  e.  On
5150onunisuci 4991 . . . . 5  |-  U. suc  ( rank `  U. x )  =  ( rank `  U. x )
5249, 51sseqtri 3536 . . . 4  |-  U. ( rank `  x )  C_  ( rank `  U. x )
5341, 52eqssi 3520 . . 3  |-  ( rank `  U. x )  = 
U. ( rank `  x
)
545, 53vtoclg 3171 . 2  |-  ( A  e.  _V  ->  ( rank `  U. A )  =  U. ( rank `  A ) )
55 uniexb 6588 . . . . 5  |-  ( A  e.  _V  <->  U. A  e. 
_V )
56 fvprc 5858 . . . . 5  |-  ( -. 
U. A  e.  _V  ->  ( rank `  U. A )  =  (/) )
5755, 56sylnbi 306 . . . 4  |-  ( -.  A  e.  _V  ->  (
rank `  U. A )  =  (/) )
58 uni0 4272 . . . 4  |-  U. (/)  =  (/)
5957, 58syl6eqr 2526 . . 3  |-  ( -.  A  e.  _V  ->  (
rank `  U. A )  =  U. (/) )
60 fvprc 5858 . . . 4  |-  ( -.  A  e.  _V  ->  (
rank `  A )  =  (/) )
6160unieqd 4255 . . 3  |-  ( -.  A  e.  _V  ->  U. ( rank `  A
)  =  U. (/) )
6259, 61eqtr4d 2511 . 2  |-  ( -.  A  e.  _V  ->  (
rank `  U. A )  =  U. ( rank `  A ) )
6354, 62pm2.61i 164 1  |-  ( rank `  U. A )  = 
U. ( rank `  A
)
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    /\ wa 369    = wceq 1379   E.wex 1596    e. wcel 1767   {cab 2452   E.wrex 2815   _Vcvv 3113    C_ wss 3476   (/)c0 3785   ~Pcpw 4010   U.cuni 4245   U_ciun 4325   Oncon0 4878   suc csuc 4880   dom cdm 4999    Fn wfn 5581   ` cfv 5586   R1cr1 8176   rankcrnk 8177
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6574  ax-reg 8014  ax-inf2 8054
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-reu 2821  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-pss 3492  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-tp 4032  df-op 4034  df-uni 4246  df-int 4283  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-tr 4541  df-eprel 4791  df-id 4795  df-po 4800  df-so 4801  df-fr 4838  df-we 4840  df-ord 4881  df-on 4882  df-lim 4883  df-suc 4884  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5549  df-fun 5588  df-fn 5589  df-f 5590  df-f1 5591  df-fo 5592  df-f1o 5593  df-fv 5594  df-om 6679  df-recs 7039  df-rdg 7073  df-r1 8178  df-rank 8179
This theorem is referenced by:  rankuniss  8280  rankbnd2  8283  rankxplim2  8294  rankxplim3  8295  rankxpsuc  8296  r1limwun  9110  hfuni  29418
  Copyright terms: Public domain W3C validator