ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  frecrdg GIF version

Theorem frecrdg 6385
Description: Transfinite recursion restricted to omega.

Given a suitable characteristic function, df-frec 6368 produces the same results as df-irdg 6347 restricted to ω.

Presumably the theorem would also hold if 𝐹 Fn V were changed to 𝑧(𝐹𝑧) ∈ V. (Contributed by Jim Kingdon, 29-Aug-2019.)

Hypotheses
Ref Expression
frecrdg.1 (𝜑𝐹 Fn V)
frecrdg.2 (𝜑𝐴𝑉)
frecrdg.inc (𝜑 → ∀𝑥 𝑥 ⊆ (𝐹𝑥))
Assertion
Ref Expression
frecrdg (𝜑 → frec(𝐹, 𝐴) = (rec(𝐹, 𝐴) ↾ ω))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝑥,𝑉   𝜑,𝑥

Proof of Theorem frecrdg
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frecrdg.1 . . . 4 (𝜑𝐹 Fn V)
2 vex 2733 . . . . . 6 𝑧 ∈ V
3 funfvex 5511 . . . . . . 7 ((Fun 𝐹𝑧 ∈ dom 𝐹) → (𝐹𝑧) ∈ V)
43funfni 5296 . . . . . 6 ((𝐹 Fn V ∧ 𝑧 ∈ V) → (𝐹𝑧) ∈ V)
52, 4mpan2 423 . . . . 5 (𝐹 Fn V → (𝐹𝑧) ∈ V)
65alrimiv 1867 . . . 4 (𝐹 Fn V → ∀𝑧(𝐹𝑧) ∈ V)
71, 6syl 14 . . 3 (𝜑 → ∀𝑧(𝐹𝑧) ∈ V)
8 frecrdg.2 . . 3 (𝜑𝐴𝑉)
9 frecfnom 6378 . . 3 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉) → frec(𝐹, 𝐴) Fn ω)
107, 8, 9syl2anc 409 . 2 (𝜑 → frec(𝐹, 𝐴) Fn ω)
11 rdgifnon2 6357 . . . 4 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉) → rec(𝐹, 𝐴) Fn On)
127, 8, 11syl2anc 409 . . 3 (𝜑 → rec(𝐹, 𝐴) Fn On)
13 omsson 4595 . . 3 ω ⊆ On
14 fnssres 5309 . . 3 ((rec(𝐹, 𝐴) Fn On ∧ ω ⊆ On) → (rec(𝐹, 𝐴) ↾ ω) Fn ω)
1512, 13, 14sylancl 411 . 2 (𝜑 → (rec(𝐹, 𝐴) ↾ ω) Fn ω)
16 fveq2 5494 . . . . 5 (𝑥 = ∅ → (frec(𝐹, 𝐴)‘𝑥) = (frec(𝐹, 𝐴)‘∅))
17 fveq2 5494 . . . . 5 (𝑥 = ∅ → ((rec(𝐹, 𝐴) ↾ ω)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘∅))
1816, 17eqeq12d 2185 . . . 4 (𝑥 = ∅ → ((frec(𝐹, 𝐴)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑥) ↔ (frec(𝐹, 𝐴)‘∅) = ((rec(𝐹, 𝐴) ↾ ω)‘∅)))
19 fveq2 5494 . . . . 5 (𝑥 = 𝑦 → (frec(𝐹, 𝐴)‘𝑥) = (frec(𝐹, 𝐴)‘𝑦))
20 fveq2 5494 . . . . 5 (𝑥 = 𝑦 → ((rec(𝐹, 𝐴) ↾ ω)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦))
2119, 20eqeq12d 2185 . . . 4 (𝑥 = 𝑦 → ((frec(𝐹, 𝐴)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑥) ↔ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)))
22 fveq2 5494 . . . . 5 (𝑥 = suc 𝑦 → (frec(𝐹, 𝐴)‘𝑥) = (frec(𝐹, 𝐴)‘suc 𝑦))
23 fveq2 5494 . . . . 5 (𝑥 = suc 𝑦 → ((rec(𝐹, 𝐴) ↾ ω)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦))
2422, 23eqeq12d 2185 . . . 4 (𝑥 = suc 𝑦 → ((frec(𝐹, 𝐴)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑥) ↔ (frec(𝐹, 𝐴)‘suc 𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦)))
25 frec0g 6374 . . . . . 6 (𝐴𝑉 → (frec(𝐹, 𝐴)‘∅) = 𝐴)
268, 25syl 14 . . . . 5 (𝜑 → (frec(𝐹, 𝐴)‘∅) = 𝐴)
27 peano1 4576 . . . . . . 7 ∅ ∈ ω
28 fvres 5518 . . . . . . 7 (∅ ∈ ω → ((rec(𝐹, 𝐴) ↾ ω)‘∅) = (rec(𝐹, 𝐴)‘∅))
2927, 28ax-mp 5 . . . . . 6 ((rec(𝐹, 𝐴) ↾ ω)‘∅) = (rec(𝐹, 𝐴)‘∅)
30 rdg0g 6365 . . . . . . 7 (𝐴𝑉 → (rec(𝐹, 𝐴)‘∅) = 𝐴)
318, 30syl 14 . . . . . 6 (𝜑 → (rec(𝐹, 𝐴)‘∅) = 𝐴)
3229, 31eqtrid 2215 . . . . 5 (𝜑 → ((rec(𝐹, 𝐴) ↾ ω)‘∅) = 𝐴)
3326, 32eqtr4d 2206 . . . 4 (𝜑 → (frec(𝐹, 𝐴)‘∅) = ((rec(𝐹, 𝐴) ↾ ω)‘∅))
34 simpr 109 . . . . . . . . . 10 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦))
35 fvres 5518 . . . . . . . . . . 11 (𝑦 ∈ ω → ((rec(𝐹, 𝐴) ↾ ω)‘𝑦) = (rec(𝐹, 𝐴)‘𝑦))
3635ad2antlr 486 . . . . . . . . . 10 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → ((rec(𝐹, 𝐴) ↾ ω)‘𝑦) = (rec(𝐹, 𝐴)‘𝑦))
3734, 36eqtrd 2203 . . . . . . . . 9 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (frec(𝐹, 𝐴)‘𝑦) = (rec(𝐹, 𝐴)‘𝑦))
3837fveq2d 5498 . . . . . . . 8 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (𝐹‘(frec(𝐹, 𝐴)‘𝑦)) = (𝐹‘(rec(𝐹, 𝐴)‘𝑦)))
397, 8jca 304 . . . . . . . . . 10 (𝜑 → (∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉))
40 simp1 992 . . . . . . . . . . . . 13 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉𝑦 ∈ ω) → ∀𝑧(𝐹𝑧) ∈ V)
41 ralv 2747 . . . . . . . . . . . . 13 (∀𝑧 ∈ V (𝐹𝑧) ∈ V ↔ ∀𝑧(𝐹𝑧) ∈ V)
4240, 41sylibr 133 . . . . . . . . . . . 12 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉𝑦 ∈ ω) → ∀𝑧 ∈ V (𝐹𝑧) ∈ V)
43 simp2 993 . . . . . . . . . . . . 13 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉𝑦 ∈ ω) → 𝐴𝑉)
4443elexd 2743 . . . . . . . . . . . 12 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉𝑦 ∈ ω) → 𝐴 ∈ V)
45 simp3 994 . . . . . . . . . . . 12 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉𝑦 ∈ ω) → 𝑦 ∈ ω)
46 frecsuc 6384 . . . . . . . . . . . 12 ((∀𝑧 ∈ V (𝐹𝑧) ∈ V ∧ 𝐴 ∈ V ∧ 𝑦 ∈ ω) → (frec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(frec(𝐹, 𝐴)‘𝑦)))
4742, 44, 45, 46syl3anc 1233 . . . . . . . . . . 11 ((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉𝑦 ∈ ω) → (frec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(frec(𝐹, 𝐴)‘𝑦)))
48473expa 1198 . . . . . . . . . 10 (((∀𝑧(𝐹𝑧) ∈ V ∧ 𝐴𝑉) ∧ 𝑦 ∈ ω) → (frec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(frec(𝐹, 𝐴)‘𝑦)))
4939, 48sylan 281 . . . . . . . . 9 ((𝜑𝑦 ∈ ω) → (frec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(frec(𝐹, 𝐴)‘𝑦)))
5049adantr 274 . . . . . . . 8 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (frec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(frec(𝐹, 𝐴)‘𝑦)))
511adantr 274 . . . . . . . . . 10 ((𝜑𝑦 ∈ ω) → 𝐹 Fn V)
528adantr 274 . . . . . . . . . 10 ((𝜑𝑦 ∈ ω) → 𝐴𝑉)
53 simpr 109 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ω) → 𝑦 ∈ ω)
54 nnon 4592 . . . . . . . . . . 11 (𝑦 ∈ ω → 𝑦 ∈ On)
5553, 54syl 14 . . . . . . . . . 10 ((𝜑𝑦 ∈ ω) → 𝑦 ∈ On)
56 frecrdg.inc . . . . . . . . . . 11 (𝜑 → ∀𝑥 𝑥 ⊆ (𝐹𝑥))
5756adantr 274 . . . . . . . . . 10 ((𝜑𝑦 ∈ ω) → ∀𝑥 𝑥 ⊆ (𝐹𝑥))
5851, 52, 55, 57rdgisucinc 6362 . . . . . . . . 9 ((𝜑𝑦 ∈ ω) → (rec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(rec(𝐹, 𝐴)‘𝑦)))
5958adantr 274 . . . . . . . 8 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (rec(𝐹, 𝐴)‘suc 𝑦) = (𝐹‘(rec(𝐹, 𝐴)‘𝑦)))
6038, 50, 593eqtr4d 2213 . . . . . . 7 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (frec(𝐹, 𝐴)‘suc 𝑦) = (rec(𝐹, 𝐴)‘suc 𝑦))
61 peano2 4577 . . . . . . . . 9 (𝑦 ∈ ω → suc 𝑦 ∈ ω)
62 fvres 5518 . . . . . . . . 9 (suc 𝑦 ∈ ω → ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦) = (rec(𝐹, 𝐴)‘suc 𝑦))
6361, 62syl 14 . . . . . . . 8 (𝑦 ∈ ω → ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦) = (rec(𝐹, 𝐴)‘suc 𝑦))
6463ad2antlr 486 . . . . . . 7 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦) = (rec(𝐹, 𝐴)‘suc 𝑦))
6560, 64eqtr4d 2206 . . . . . 6 (((𝜑𝑦 ∈ ω) ∧ (frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦)) → (frec(𝐹, 𝐴)‘suc 𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦))
6665ex 114 . . . . 5 ((𝜑𝑦 ∈ ω) → ((frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦) → (frec(𝐹, 𝐴)‘suc 𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦)))
6766expcom 115 . . . 4 (𝑦 ∈ ω → (𝜑 → ((frec(𝐹, 𝐴)‘𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑦) → (frec(𝐹, 𝐴)‘suc 𝑦) = ((rec(𝐹, 𝐴) ↾ ω)‘suc 𝑦))))
6818, 21, 24, 33, 67finds2 4583 . . 3 (𝑥 ∈ ω → (𝜑 → (frec(𝐹, 𝐴)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑥)))
6968impcom 124 . 2 ((𝜑𝑥 ∈ ω) → (frec(𝐹, 𝐴)‘𝑥) = ((rec(𝐹, 𝐴) ↾ ω)‘𝑥))
7010, 15, 69eqfnfvd 5594 1 (𝜑 → frec(𝐹, 𝐴) = (rec(𝐹, 𝐴) ↾ ω))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 973  wal 1346   = wceq 1348  wcel 2141  wral 2448  Vcvv 2730  wss 3121  c0 3414  Oncon0 4346  suc csuc 4348  ωcom 4572  cres 4611   Fn wfn 5191  cfv 5196  reccrdg 6346  freccfrec 6367
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4102  ax-sep 4105  ax-nul 4113  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-iinf 4570
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-iun 3873  df-br 3988  df-opab 4049  df-mpt 4050  df-tr 4086  df-id 4276  df-iord 4349  df-on 4351  df-ilim 4352  df-suc 4354  df-iom 4573  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-recs 6282  df-irdg 6347  df-frec 6368
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator