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

Theorem dfrecs3 8203
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 8202 . 2 recs(𝐹) = wrecs( E , On, 𝐹)
2 df-wrecs 8128 . 2 wrecs( E , On, 𝐹) = frecs( E , On, (𝐹 ∘ 2nd ))
3 df-frecs 8097 . . 3 frecs( E , On, (𝐹 ∘ 2nd )) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))}
4 3anass 1094 . . . . . . . 8 ((𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑓 Fn 𝑥 ∧ ((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))))
5 vex 3436 . . . . . . . . . . . . 13 𝑥 ∈ V
65elon 6275 . . . . . . . . . . . 12 (𝑥 ∈ On ↔ Ord 𝑥)
7 ordsson 7633 . . . . . . . . . . . . . 14 (Ord 𝑥𝑥 ⊆ On)
8 ordtr 6280 . . . . . . . . . . . . . 14 (Ord 𝑥 → Tr 𝑥)
97, 8jca 512 . . . . . . . . . . . . 13 (Ord 𝑥 → (𝑥 ⊆ On ∧ Tr 𝑥))
10 epweon 7625 . . . . . . . . . . . . . . . 16 E We On
11 wess 5576 . . . . . . . . . . . . . . . 16 (𝑥 ⊆ On → ( E We On → E We 𝑥))
1210, 11mpi 20 . . . . . . . . . . . . . . 15 (𝑥 ⊆ On → E We 𝑥)
1312anim1ci 616 . . . . . . . . . . . . . 14 ((𝑥 ⊆ On ∧ Tr 𝑥) → (Tr 𝑥 ∧ E We 𝑥))
14 df-ord 6269 . . . . . . . . . . . . . 14 (Ord 𝑥 ↔ (Tr 𝑥 ∧ E We 𝑥))
1513, 14sylibr 233 . . . . . . . . . . . . 13 ((𝑥 ⊆ On ∧ Tr 𝑥) → Ord 𝑥)
169, 15impbii 208 . . . . . . . . . . . 12 (Ord 𝑥 ↔ (𝑥 ⊆ On ∧ Tr 𝑥))
17 dftr3 5195 . . . . . . . . . . . . . 14 (Tr 𝑥 ↔ ∀𝑦𝑥 𝑦𝑥)
18 ssel2 3916 . . . . . . . . . . . . . . . 16 ((𝑥 ⊆ On ∧ 𝑦𝑥) → 𝑦 ∈ On)
19 predon 7635 . . . . . . . . . . . . . . . . 17 (𝑦 ∈ On → Pred( E , On, 𝑦) = 𝑦)
2019sseq1d 3952 . . . . . . . . . . . . . . . 16 (𝑦 ∈ On → (Pred( E , On, 𝑦) ⊆ 𝑥𝑦𝑥))
2118, 20syl 17 . . . . . . . . . . . . . . 15 ((𝑥 ⊆ On ∧ 𝑦𝑥) → (Pred( E , On, 𝑦) ⊆ 𝑥𝑦𝑥))
2221ralbidva 3111 . . . . . . . . . . . . . 14 (𝑥 ⊆ On → (∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥 ↔ ∀𝑦𝑥 𝑦𝑥))
2317, 22bitr4id 290 . . . . . . . . . . . . 13 (𝑥 ⊆ On → (Tr 𝑥 ↔ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥))
2423pm5.32i 575 . . . . . . . . . . . 12 ((𝑥 ⊆ On ∧ Tr 𝑥) ↔ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥))
256, 16, 243bitri 297 . . . . . . . . . . 11 (𝑥 ∈ On ↔ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥))
2625anbi1i 624 . . . . . . . . . 10 ((𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ ((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))))
27 onelon 6291 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ On ∧ 𝑦𝑥) → 𝑦 ∈ On)
2827, 19syl 17 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ On ∧ 𝑦𝑥) → Pred( E , On, 𝑦) = 𝑦)
2928reseq2d 5891 . . . . . . . . . . . . . . 15 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑓 ↾ Pred( E , On, 𝑦)) = (𝑓𝑦))
3029oveq2d 7291 . . . . . . . . . . . . . 14 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) = (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)))
31 id 22 . . . . . . . . . . . . . . . 16 (𝑦𝑥𝑦𝑥)
32 vex 3436 . . . . . . . . . . . . . . . . . 18 𝑓 ∈ V
3332resex 5939 . . . . . . . . . . . . . . . . 17 (𝑓𝑦) ∈ V
3433a1i 11 . . . . . . . . . . . . . . . 16 (𝑦𝑥 → (𝑓𝑦) ∈ V)
3531, 34opco2 7965 . . . . . . . . . . . . . . 15 (𝑦𝑥 → (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)) = (𝐹‘(𝑓𝑦)))
3635adantl 482 . . . . . . . . . . . . . 14 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)) = (𝐹‘(𝑓𝑦)))
3730, 36eqtrd 2778 . . . . . . . . . . . . 13 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) = (𝐹‘(𝑓𝑦)))
3837eqeq2d 2749 . . . . . . . . . . . 12 ((𝑥 ∈ On ∧ 𝑦𝑥) → ((𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) ↔ (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
3938ralbidva 3111 . . . . . . . . . . 11 (𝑥 ∈ On → (∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) ↔ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4039pm5.32i 575 . . . . . . . . . 10 ((𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4126, 40bitr3i 276 . . . . . . . . 9 (((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4241anbi2i 623 . . . . . . . 8 ((𝑓 Fn 𝑥 ∧ ((𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))) ↔ (𝑓 Fn 𝑥 ∧ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
43 an12 642 . . . . . . . 8 ((𝑓 Fn 𝑥 ∧ (𝑥 ∈ On ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))) ↔ (𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
444, 42, 433bitri 297 . . . . . . 7 ((𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ (𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
4544exbii 1850 . . . . . 6 (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ ∃𝑥(𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
46 df-rex 3070 . . . . . 6 (∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))) ↔ ∃𝑥(𝑥 ∈ On ∧ (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))))
4745, 46bitr4i 277 . . . . 5 (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦)))) ↔ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))))
4847abbii 2808 . . . 4 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥 ⊆ On ∧ ∀𝑦𝑥 Pred( E , On, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))))} = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
4948unieqi 4852 . . 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 396  w3a 1086   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wral 3064  wrex 3065  Vcvv 3432  wss 3887   cuni 4839  Tr wtr 5191   E cep 5494   We wwe 5543  cres 5591  ccom 5593  Predcpred 6201  Ord word 6265  Oncon0 6266   Fn wfn 6428  cfv 6433  (class class class)co 7275  2nd c2nd 7830  frecscfrecs 8096  wrecscwrecs 8127  recscrecs 8201
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441  df-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202
This theorem is referenced by:  recsfval  8212  tfrlem9  8216  dfrdg2  33771  dfrecs2  34252
  Copyright terms: Public domain W3C validator