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

Theorem rankval3b 8550
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 8519 . . . . . . . . . 10 (rank‘𝐴) ∈ On
2 simprl 789 . . . . . . . . . 10 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → 𝑥 ∈ On)
3 ontri1 5660 . . . . . . . . . 10 (((rank‘𝐴) ∈ On ∧ 𝑥 ∈ On) → ((rank‘𝐴) ⊆ 𝑥 ↔ ¬ 𝑥 ∈ (rank‘𝐴)))
41, 2, 3sylancr 693 . . . . . . . . 9 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → ((rank‘𝐴) ⊆ 𝑥 ↔ ¬ 𝑥 ∈ (rank‘𝐴)))
54con2bid 342 . . . . . . . 8 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (𝑥 ∈ (rank‘𝐴) ↔ ¬ (rank‘𝐴) ⊆ 𝑥))
6 r1elssi 8529 . . . . . . . . . . . . . . . . . 18 (𝐴 (𝑅1 “ On) → 𝐴 (𝑅1 “ On))
76adantr 479 . . . . . . . . . . . . . . . . 17 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 (𝑅1 “ On))
87sselda 3567 . . . . . . . . . . . . . . . 16 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → 𝑦 (𝑅1 “ On))
9 rankdmr1 8525 . . . . . . . . . . . . . . . . . 18 (rank‘𝐴) ∈ dom 𝑅1
10 r1funlim 8490 . . . . . . . . . . . . . . . . . . . 20 (Fun 𝑅1 ∧ Lim dom 𝑅1)
1110simpri 476 . . . . . . . . . . . . . . . . . . 19 Lim dom 𝑅1
12 limord 5687 . . . . . . . . . . . . . . . . . . 19 (Lim dom 𝑅1 → Ord dom 𝑅1)
13 ordtr1 5670 . . . . . . . . . . . . . . . . . . 19 (Ord dom 𝑅1 → ((𝑥 ∈ (rank‘𝐴) ∧ (rank‘𝐴) ∈ dom 𝑅1) → 𝑥 ∈ dom 𝑅1))
1411, 12, 13mp2b 10 . . . . . . . . . . . . . . . . . 18 ((𝑥 ∈ (rank‘𝐴) ∧ (rank‘𝐴) ∈ dom 𝑅1) → 𝑥 ∈ dom 𝑅1)
159, 14mpan2 702 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ (rank‘𝐴) → 𝑥 ∈ dom 𝑅1)
1615ad2antlr 758 . . . . . . . . . . . . . . . 16 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → 𝑥 ∈ dom 𝑅1)
17 rankr1ag 8526 . . . . . . . . . . . . . . . 16 ((𝑦 (𝑅1 “ On) ∧ 𝑥 ∈ dom 𝑅1) → (𝑦 ∈ (𝑅1𝑥) ↔ (rank‘𝑦) ∈ 𝑥))
188, 16, 17syl2anc 690 . . . . . . . . . . . . . . 15 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ 𝑦𝐴) → (𝑦 ∈ (𝑅1𝑥) ↔ (rank‘𝑦) ∈ 𝑥))
1918ralbidva 2967 . . . . . . . . . . . . . 14 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) → (∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥) ↔ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥))
2019biimpar 500 . . . . . . . . . . . . 13 (((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ (rank‘𝐴)) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
2120an32s 841 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
22 dfss3 3557 . . . . . . . . . . . 12 (𝐴 ⊆ (𝑅1𝑥) ↔ ∀𝑦𝐴 𝑦 ∈ (𝑅1𝑥))
2321, 22sylibr 222 . . . . . . . . . . 11 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 ⊆ (𝑅1𝑥))
24 simpll 785 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝐴 (𝑅1 “ On))
2515adantl 480 . . . . . . . . . . . 12 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → 𝑥 ∈ dom 𝑅1)
26 rankr1bg 8527 . . . . . . . . . . . 12 ((𝐴 (𝑅1 “ On) ∧ 𝑥 ∈ dom 𝑅1) → (𝐴 ⊆ (𝑅1𝑥) ↔ (rank‘𝐴) ⊆ 𝑥))
2724, 25, 26syl2anc 690 . . . . . . . . . . 11 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → (𝐴 ⊆ (𝑅1𝑥) ↔ (rank‘𝐴) ⊆ 𝑥))
2823, 27mpbid 220 . . . . . . . . . 10 (((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) ∧ 𝑥 ∈ (rank‘𝐴)) → (rank‘𝐴) ⊆ 𝑥)
2928ex 448 . . . . . . . . 9 ((𝐴 (𝑅1 “ On) ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (𝑥 ∈ (rank‘𝐴) → (rank‘𝐴) ⊆ 𝑥))
3029adantrl 747 . . . . . . . 8 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (𝑥 ∈ (rank‘𝐴) → (rank‘𝐴) ⊆ 𝑥))
315, 30sylbird 248 . . . . . . 7 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (¬ (rank‘𝐴) ⊆ 𝑥 → (rank‘𝐴) ⊆ 𝑥))
3231pm2.18d 122 . . . . . 6 ((𝐴 (𝑅1 “ On) ∧ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)) → (rank‘𝐴) ⊆ 𝑥)
3332ex 448 . . . . 5 (𝐴 (𝑅1 “ On) → ((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
3433alrimiv 1841 . . . 4 (𝐴 (𝑅1 “ On) → ∀𝑥((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
35 ssintab 4423 . . . 4 ((rank‘𝐴) ⊆ {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)} ↔ ∀𝑥((𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥) → (rank‘𝐴) ⊆ 𝑥))
3634, 35sylibr 222 . . 3 (𝐴 (𝑅1 “ On) → (rank‘𝐴) ⊆ {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)})
37 df-rab 2904 . . . 4 {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} = {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)}
3837inteqi 4408 . . 3 {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} = {𝑥 ∣ (𝑥 ∈ On ∧ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥)}
3936, 38syl6sseqr 3614 . 2 (𝐴 (𝑅1 “ On) → (rank‘𝐴) ⊆ {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
40 rankelb 8548 . . . 4 (𝐴 (𝑅1 “ On) → (𝑦𝐴 → (rank‘𝑦) ∈ (rank‘𝐴)))
4140ralrimiv 2947 . . 3 (𝐴 (𝑅1 “ On) → ∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴))
42 eleq2 2676 . . . . 5 (𝑥 = (rank‘𝐴) → ((rank‘𝑦) ∈ 𝑥 ↔ (rank‘𝑦) ∈ (rank‘𝐴)))
4342ralbidv 2968 . . . 4 (𝑥 = (rank‘𝐴) → (∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥 ↔ ∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴)))
4443onintss 5678 . . 3 ((rank‘𝐴) ∈ On → (∀𝑦𝐴 (rank‘𝑦) ∈ (rank‘𝐴) → {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} ⊆ (rank‘𝐴)))
451, 41, 44mpsyl 65 . 2 (𝐴 (𝑅1 “ On) → {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥} ⊆ (rank‘𝐴))
4639, 45eqssd 3584 1 (𝐴 (𝑅1 “ On) → (rank‘𝐴) = {𝑥 ∈ On ∣ ∀𝑦𝐴 (rank‘𝑦) ∈ 𝑥})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wa 382  wal 1472   = wceq 1474  wcel 1976  {cab 2595  wral 2895  {crab 2899  wss 3539   cuni 4366   cint 4404  dom cdm 5028  cima 5031  Ord word 5625  Oncon0 5626  Lim wlim 5627  Fun wfun 5784  cfv 5790  𝑅1cr1 8486  rankcrnk 8487
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6825
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-reu 2902  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-pss 3555  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-tp 4129  df-op 4131  df-uni 4367  df-int 4405  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-tr 4675  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-om 6936  df-wrecs 7272  df-recs 7333  df-rdg 7371  df-r1 8488  df-rank 8489
This theorem is referenced by:  ranksnb  8551  rankonidlem  8552  rankval3  8564  rankunb  8574  rankuni2b  8577  tcrank  8608
  Copyright terms: Public domain W3C validator