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

Theorem dfrecs3 8174
Description: The old definition of transfinite recursion. This version is preferred for development, as it demonstrates the properties of transfinite recursion without relying on well-ordered recursion. (Contributed by Scott Fenton, 3-Aug-2020.) (Proof revised by Scott Fenton, 18-Nov-2024.)
Assertion
Ref Expression
dfrecs3 recs(𝐹) = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
Distinct variable group:   𝑓,𝐹,𝑥,𝑦

Proof of Theorem dfrecs3
StepHypRef Expression
1 df-recs 8173 . 2 recs(𝐹) = wrecs( E , On, 𝐹)
2 df-wrecs 8099 . 2 wrecs( E , On, 𝐹) = frecs( E , On, (𝐹 ∘ 2nd ))
3 df-frecs 8068 . . 3 frecs( E , On, (𝐹 ∘ 2nd )) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))}
4 3anass 1093 . . . . . . . 8 ((𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑓 Fn 𝑥 ∧ ((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))))
5 vex 3426 . . . . . . . . . . . . 13 𝑥 ∈ V
65elon 6260 . . . . . . . . . . . 12 (𝑥 ∈ On ↔ Ord 𝑥)
7 ordsson 7610 . . . . . . . . . . . . . 14 (Ord 𝑥𝑥 ⊆ On)
8 ordtr 6265 . . . . . . . . . . . . . 14 (Ord 𝑥 → Tr 𝑥)
97, 8jca 511 . . . . . . . . . . . . 13 (Ord 𝑥 → (𝑥 ⊆ On ∧ Tr 𝑥))
10 epweon 7603 . . . . . . . . . . . . . . . 16 E We On
11 wess 5567 . . . . . . . . . . . . . . . 16 (𝑥 ⊆ On → ( E We On → E We 𝑥))
1210, 11mpi 20 . . . . . . . . . . . . . . 15 (𝑥 ⊆ On → E We 𝑥)
1312anim1ci 615 . . . . . . . . . . . . . 14 ((𝑥 ⊆ On ∧ Tr 𝑥) → (Tr 𝑥 ∧ E We 𝑥))
14 df-ord 6254 . . . . . . . . . . . . . 14 (Ord 𝑥 ↔ (Tr 𝑥 ∧ E We 𝑥))
1513, 14sylibr 233 . . . . . . . . . . . . 13 ((𝑥 ⊆ On ∧ Tr 𝑥) → Ord 𝑥)
169, 15impbii 208 . . . . . . . . . . . 12 (Ord 𝑥 ↔ (𝑥 ⊆ On ∧ Tr 𝑥))
17 dftr3 5191 . . . . . . . . . . . . . 14 (Tr 𝑥 ↔ ∀𝑦𝑥 𝑦𝑥)
18 ssel2 3912 . . . . . . . . . . . . . . . 16 ((𝑥 ⊆ On ∧ 𝑦𝑥) → 𝑦 ∈ On)
19 predon 7612 . . . . . . . . . . . . . . . . 17 (𝑦 ∈ On → Pred( E , On, 𝑦) = 𝑦)
2019sseq1d 3948 . . . . . . . . . . . . . . . 16 (𝑦 ∈ On → (Pred( E , On, 𝑦) ⊆ 𝑥𝑦𝑥))
2118, 20syl 17 . . . . . . . . . . . . . . 15 ((𝑥 ⊆ On ∧ 𝑦𝑥) → (Pred( E , On, 𝑦) ⊆ 𝑥𝑦𝑥))
2221ralbidva 3119 . . . . . . . . . . . . . 14 (𝑥 ⊆ On → (∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥 ↔ ∀𝑦𝑥 𝑦𝑥))
2317, 22bitr4id 289 . . . . . . . . . . . . 13 (𝑥 ⊆ On → (Tr 𝑥 ↔ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥))
2423pm5.32i 574 . . . . . . . . . . . 12 ((𝑥 ⊆ On ∧ Tr 𝑥) ↔ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥))
256, 16, 243bitri 296 . . . . . . . . . . 11 (𝑥 ∈ On ↔ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥))
2625anbi1i 623 . . . . . . . . . 10 ((𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ ((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))))
27 onelon 6276 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ On ∧ 𝑦𝑥) → 𝑦 ∈ On)
2827, 19syl 17 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ On ∧ 𝑦𝑥) → Pred( E , On, 𝑦) = 𝑦)
2928reseq2d 5880 . . . . . . . . . . . . . . 15 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑓 ↾ Pred( E , On, 𝑦)) = (𝑓𝑦))
3029oveq2d 7271 . . . . . . . . . . . . . 14 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) = (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)))
31 id 22 . . . . . . . . . . . . . . . 16 (𝑦𝑥𝑦𝑥)
32 vex 3426 . . . . . . . . . . . . . . . . . 18 𝑓 ∈ V
3332resex 5928 . . . . . . . . . . . . . . . . 17 (𝑓𝑦) ∈ V
3433a1i 11 . . . . . . . . . . . . . . . 16 (𝑦𝑥 → (𝑓𝑦) ∈ V)
3531, 34opco2 7936 . . . . . . . . . . . . . . 15 (𝑦𝑥 → (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)) = (𝐹‘(𝑓𝑦)))
3635adantl 481 . . . . . . . . . . . . . 14 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)) = (𝐹‘(𝑓𝑦)))
3730, 36eqtrd 2778 . . . . . . . . . . . . 13 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) = (𝐹‘(𝑓𝑦)))
3837eqeq2d 2749 . . . . . . . . . . . 12 ((𝑥 ∈ On ∧ 𝑦𝑥) → ((𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) ↔ (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
3938ralbidva 3119 . . . . . . . . . . 11 (𝑥 ∈ On → (∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) ↔ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4039pm5.32i 574 . . . . . . . . . 10 ((𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4126, 40bitr3i 276 . . . . . . . . 9 (((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4241anbi2i 622 . . . . . . . 8 ((𝑓 Fn 𝑥 ∧ ((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))) ↔ (𝑓 Fn 𝑥 ∧ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
43 an12 641 . . . . . . . 8 ((𝑓 Fn 𝑥 ∧ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))) ↔ (𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
444, 42, 433bitri 296 . . . . . . 7 ((𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
4544exbii 1851 . . . . . 6 (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ ∃𝑥(𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
46 df-rex 3069 . . . . . 6 (∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))) ↔ ∃𝑥(𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
4745, 46bitr4i 277 . . . . 5 (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4847abbii 2809 . . . 4 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))} = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
4948unieqi 4849 . . 3 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))} = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
503, 49eqtri 2766 . 2 frecs( E , On, (𝐹 ∘ 2nd )) = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
511, 2, 503eqtri 2770 1 recs(𝐹) = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  w3a 1085   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wral 3063  wrex 3064  Vcvv 3422  wss 3883   cuni 4836  Tr wtr 5187   E cep 5485   We wwe 5534  cres 5582  ccom 5584  Predcpred 6190  Ord word 6250  Oncon0 6251   Fn wfn 6413  cfv 6418  (class class class)co 7255  2nd c2nd 7803  frecscfrecs 8067  wrecscwrecs 8098  recscrecs 8172
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-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-rab 3072  df-v 3424  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-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-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426  df-ov 7258  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173
This theorem is referenced by:  recsfval  8183  tfrlem9  8187  dfrdg2  33677  dfrecs2  34179
  Copyright terms: Public domain W3C validator