MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rankuni2b Structured version   Visualization version   GIF version

Theorem rankuni2b 9315
Description: The value of the rank function expressed recursively: the rank of a set is the smallest ordinal number containing the ranks of all members of the set. Proposition 9.17 of [TakeutiZaring] p. 79. (Contributed by Mario Carneiro, 8-Jun-2013.)
Assertion
Ref Expression
rankuni2b (𝐴 (𝑅1 “ On) → (rank‘ 𝐴) = 𝑥𝐴 (rank‘𝑥))
Distinct variable group:   𝑥,𝐴

Proof of Theorem rankuni2b
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uniwf 9281 . . . 4 (𝐴 (𝑅1 “ On) ↔ 𝐴 (𝑅1 “ On))
2 rankval3b 9288 . . . 4 ( 𝐴 (𝑅1 “ On) → (rank‘ 𝐴) = {𝑧 ∈ On ∣ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧})
31, 2sylbi 220 . . 3 (𝐴 (𝑅1 “ On) → (rank‘ 𝐴) = {𝑧 ∈ On ∣ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧})
4 eleq2 2840 . . . . . 6 (𝑧 = 𝑥𝐴 (rank‘𝑥) → ((rank‘𝑦) ∈ 𝑧 ↔ (rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥)))
54ralbidv 3126 . . . . 5 (𝑧 = 𝑥𝐴 (rank‘𝑥) → (∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧 ↔ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥)))
6 iuneq1 4899 . . . . . . 7 (𝑦 = 𝐴 𝑥𝑦 (rank‘𝑥) = 𝑥𝐴 (rank‘𝑥))
76eleq1d 2836 . . . . . 6 (𝑦 = 𝐴 → ( 𝑥𝑦 (rank‘𝑥) ∈ On ↔ 𝑥𝐴 (rank‘𝑥) ∈ On))
8 vex 3413 . . . . . . 7 𝑦 ∈ V
9 rankon 9257 . . . . . . . 8 (rank‘𝑥) ∈ On
109rgenw 3082 . . . . . . 7 𝑥𝑦 (rank‘𝑥) ∈ On
11 iunon 7986 . . . . . . 7 ((𝑦 ∈ V ∧ ∀𝑥𝑦 (rank‘𝑥) ∈ On) → 𝑥𝑦 (rank‘𝑥) ∈ On)
128, 10, 11mp2an 691 . . . . . 6 𝑥𝑦 (rank‘𝑥) ∈ On
137, 12vtoclg 3485 . . . . 5 (𝐴 (𝑅1 “ On) → 𝑥𝐴 (rank‘𝑥) ∈ On)
14 eluni2 4802 . . . . . . 7 (𝑦 𝐴 ↔ ∃𝑥𝐴 𝑦𝑥)
15 nfv 1915 . . . . . . . 8 𝑥 𝐴 (𝑅1 “ On)
16 nfiu1 4917 . . . . . . . . 9 𝑥 𝑥𝐴 (rank‘𝑥)
1716nfel2 2937 . . . . . . . 8 𝑥(rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥)
18 r1elssi 9267 . . . . . . . . . . 11 (𝐴 (𝑅1 “ On) → 𝐴 (𝑅1 “ On))
1918sseld 3891 . . . . . . . . . 10 (𝐴 (𝑅1 “ On) → (𝑥𝐴𝑥 (𝑅1 “ On)))
20 rankelb 9286 . . . . . . . . . 10 (𝑥 (𝑅1 “ On) → (𝑦𝑥 → (rank‘𝑦) ∈ (rank‘𝑥)))
2119, 20syl6 35 . . . . . . . . 9 (𝐴 (𝑅1 “ On) → (𝑥𝐴 → (𝑦𝑥 → (rank‘𝑦) ∈ (rank‘𝑥))))
22 ssiun2 4936 . . . . . . . . . . 11 (𝑥𝐴 → (rank‘𝑥) ⊆ 𝑥𝐴 (rank‘𝑥))
2322sseld 3891 . . . . . . . . . 10 (𝑥𝐴 → ((rank‘𝑦) ∈ (rank‘𝑥) → (rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥)))
2423a1i 11 . . . . . . . . 9 (𝐴 (𝑅1 “ On) → (𝑥𝐴 → ((rank‘𝑦) ∈ (rank‘𝑥) → (rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥))))
2521, 24syldd 72 . . . . . . . 8 (𝐴 (𝑅1 “ On) → (𝑥𝐴 → (𝑦𝑥 → (rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥))))
2615, 17, 25rexlimd 3241 . . . . . . 7 (𝐴 (𝑅1 “ On) → (∃𝑥𝐴 𝑦𝑥 → (rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥)))
2714, 26syl5bi 245 . . . . . 6 (𝐴 (𝑅1 “ On) → (𝑦 𝐴 → (rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥)))
2827ralrimiv 3112 . . . . 5 (𝐴 (𝑅1 “ On) → ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑥𝐴 (rank‘𝑥))
295, 13, 28elrabd 3604 . . . 4 (𝐴 (𝑅1 “ On) → 𝑥𝐴 (rank‘𝑥) ∈ {𝑧 ∈ On ∣ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧})
30 intss1 4853 . . . 4 ( 𝑥𝐴 (rank‘𝑥) ∈ {𝑧 ∈ On ∣ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧} → {𝑧 ∈ On ∣ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧} ⊆ 𝑥𝐴 (rank‘𝑥))
3129, 30syl 17 . . 3 (𝐴 (𝑅1 “ On) → {𝑧 ∈ On ∣ ∀𝑦 𝐴(rank‘𝑦) ∈ 𝑧} ⊆ 𝑥𝐴 (rank‘𝑥))
323, 31eqsstrd 3930 . 2 (𝐴 (𝑅1 “ On) → (rank‘ 𝐴) ⊆ 𝑥𝐴 (rank‘𝑥))
331biimpi 219 . . . . 5 (𝐴 (𝑅1 “ On) → 𝐴 (𝑅1 “ On))
34 elssuni 4830 . . . . 5 (𝑥𝐴𝑥 𝐴)
35 rankssb 9310 . . . . 5 ( 𝐴 (𝑅1 “ On) → (𝑥 𝐴 → (rank‘𝑥) ⊆ (rank‘ 𝐴)))
3633, 34, 35syl2im 40 . . . 4 (𝐴 (𝑅1 “ On) → (𝑥𝐴 → (rank‘𝑥) ⊆ (rank‘ 𝐴)))
3736ralrimiv 3112 . . 3 (𝐴 (𝑅1 “ On) → ∀𝑥𝐴 (rank‘𝑥) ⊆ (rank‘ 𝐴))
38 iunss 4934 . . 3 ( 𝑥𝐴 (rank‘𝑥) ⊆ (rank‘ 𝐴) ↔ ∀𝑥𝐴 (rank‘𝑥) ⊆ (rank‘ 𝐴))
3937, 38sylibr 237 . 2 (𝐴 (𝑅1 “ On) → 𝑥𝐴 (rank‘𝑥) ⊆ (rank‘ 𝐴))
4032, 39eqssd 3909 1 (𝐴 (𝑅1 “ On) → (rank‘ 𝐴) = 𝑥𝐴 (rank‘𝑥))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1538  wcel 2111  wral 3070  wrex 3071  {crab 3074  Vcvv 3409  wss 3858   cuni 4798   cint 4838   ciun 4883  cima 5527  Oncon0 6169  cfv 6335  𝑅1cr1 9224  rankcrnk 9225
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-rep 5156  ax-sep 5169  ax-nul 5176  ax-pow 5234  ax-pr 5298  ax-un 7459
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-reu 3077  df-rab 3079  df-v 3411  df-sbc 3697  df-csb 3806  df-dif 3861  df-un 3863  df-in 3865  df-ss 3875  df-pss 3877  df-nul 4226  df-if 4421  df-pw 4496  df-sn 4523  df-pr 4525  df-tp 4527  df-op 4529  df-uni 4799  df-int 4839  df-iun 4885  df-br 5033  df-opab 5095  df-mpt 5113  df-tr 5139  df-id 5430  df-eprel 5435  df-po 5443  df-so 5444  df-fr 5483  df-we 5485  df-xp 5530  df-rel 5531  df-cnv 5532  df-co 5533  df-dm 5534  df-rn 5535  df-res 5536  df-ima 5537  df-pred 6126  df-ord 6172  df-on 6173  df-lim 6174  df-suc 6175  df-iota 6294  df-fun 6337  df-fn 6338  df-f 6339  df-f1 6340  df-fo 6341  df-f1o 6342  df-fv 6343  df-om 7580  df-wrecs 7957  df-recs 8018  df-rdg 8056  df-r1 9226  df-rank 9227
This theorem is referenced by:  rankuni2  9317  rankcf  10237
  Copyright terms: Public domain W3C validator