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

Theorem rankval3b 9515
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, 17-Nov-2014.)
Assertion
Ref Expression
rankval3b (𝐴 (𝑅1 “ On) → (rank‘𝐴) = {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
Distinct variable group:   𝑥,𝑦,𝐴

Proof of Theorem rankval3b
StepHypRef Expression
1 rankon 9484 . . . . . . . . . 10 (rank‘𝐴) ∈ On
2 simprl 767 . . . . . . . . . 10 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → 𝑥 ∈ On)
3 ontri1 6285 . . . . . . . . . 10 (((rank‘𝐴) ∈ On ∧ 𝑥 ∈ On) → ((rank‘𝐴) ⊆ 𝑥 ↔ ¬ 𝑥 ∈ (rank‘𝐴)))
41, 2, 3sylancr 586 . . . . . . . . 9 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → ((rank‘𝐴) ⊆ 𝑥 ↔ ¬ 𝑥 ∈ (rank‘𝐴)))
54con2bid 354 . . . . . . . 8 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (𝑥 ∈ (rank‘𝐴) ↔ ¬ (rank‘𝐴) ⊆ 𝑥))
6 r1elssi 9494 . . . . . . . . . . . . . . . . . 18 (𝐴 (𝑅1 “ On) → 𝐴 (𝑅1 “ On))
76adantr 480 . . . . . . . . . . . . . . . . 17 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 (𝑅1 “ On))
87sselda 3917 . . . . . . . . . . . . . . . 16 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → 𝑦 (𝑅1 “ On))
9 rankdmr1 9490 . . . . . . . . . . . . . . . . . 18 (rank‘𝐴) ∈ dom 𝑅1
10 r1funlim 9455 . . . . . . . . . . . . . . . . . . . 20 (Fun 𝑅1 ∧ Lim dom 𝑅1)
1110simpri 485 . . . . . . . . . . . . . . . . . . 19 Lim dom 𝑅1
12 limord 6310 . . . . . . . . . . . . . . . . . . 19 (Lim dom 𝑅1 → Ord dom 𝑅1)
13 ordtr1 6294 . . . . . . . . . . . . . . . . . . 19 (Ord dom 𝑅1 → ((𝑥 ∈ (rank‘𝐴) ∧ (rank‘𝐴) ∈ dom 𝑅1) → 𝑥 ∈ dom 𝑅1))
1411, 12, 13mp2b 10 . . . . . . . . . . . . . . . . . 18 ((𝑥 ∈ (rank‘𝐴) ∧ (rank‘𝐴) ∈ dom 𝑅1) → 𝑥 ∈ dom 𝑅1)
159, 14mpan2 687 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ (rank‘𝐴) → 𝑥 ∈ dom 𝑅1)
1615ad2antlr 723 . . . . . . . . . . . . . . . 16 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → 𝑥 ∈ dom 𝑅1)
17 rankr1ag 9491 . . . . . . . . . . . . . . . 16 ((𝑦 (𝑅1 “ On) ∧ 𝑥 ∈ dom 𝑅1) → (𝑦 ∈ (𝑅1𝑥) ↔ (rank‘𝑦) ∈ 𝑥))
188, 16, 17syl2anc 583 . . . . . . . . . . . . . . 15 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → (𝑦 ∈ (𝑅1𝑥) ↔ (rank‘𝑦) ∈ 𝑥))
1918ralbidva 3119 . . . . . . . . . . . . . 14 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) → (∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥) ↔ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥))
2019biimpar 477 . . . . . . . . . . . . 13 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
2120an32s 648 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
22 dfss3 3905 . . . . . . . . . . . 12 (𝐴 ⊆ (𝑅1𝑥) ↔ ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
2321, 22sylibr 233 . . . . . . . . . . 11 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 ⊆ (𝑅1𝑥))
24 simpll 763 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 (𝑅1 “ On))
2515adantl 481 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝑥 ∈ dom 𝑅1)
26 rankr1bg 9492 . . . . . . . . . . . 12 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ dom 𝑅1) → (𝐴 ⊆ (𝑅1𝑥) ↔ (rank‘𝐴) ⊆ 𝑥))
2724, 25, 26syl2anc 583 . . . . . . . . . . 11 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → (𝐴 ⊆ (𝑅1𝑥) ↔ (rank‘𝐴) ⊆ 𝑥))
2823, 27mpbid 231 . . . . . . . . . 10 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → (rank‘𝐴) ⊆ 𝑥)
2928ex 412 . . . . . . . . 9 ((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (𝑥 ∈ (rank‘𝐴) → (rank‘𝐴) ⊆ 𝑥))
3029adantrl 712 . . . . . . . 8 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (𝑥 ∈ (rank‘𝐴) → (rank‘𝐴) ⊆ 𝑥))
315, 30sylbird 259 . . . . . . 7 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (¬ (rank‘𝐴) ⊆ 𝑥 → (rank‘𝐴) ⊆ 𝑥))
3231pm2.18d 127 . . . . . 6 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (rank‘𝐴) ⊆ 𝑥)
3332ex 412 . . . . 5 (𝐴 (𝑅1 “ On) → ((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
3433alrimiv 1931 . . . 4 (𝐴 (𝑅1 “ On) → ∀𝑥((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
35 ssintab 4893 . . . 4 ((rank‘𝐴) ⊆ {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)} ↔ ∀𝑥((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
3634, 35sylibr 233 . . 3 (𝐴 (𝑅1 “ On) → (rank‘𝐴) ⊆ {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)})
37 df-rab 3072 . . . 4 {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} = {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)}
3837inteqi 4880 . . 3 {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} = {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)}
3936, 38sseqtrrdi 3968 . 2 (𝐴 (𝑅1 “ On) → (rank‘𝐴) ⊆ {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
40 rankelb 9513 . . . 4 (𝐴 (𝑅1 “ On) → (𝑦𝐴 → (rank‘𝑦) ∈ (rank‘𝐴)))
4140ralrimiv 3106 . . 3 (𝐴 (𝑅1 “ On) → ∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴))
42 eleq2 2827 . . . . 5 (𝑥 = (rank‘𝐴) → ((rank‘𝑦) ∈ 𝑥 ↔ (rank‘𝑦) ∈ (rank‘𝐴)))
4342ralbidv 3120 . . . 4 (𝑥 = (rank‘𝐴) → (∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥 ↔ ∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴)))
4443onintss 6301 . . 3 ((rank‘𝐴) ∈ On → (∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴) → {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} ⊆ (rank‘𝐴)))
451, 41, 44mpsyl 68 . 2 (𝐴 (𝑅1 “ On) → {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} ⊆ (rank‘𝐴))
4639, 45eqssd 3934 1 (𝐴 (𝑅1 “ On) → (rank‘𝐴) = {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  {cab 2715  wral 3063  {crab 3067  wss 3883   cuni 4836   cint 4876  dom cdm 5580  cima 5583  Ord word 6250  Oncon0 6251  Lim wlim 6252  Fun wfun 6412  cfv 6418  𝑅1cr1 9451  rankcrnk 9452
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-om 7688  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-r1 9453  df-rank 9454
This theorem is referenced by:  ranksnb  9516  rankonidlem  9517  rankval3  9529  rankunb  9539  rankuni2b  9542  tcrank  9573
  Copyright terms: Public domain W3C validator