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

Theorem dfrecs3 8192
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 8191 . 2 recs(𝐹) = wrecs( E , On, 𝐹)
2 df-wrecs 8117 . 2 wrecs( E , On, 𝐹) = frecs( E , On, (𝐹 ∘ 2nd ))
3 df-frecs 8086 . . 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 3435 . . . . . . . . . . . . 13 𝑥 ∈ V
65elon 6270 . . . . . . . . . . . 12 (𝑥 ∈ On ↔ Ord 𝑥)
7 ordsson 7625 . . . . . . . . . . . . . 14 (Ord 𝑥𝑥 ⊆ On)
8 ordtr 6275 . . . . . . . . . . . . . 14 (Ord 𝑥 → Tr 𝑥)
97, 8jca 512 . . . . . . . . . . . . 13 (Ord 𝑥 → (𝑥 ⊆ On ∧ Tr 𝑥))
10 epweon 7617 . . . . . . . . . . . . . . . 16 E We On
11 wess 5573 . . . . . . . . . . . . . . . 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 6264 . . . . . . . . . . . . . 14 (Ord 𝑥 ↔ (Tr 𝑥 ∧ E We 𝑥))
1513, 14sylibr 233 . . . . . . . . . . . . 13 ((𝑥 ⊆ On ∧ Tr 𝑥) → Ord 𝑥)
169, 15impbii 208 . . . . . . . . . . . 12 (Ord 𝑥 ↔ (𝑥 ⊆ On ∧ Tr 𝑥))
17 dftr3 5196 . . . . . . . . . . . . . 14 (Tr 𝑥 ↔ ∀𝑦𝑥 𝑦𝑥)
18 ssel2 3917 . . . . . . . . . . . . . . . 16 ((𝑥 ⊆ On ∧ 𝑦𝑥) → 𝑦 ∈ On)
19 predon 7627 . . . . . . . . . . . . . . . . 17 (𝑦 ∈ On → Pred( E , On, 𝑦) = 𝑦)
2019sseq1d 3953 . . . . . . . . . . . . . . . 16 (𝑦 ∈ On → (Pred( E , On, 𝑦) ⊆ 𝑥𝑦𝑥))
2118, 20syl 17 . . . . . . . . . . . . . . 15 ((𝑥 ⊆ On ∧ 𝑦𝑥) → (Pred( E , On, 𝑦) ⊆ 𝑥𝑦𝑥))
2221ralbidva 3117 . . . . . . . . . . . . . 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 6286 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ On ∧ 𝑦𝑥) → 𝑦 ∈ On)
2827, 19syl 17 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ On ∧ 𝑦𝑥) → Pred( E , On, 𝑦) = 𝑦)
2928reseq2d 5886 . . . . . . . . . . . . . . 15 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑓 ↾ Pred( E , On, 𝑦)) = (𝑓𝑦))
3029oveq2d 7285 . . . . . . . . . . . . . 14 ((𝑥 ∈ On ∧ 𝑦𝑥) → (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred( E , On, 𝑦))) = (𝑦(𝐹 ∘ 2nd )(𝑓𝑦)))
31 id 22 . . . . . . . . . . . . . . . 16 (𝑦𝑥𝑦𝑥)
32 vex 3435 . . . . . . . . . . . . . . . . . 18 𝑓 ∈ V
3332resex 5934 . . . . . . . . . . . . . . . . 17 (𝑓𝑦) ∈ V
3433a1i 11 . . . . . . . . . . . . . . . 16 (𝑦𝑥 → (𝑓𝑦) ∈ V)
3531, 34opco2 7954 . . . . . . . . . . . . . . 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 3117 . . . . . . . . . . 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 4854 . . 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 3431  wss 3888   cuni 4841  Tr wtr 5192   E cep 5491   We wwe 5540  cres 5588  ccom 5590  Predcpred 6196  Ord word 6260  Oncon0 6261   Fn wfn 6423  cfv 6428  (class class class)co 7269  2nd c2nd 7821  frecscfrecs 8085  wrecscwrecs 8116  recscrecs 8190
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 7580
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 3433  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4259  df-if 4462  df-pw 4537  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4842  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5486  df-eprel 5492  df-po 5500  df-so 5501  df-fr 5541  df-we 5543  df-xp 5592  df-rel 5593  df-cnv 5594  df-co 5595  df-dm 5596  df-rn 5597  df-res 5598  df-ima 5599  df-pred 6197  df-ord 6264  df-on 6265  df-iota 6386  df-fun 6430  df-fn 6431  df-f 6432  df-fo 6434  df-fv 6436  df-ov 7272  df-2nd 7823  df-frecs 8086  df-wrecs 8117  df-recs 8191
This theorem is referenced by:  recsfval  8201  tfrlem9  8205  dfrdg2  33758  dfrecs2  34239
  Copyright terms: Public domain W3C validator