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

Theorem rankval3b 9612
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 9581 . . . . . . . . . 10 (rank‘𝐴) ∈ On
2 simprl 767 . . . . . . . . . 10 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → 𝑥 ∈ On)
3 ontri1 6304 . . . . . . . . . 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 9591 . . . . . . . . . . . . . . . . . 18 (𝐴 (𝑅1 “ On) → 𝐴 (𝑅1 “ On))
76adantr 480 . . . . . . . . . . . . . . . . 17 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 (𝑅1 “ On))
87sselda 3923 . . . . . . . . . . . . . . . 16 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → 𝑦 (𝑅1 “ On))
9 rankdmr1 9587 . . . . . . . . . . . . . . . . . 18 (rank‘𝐴) ∈ dom 𝑅1
10 r1funlim 9552 . . . . . . . . . . . . . . . . . . . 20 (Fun 𝑅1 ∧ Lim dom 𝑅1)
1110simpri 485 . . . . . . . . . . . . . . . . . . 19 Lim dom 𝑅1
12 limord 6329 . . . . . . . . . . . . . . . . . . 19 (Lim dom 𝑅1 → Ord dom 𝑅1)
13 ordtr1 6313 . . . . . . . . . . . . . . . . . . 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 9588 . . . . . . . . . . . . . . . 16 ((𝑦 (𝑅1 “ On) ∧ 𝑥 ∈ dom 𝑅1) → (𝑦 ∈ (𝑅1𝑥) ↔ (rank‘𝑦) ∈ 𝑥))
188, 16, 17syl2anc 583 . . . . . . . . . . . . . . 15 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → (𝑦 ∈ (𝑅1𝑥) ↔ (rank‘𝑦) ∈ 𝑥))
1918ralbidva 3166 . . . . . . . . . . . . . 14 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) → (∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥) ↔ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥))
2019biimpar 477 . . . . . . . . . . . . 13 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
2120an32s 648 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
22 dfss3 3911 . . . . . . . . . . . 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 9589 . . . . . . . . . . . 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 1926 . . . 4 (𝐴 (𝑅1 “ On) → ∀𝑥((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
35 ssintab 4899 . . . 4 ((rank‘𝐴) ⊆ {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)} ↔ ∀𝑥((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
3634, 35sylibr 233 . . 3 (𝐴 (𝑅1 “ On) → (rank‘𝐴) ⊆ {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)})
37 df-rab 3224 . . . 4 {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} = {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)}
3837inteqi 4886 . . 3 {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} = {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)}
3936, 38sseqtrrdi 3974 . 2 (𝐴 (𝑅1 “ On) → (rank‘𝐴) ⊆ {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
40 rankelb 9610 . . . 4 (𝐴 (𝑅1 “ On) → (𝑦𝐴 → (rank‘𝑦) ∈ (rank‘𝐴)))
4140ralrimiv 3136 . . 3 (𝐴 (𝑅1 “ On) → ∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴))
42 eleq2 2822 . . . . 5 (𝑥 = (rank‘𝐴) → ((rank‘𝑦) ∈ 𝑥 ↔ (rank‘𝑦) ∈ (rank‘𝐴)))
4342ralbidv 3168 . . . 4 (𝑥 = (rank‘𝐴) → (∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥 ↔ ∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴)))
4443onintss 6320 . . 3 ((rank‘𝐴) ∈ On → (∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴) → {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} ⊆ (rank‘𝐴)))
451, 41, 44mpsyl 68 . 2 (𝐴 (𝑅1 “ On) → {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} ⊆ (rank‘𝐴))
4639, 45eqssd 3940 1 (𝐴 (𝑅1 “ On) → (rank‘𝐴) = {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1535   = wceq 1537  wcel 2101  {cab 2710  wral 3059  {crab 3221  wss 3889   cuni 4841   cint 4882  dom cdm 5591  cima 5594  Ord word 6269  Oncon0 6270  Lim wlim 6271  Fun wfun 6441  cfv 6447  𝑅1cr1 9548  rankcrnk 9549
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7608
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ne 2939  df-ral 3060  df-rex 3069  df-reu 3223  df-rab 3224  df-v 3436  df-sbc 3719  df-csb 3835  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-pss 3908  df-nul 4260  df-if 4463  df-pw 4538  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-int 4883  df-iun 4929  df-br 5078  df-opab 5140  df-mpt 5161  df-tr 5195  df-id 5491  df-eprel 5497  df-po 5505  df-so 5506  df-fr 5546  df-we 5548  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-res 5603  df-ima 5604  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6399  df-fun 6449  df-fn 6450  df-f 6451  df-f1 6452  df-fo 6453  df-f1o 6454  df-fv 6455  df-ov 7298  df-om 7733  df-2nd 7852  df-frecs 8117  df-wrecs 8148  df-recs 8222  df-rdg 8261  df-r1 9550  df-rank 9551
This theorem is referenced by:  ranksnb  9613  rankonidlem  9614  rankval3  9626  rankunb  9636  rankuni2b  9639  tcrank  9670
  Copyright terms: Public domain W3C validator