Users' Mathboxes Mathbox for Emmett Weisz < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  onsetrec Structured version   Visualization version   GIF version

Theorem onsetrec 49895
Description: Construct On using set recursion. When 𝑥 ∈ On, the function 𝐹 constructs the least ordinal greater than any of the elements of 𝑥, which is 𝑥 for a limit ordinal and suc 𝑥 for a successor ordinal.

For example, (𝐹‘{1o, 2o}) = { {1o, 2o}, suc {1o, 2o}} = {2o, 3o} which contains 3o, and (𝐹‘ω) = { ω, suc ω} = {ω, ω +o 1o}, which contains ω. If we start with the empty set and keep applying 𝐹 transfinitely many times, all ordinal numbers will be generated.

Any function 𝐹 fulfilling lemmas onsetreclem2 49893 and onsetreclem3 49894 will recursively generate On; for example, 𝐹 = (𝑥 ∈ V ↦ suc suc 𝑥}) also works. Whether this function or the function in the theorem is used, taking this theorem as a definition of On is unsatisfying because it relies on the different properties of limit and successor ordinals. A different approach could be to let 𝐹 = (𝑥 ∈ V ↦ {𝑦 ∈ 𝒫 𝑥 ∣ Tr 𝑦}), based on dfon2 35933.

The proof of this theorem uses the dummy variable 𝑎 rather than 𝑥 to avoid a distinct variable condition between 𝐹 and 𝑥. (Contributed by Emmett Weisz, 22-Jun-2021.)

Hypothesis
Ref Expression
onsetrec.1 𝐹 = (𝑥 ∈ V ↦ { 𝑥, suc 𝑥})
Assertion
Ref Expression
onsetrec setrecs(𝐹) = On

Proof of Theorem onsetrec
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 eqid 2734 . . . 4 setrecs(𝐹) = setrecs(𝐹)
2 onsetrec.1 . . . . . . 7 𝐹 = (𝑥 ∈ V ↦ { 𝑥, suc 𝑥})
32onsetreclem2 49893 . . . . . 6 (𝑎 ⊆ On → (𝐹𝑎) ⊆ On)
43ax-gen 1796 . . . . 5 𝑎(𝑎 ⊆ On → (𝐹𝑎) ⊆ On)
54a1i 11 . . . 4 (⊤ → ∀𝑎(𝑎 ⊆ On → (𝐹𝑎) ⊆ On))
61, 5setrec2v 49883 . . 3 (⊤ → setrecs(𝐹) ⊆ On)
76mptru 1548 . 2 setrecs(𝐹) ⊆ On
8 vex 3442 . . . . . . 7 𝑎 ∈ V
98a1i 11 . . . . . 6 (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ V)
10 id 22 . . . . . 6 (𝑎 ⊆ setrecs(𝐹) → 𝑎 ⊆ setrecs(𝐹))
111, 9, 10setrec1 49878 . . . . 5 (𝑎 ⊆ setrecs(𝐹) → (𝐹𝑎) ⊆ setrecs(𝐹))
122onsetreclem3 49894 . . . . 5 (𝑎 ∈ On → 𝑎 ∈ (𝐹𝑎))
13 ssel 3925 . . . . 5 ((𝐹𝑎) ⊆ setrecs(𝐹) → (𝑎 ∈ (𝐹𝑎) → 𝑎 ∈ setrecs(𝐹)))
1411, 12, 13syl2im 40 . . . 4 (𝑎 ⊆ setrecs(𝐹) → (𝑎 ∈ On → 𝑎 ∈ setrecs(𝐹)))
1514com12 32 . . 3 (𝑎 ∈ On → (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ setrecs(𝐹)))
1615rgen 3051 . 2 𝑎 ∈ On (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ setrecs(𝐹))
17 tfi 7793 . 2 ((setrecs(𝐹) ⊆ On ∧ ∀𝑎 ∈ On (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ setrecs(𝐹))) → setrecs(𝐹) = On)
187, 16, 17mp2an 692 1 setrecs(𝐹) = On
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1539   = wceq 1541  wtru 1542  wcel 2113  wral 3049  Vcvv 3438  wss 3899  {cpr 4580   cuni 4861  cmpt 5177  Oncon0 6315  suc csuc 6317  cfv 6490  setrecscsetrecs 49870
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-rep 5222  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-reg 9495  ax-inf2 9548
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-ral 3050  df-rex 3059  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4862  df-int 4901  df-iun 4946  df-iin 4947  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-ov 7359  df-om 7807  df-2nd 7932  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-r1 9674  df-rank 9675  df-setrecs 49871
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator