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 51207
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 51205 and onsetreclem3 51206 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 36769.

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 2763 . . . 4 setrecs(𝐹) = setrecs(𝐹)
2 onsetrec.1 . . . . . . 7 𝐹 = (𝑥 ∈ V ↦ {∪ 𝑥, suc ∪ 𝑥})
32onsetreclem2 51205 . . . . . 6 (𝑎 ⊆ On → (𝐹‘𝑎) ⊆ On)
43ax-gen 1828 . . . . 5 ∀𝑎(𝑎 ⊆ On → (𝐹‘𝑎) ⊆ On)
54a1i 11 . . . 4 (⊤ → ∀𝑎(𝑎 ⊆ On → (𝐹‘𝑎) ⊆ On))
61, 5setrec2v 10015 . . 3 (⊤ → setrecs(𝐹) ⊆ On)
76mptru 1577 . 2 setrecs(𝐹) ⊆ On
8 vex 3458 . . . . . . 7 𝑎 ∈ V
98a1i 11 . . . . . 6 (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ V)
10 id 23 . . . . . 6 (𝑎 ⊆ setrecs(𝐹) → 𝑎 ⊆ setrecs(𝐹))
111, 9, 10setrec1 10009 . . . . 5 (𝑎 ⊆ setrecs(𝐹) → (𝐹‘𝑎) ⊆ setrecs(𝐹))
122onsetreclem3 51206 . . . . 5 (𝑎 ∈ On → 𝑎 ∈ (𝐹‘𝑎))
13 ssel 3907 . . . . 5 ((𝐹‘𝑎) ⊆ setrecs(𝐹) → (𝑎 ∈ (𝐹‘𝑎) → 𝑎 ∈ setrecs(𝐹)))
1411, 12, 13syl2im 41 . . . 4 (𝑎 ⊆ setrecs(𝐹) → (𝑎 ∈ On → 𝑎 ∈ setrecs(𝐹)))
1514com12 33 . . 3 (𝑎 ∈ On → (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ setrecs(𝐹)))
1615rgen 3082 . 2 ∀𝑎 ∈ On (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ setrecs(𝐹))
17 tfi 7898 . 2 ((setrecs(𝐹) ⊆ On ∧ ∀𝑎 ∈ On (𝑎 ⊆ setrecs(𝐹) → 𝑎 ∈ setrecs(𝐹))) → setrecs(𝐹) = On)
187, 16, 17mp2an 705 1 setrecs(𝐹) = On
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4  ∀wal 1568   = wceq 1570  ⊤wtru 1571   ∈ wcel 2147  ∀wral 3080  Vcvv 3454   ⊆ wss 3900  {cpr 4590  ∪ cuni 4872   ↦ cmpt 5192  Oncon0 6388  suc csuc 6390  ‘cfv 6566  setrecscsetrecs 10001
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-reg 9623  ax-inf2 9679
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-iin 4959  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-r1 9805  df-rank 9806  df-scott 9966  df-setrecs 10002
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator