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

Theorem seq3val 10357
Description: Value of the sequence builder function. This helps expand the definition although there should be little need for it once we have proved seqf 10360, seq3-1 10359 and seq3p1 10361, as further development can be done in terms of those. (Contributed by Mario Carneiro, 24-Jun-2013.) (Revised by Jim Kingdon, 4-Nov-2022.)
Hypotheses
Ref Expression
seq3val.m (𝜑𝑀 ∈ ℤ)
seq3val.r 𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)
seq3val.f ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)
seq3val.pl ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
Assertion
Ref Expression
seq3val (𝜑 → seq𝑀( + , 𝐹) = ran 𝑅)
Distinct variable groups:   𝑥, + ,𝑦,𝑤,𝑧   𝑥,𝐹,𝑦,𝑤,𝑧   𝑥,𝑀,𝑦,𝑤,𝑧   𝑥,𝑅,𝑦,𝑤,𝑧   𝑥,𝑆,𝑦,𝑤,𝑧   𝜑,𝑥,𝑦,𝑤,𝑧

Proof of Theorem seq3val
Dummy variables 𝑎 𝑏 𝑘 𝑐 𝑛 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-seqfrec 10345 . 2 seq𝑀( + , 𝐹) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
2 seq3val.m . . . . . 6 (𝜑𝑀 ∈ ℤ)
3 fveq2 5468 . . . . . . . 8 (𝑥 = 𝑀 → (𝐹𝑥) = (𝐹𝑀))
43eleq1d 2226 . . . . . . 7 (𝑥 = 𝑀 → ((𝐹𝑥) ∈ 𝑆 ↔ (𝐹𝑀) ∈ 𝑆))
5 seq3val.f . . . . . . . 8 ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)
65ralrimiva 2530 . . . . . . 7 (𝜑 → ∀𝑥 ∈ (ℤ𝑀)(𝐹𝑥) ∈ 𝑆)
7 uzid 9453 . . . . . . . 8 (𝑀 ∈ ℤ → 𝑀 ∈ (ℤ𝑀))
82, 7syl 14 . . . . . . 7 (𝜑𝑀 ∈ (ℤ𝑀))
94, 6, 8rspcdva 2821 . . . . . 6 (𝜑 → (𝐹𝑀) ∈ 𝑆)
10 ssv 3150 . . . . . . 7 𝑆 ⊆ V
1110a1i 9 . . . . . 6 (𝜑𝑆 ⊆ V)
12 seq3val.pl . . . . . . 7 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
135, 12iseqovex 10355 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) ∈ 𝑆)
14 seq3val.r . . . . . 6 𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)
152, 9, 11, 13, 14frecuzrdgrclt 10314 . . . . 5 (𝜑𝑅:ω⟶((ℤ𝑀) × 𝑆))
16 ffn 5319 . . . . 5 (𝑅:ω⟶((ℤ𝑀) × 𝑆) → 𝑅 Fn ω)
1715, 16syl 14 . . . 4 (𝜑𝑅 Fn ω)
18 1st2nd2 6123 . . . . . . . . . . . 12 (𝑢 ∈ ((ℤ𝑀) × 𝑆) → 𝑢 = ⟨(1st𝑢), (2nd𝑢)⟩)
1918adantl 275 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → 𝑢 = ⟨(1st𝑢), (2nd𝑢)⟩)
2019fveq2d 5472 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st𝑢), (2nd𝑢)⟩))
21 df-ov 5827 . . . . . . . . . 10 ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st𝑢), (2nd𝑢)⟩)
2220, 21eqtr4di 2208 . . . . . . . . 9 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) = ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)))
23 xp1st 6113 . . . . . . . . . . 11 (𝑢 ∈ ((ℤ𝑀) × 𝑆) → (1st𝑢) ∈ (ℤ𝑀))
2423adantl 275 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (1st𝑢) ∈ (ℤ𝑀))
25 xp2nd 6114 . . . . . . . . . . . 12 (𝑢 ∈ ((ℤ𝑀) × 𝑆) → (2nd𝑢) ∈ 𝑆)
2625adantl 275 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (2nd𝑢) ∈ 𝑆)
2726elexd 2725 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (2nd𝑢) ∈ V)
28 peano2uz 9494 . . . . . . . . . . . 12 ((1st𝑢) ∈ (ℤ𝑀) → ((1st𝑢) + 1) ∈ (ℤ𝑀))
2924, 28syl 14 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢) + 1) ∈ (ℤ𝑀))
3012caovclg 5973 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
3130adantlr 469 . . . . . . . . . . . 12 (((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
32 fveq2 5468 . . . . . . . . . . . . . 14 (𝑥 = ((1st𝑢) + 1) → (𝐹𝑥) = (𝐹‘((1st𝑢) + 1)))
3332eleq1d 2226 . . . . . . . . . . . . 13 (𝑥 = ((1st𝑢) + 1) → ((𝐹𝑥) ∈ 𝑆 ↔ (𝐹‘((1st𝑢) + 1)) ∈ 𝑆))
346adantr 274 . . . . . . . . . . . . 13 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ∀𝑥 ∈ (ℤ𝑀)(𝐹𝑥) ∈ 𝑆)
3533, 34, 29rspcdva 2821 . . . . . . . . . . . 12 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (𝐹‘((1st𝑢) + 1)) ∈ 𝑆)
3631, 26, 35caovcld 5974 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))) ∈ 𝑆)
37 opelxpi 4618 . . . . . . . . . . 11 ((((1st𝑢) + 1) ∈ (ℤ𝑀) ∧ ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))) ∈ 𝑆) → ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆))
3829, 36, 37syl2anc 409 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆))
39 oveq1 5831 . . . . . . . . . . . 12 (𝑥 = (1st𝑢) → (𝑥 + 1) = ((1st𝑢) + 1))
40 fvoveq1 5847 . . . . . . . . . . . . 13 (𝑥 = (1st𝑢) → (𝐹‘(𝑥 + 1)) = (𝐹‘((1st𝑢) + 1)))
4140oveq2d 5840 . . . . . . . . . . . 12 (𝑥 = (1st𝑢) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐹‘((1st𝑢) + 1))))
4239, 41opeq12d 3749 . . . . . . . . . . 11 (𝑥 = (1st𝑢) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨((1st𝑢) + 1), (𝑦 + (𝐹‘((1st𝑢) + 1)))⟩)
43 oveq1 5831 . . . . . . . . . . . 12 (𝑦 = (2nd𝑢) → (𝑦 + (𝐹‘((1st𝑢) + 1))) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
4443opeq2d 3748 . . . . . . . . . . 11 (𝑦 = (2nd𝑢) → ⟨((1st𝑢) + 1), (𝑦 + (𝐹‘((1st𝑢) + 1)))⟩ = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
45 eqid 2157 . . . . . . . . . . 11 (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)
4642, 44, 45ovmpog 5955 . . . . . . . . . 10 (((1st𝑢) ∈ (ℤ𝑀) ∧ (2nd𝑢) ∈ V ∧ ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
4724, 27, 38, 46syl3anc 1220 . . . . . . . . 9 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
4822, 47eqtrd 2190 . . . . . . . 8 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
4948, 38eqeltrd 2234 . . . . . . 7 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
5049ralrimiva 2530 . . . . . 6 (𝜑 → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
51 opelxpi 4618 . . . . . . 7 ((𝑀 ∈ (ℤ𝑀) ∧ (𝐹𝑀) ∈ 𝑆) → ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆))
528, 9, 51syl2anc 409 . . . . . 6 (𝜑 → ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆))
5350, 52jca 304 . . . . 5 (𝜑 → (∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆)))
54 frecfcl 6352 . . . . 5 ((∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆)) → frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩):ω⟶((ℤ𝑀) × 𝑆))
55 ffn 5319 . . . . 5 (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩):ω⟶((ℤ𝑀) × 𝑆) → frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) Fn ω)
5653, 54, 553syl 17 . . . 4 (𝜑 → frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) Fn ω)
57 fveq2 5468 . . . . . . . 8 (𝑐 = ∅ → (𝑅𝑐) = (𝑅‘∅))
58 fveq2 5468 . . . . . . . 8 (𝑐 = ∅ → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅))
5957, 58eqeq12d 2172 . . . . . . 7 (𝑐 = ∅ → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅)))
6059imbi2d 229 . . . . . 6 (𝑐 = ∅ → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅))))
61 fveq2 5468 . . . . . . . 8 (𝑐 = 𝑘 → (𝑅𝑐) = (𝑅𝑘))
62 fveq2 5468 . . . . . . . 8 (𝑐 = 𝑘 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))
6361, 62eqeq12d 2172 . . . . . . 7 (𝑐 = 𝑘 → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
6463imbi2d 229 . . . . . 6 (𝑐 = 𝑘 → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))))
65 fveq2 5468 . . . . . . . 8 (𝑐 = suc 𝑘 → (𝑅𝑐) = (𝑅‘suc 𝑘))
66 fveq2 5468 . . . . . . . 8 (𝑐 = suc 𝑘 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘))
6765, 66eqeq12d 2172 . . . . . . 7 (𝑐 = suc 𝑘 → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘)))
6867imbi2d 229 . . . . . 6 (𝑐 = suc 𝑘 → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘))))
69 fveq2 5468 . . . . . . . 8 (𝑐 = 𝑛 → (𝑅𝑐) = (𝑅𝑛))
70 fveq2 5468 . . . . . . . 8 (𝑐 = 𝑛 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛))
7169, 70eqeq12d 2172 . . . . . . 7 (𝑐 = 𝑛 → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛)))
7271imbi2d 229 . . . . . 6 (𝑐 = 𝑛 → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛))))
7314fveq1i 5469 . . . . . . . 8 (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅)
74 frec0g 6344 . . . . . . . . 9 (⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7552, 74syl 14 . . . . . . . 8 (𝜑 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7673, 75syl5eq 2202 . . . . . . 7 (𝜑 → (𝑅‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
77 frec0g 6344 . . . . . . . 8 (⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7852, 77syl 14 . . . . . . 7 (𝜑 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7976, 78eqtr4d 2193 . . . . . 6 (𝜑 → (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅))
8015ad2antlr 481 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → 𝑅:ω⟶((ℤ𝑀) × 𝑆))
81 simpll 519 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → 𝑘 ∈ ω)
8280, 81ffvelrnd 5603 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆))
83 xp1st 6113 . . . . . . . . . . 11 ((𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆) → (1st ‘(𝑅𝑘)) ∈ (ℤ𝑀))
8482, 83syl 14 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (1st ‘(𝑅𝑘)) ∈ (ℤ𝑀))
85 xp2nd 6114 . . . . . . . . . . . 12 ((𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆) → (2nd ‘(𝑅𝑘)) ∈ 𝑆)
8682, 85syl 14 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (2nd ‘(𝑅𝑘)) ∈ 𝑆)
8786elexd 2725 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (2nd ‘(𝑅𝑘)) ∈ V)
8830adantll 468 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
8988adantlr 469 . . . . . . . . . . . . . 14 ((((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
90 fveq2 5468 . . . . . . . . . . . . . . . 16 (𝑎 = ((1st ‘(𝑅𝑘)) + 1) → (𝐹𝑎) = (𝐹‘((1st ‘(𝑅𝑘)) + 1)))
9190eleq1d 2226 . . . . . . . . . . . . . . 15 (𝑎 = ((1st ‘(𝑅𝑘)) + 1) → ((𝐹𝑎) ∈ 𝑆 ↔ (𝐹‘((1st ‘(𝑅𝑘)) + 1)) ∈ 𝑆))
92 fveq2 5468 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
9392eleq1d 2226 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑎 → ((𝐹𝑥) ∈ 𝑆 ↔ (𝐹𝑎) ∈ 𝑆))
9493cbvralv 2680 . . . . . . . . . . . . . . . . 17 (∀𝑥 ∈ (ℤ𝑀)(𝐹𝑥) ∈ 𝑆 ↔ ∀𝑎 ∈ (ℤ𝑀)(𝐹𝑎) ∈ 𝑆)
956, 94sylib 121 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑎 ∈ (ℤ𝑀)(𝐹𝑎) ∈ 𝑆)
9695ad2antlr 481 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ∀𝑎 ∈ (ℤ𝑀)(𝐹𝑎) ∈ 𝑆)
97 peano2uz 9494 . . . . . . . . . . . . . . . 16 ((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) → ((1st ‘(𝑅𝑘)) + 1) ∈ (ℤ𝑀))
9884, 97syl 14 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘)) + 1) ∈ (ℤ𝑀))
9991, 96, 98rspcdva 2821 . . . . . . . . . . . . . 14 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝐹‘((1st ‘(𝑅𝑘)) + 1)) ∈ 𝑆)
10089, 86, 99caovcld 5974 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) ∈ 𝑆)
101 fvoveq1 5847 . . . . . . . . . . . . . . 15 (𝑧 = (1st ‘(𝑅𝑘)) → (𝐹‘(𝑧 + 1)) = (𝐹‘((1st ‘(𝑅𝑘)) + 1)))
102101oveq2d 5840 . . . . . . . . . . . . . 14 (𝑧 = (1st ‘(𝑅𝑘)) → (𝑤 + (𝐹‘(𝑧 + 1))) = (𝑤 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
103 oveq1 5831 . . . . . . . . . . . . . 14 (𝑤 = (2nd ‘(𝑅𝑘)) → (𝑤 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
104 eqid 2157 . . . . . . . . . . . . . 14 (𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1)))) = (𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))
105102, 103, 104ovmpog 5955 . . . . . . . . . . . . 13 (((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) ∧ (2nd ‘(𝑅𝑘)) ∈ 𝑆 ∧ ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) ∈ 𝑆) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
10684, 86, 100, 105syl3anc 1220 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
107106opeq2d 3748 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
108106, 100eqeltrd 2234 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) ∈ 𝑆)
109 opelxpi 4618 . . . . . . . . . . . 12 ((((1st ‘(𝑅𝑘)) + 1) ∈ (ℤ𝑀) ∧ ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) ∈ 𝑆) → ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩ ∈ ((ℤ𝑀) × 𝑆))
11098, 108, 109syl2anc 409 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩ ∈ ((ℤ𝑀) × 𝑆))
111107, 110eqeltrrd 2235 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆))
112 oveq1 5831 . . . . . . . . . . . 12 (𝑥 = (1st ‘(𝑅𝑘)) → (𝑥 + 1) = ((1st ‘(𝑅𝑘)) + 1))
113 fvoveq1 5847 . . . . . . . . . . . . 13 (𝑥 = (1st ‘(𝑅𝑘)) → (𝐹‘(𝑥 + 1)) = (𝐹‘((1st ‘(𝑅𝑘)) + 1)))
114113oveq2d 5840 . . . . . . . . . . . 12 (𝑥 = (1st ‘(𝑅𝑘)) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
115112, 114opeq12d 3749 . . . . . . . . . . 11 (𝑥 = (1st ‘(𝑅𝑘)) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
116 oveq1 5831 . . . . . . . . . . . 12 (𝑦 = (2nd ‘(𝑅𝑘)) → (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
117116opeq2d 3748 . . . . . . . . . . 11 (𝑦 = (2nd ‘(𝑅𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
118115, 117, 45ovmpog 5955 . . . . . . . . . 10 (((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) ∧ (2nd ‘(𝑅𝑘)) ∈ V ∧ ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
11984, 87, 111, 118syl3anc 1220 . . . . . . . . 9 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
12050ad2antlr 481 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
12152ad2antlr 481 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆))
122 frecsuc 6354 . . . . . . . . . . . 12 ((∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) ∧ 𝑘 ∈ ω) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
123120, 121, 81, 122syl3anc 1220 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
124 simpr 109 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))
125124fveq2d 5472 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
126123, 125eqtr4d 2193 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)))
127 1st2nd2 6123 . . . . . . . . . . . . 13 ((𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆) → (𝑅𝑘) = ⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
12882, 127syl 14 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅𝑘) = ⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
129128fveq2d 5472 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩))
130 df-ov 5827 . . . . . . . . . . 11 ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
131129, 130eqtr4di 2208 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)) = ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))))
132126, 131eqtrd 2190 . . . . . . . . 9 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))))
13314fveq1i 5469 . . . . . . . . . . . . . . 15 (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘)
13419fveq2d 5472 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st𝑢), (2nd𝑢)⟩))
135 df-ov 5827 . . . . . . . . . . . . . . . . . . . . 21 ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st𝑢), (2nd𝑢)⟩)
136134, 135eqtr4di 2208 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) = ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)))
137 fvoveq1 5847 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = (1st𝑢) → (𝐹‘(𝑧 + 1)) = (𝐹‘((1st𝑢) + 1)))
138137oveq2d 5840 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = (1st𝑢) → (𝑤 + (𝐹‘(𝑧 + 1))) = (𝑤 + (𝐹‘((1st𝑢) + 1))))
139 oveq1 5831 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑤 = (2nd𝑢) → (𝑤 + (𝐹‘((1st𝑢) + 1))) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
140138, 139, 104ovmpog 5955 . . . . . . . . . . . . . . . . . . . . . . . 24 (((1st𝑢) ∈ (ℤ𝑀) ∧ (2nd𝑢) ∈ 𝑆 ∧ ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))) ∈ 𝑆) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
14124, 26, 36, 140syl3anc 1220 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
142141, 36eqeltrd 2234 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) ∈ 𝑆)
143 opelxpi 4618 . . . . . . . . . . . . . . . . . . . . . 22 ((((1st𝑢) + 1) ∈ (ℤ𝑀) ∧ ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) ∈ 𝑆) → ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩ ∈ ((ℤ𝑀) × 𝑆))
14429, 142, 143syl2anc 409 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩ ∈ ((ℤ𝑀) × 𝑆))
145 oveq1 5831 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = (1st𝑢) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦))
14639, 145opeq12d 3749 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = (1st𝑢) → ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)
147 oveq2 5832 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑦 = (2nd𝑢) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)))
148147opeq2d 3748 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦 = (2nd𝑢) → ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
149 eqid 2157 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)
150146, 148, 149ovmpog 5955 . . . . . . . . . . . . . . . . . . . . 21 (((1st𝑢) ∈ (ℤ𝑀) ∧ (2nd𝑢) ∈ V ∧ ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
15124, 27, 144, 150syl3anc 1220 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
152136, 151eqtrd 2190 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
153152, 144eqeltrd 2234 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
154153ralrimiva 2530 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
155154ad2antlr 481 . . . . . . . . . . . . . . . 16 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
156 frecsuc 6354 . . . . . . . . . . . . . . . 16 ((∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) ∧ 𝑘 ∈ ω) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
157155, 121, 81, 156syl3anc 1220 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
158133, 157syl5eq 2202 . . . . . . . . . . . . . 14 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
15914fveq1i 5469 . . . . . . . . . . . . . . 15 (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)
160159fveq2i 5471 . . . . . . . . . . . . . 14 ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))
161158, 160eqtr4di 2208 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(𝑅𝑘)))
162128fveq2d 5472 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩))
163161, 162eqtrd 2190 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩))
164 df-ov 5827 . . . . . . . . . . . 12 ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
165163, 164eqtr4di 2208 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))))
166 oveq1 5831 . . . . . . . . . . . . . 14 (𝑥 = (1st ‘(𝑅𝑘)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦))
167112, 166opeq12d 3749 . . . . . . . . . . . . 13 (𝑥 = (1st ‘(𝑅𝑘)) → ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)
168 oveq2 5832 . . . . . . . . . . . . . 14 (𝑦 = (2nd ‘(𝑅𝑘)) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))))
169168opeq2d 3748 . . . . . . . . . . . . 13 (𝑦 = (2nd ‘(𝑅𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
170167, 169, 149ovmpog 5955 . . . . . . . . . . . 12 (((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) ∧ (2nd ‘(𝑅𝑘)) ∈ V ∧ ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
17184, 87, 110, 170syl3anc 1220 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
172165, 171eqtrd 2190 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
173172, 107eqtrd 2190 . . . . . . . . 9 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
174119, 132, 1733eqtr4rd 2201 . . . . . . . 8 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘))
175174exp31 362 . . . . . . 7 (𝑘 ∈ ω → (𝜑 → ((𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘) → (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘))))
176175a2d 26 . . . . . 6 (𝑘 ∈ ω → ((𝜑 → (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝜑 → (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘))))
17760, 64, 68, 72, 79, 176finds 4559 . . . . 5 (𝑛 ∈ ω → (𝜑 → (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛)))
178177impcom 124 . . . 4 ((𝜑𝑛 ∈ ω) → (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛))
17917, 56, 178eqfnfvd 5568 . . 3 (𝜑𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
180179rneqd 4815 . 2 (𝜑 → ran 𝑅 = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
1811, 180eqtr4id 2209 1 (𝜑 → seq𝑀( + , 𝐹) = ran 𝑅)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1335  wcel 2128  wral 2435  Vcvv 2712  wss 3102  c0 3394  cop 3563  suc csuc 4325  ωcom 4549   × cxp 4584  ran crn 4587   Fn wfn 5165  wf 5166  cfv 5170  (class class class)co 5824  cmpo 5826  1st c1st 6086  2nd c2nd 6087  freccfrec 6337  1c1 7733   + caddc 7735  cz 9167  cuz 9439  seqcseq 10344
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 604  ax-in2 605  ax-io 699  ax-5 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-coll 4079  ax-sep 4082  ax-nul 4090  ax-pow 4135  ax-pr 4169  ax-un 4393  ax-setind 4496  ax-iinf 4547  ax-cnex 7823  ax-resscn 7824  ax-1cn 7825  ax-1re 7826  ax-icn 7827  ax-addcl 7828  ax-addrcl 7829  ax-mulcl 7830  ax-addcom 7832  ax-addass 7834  ax-distr 7836  ax-i2m1 7837  ax-0lt1 7838  ax-0id 7840  ax-rnegex 7841  ax-cnre 7843  ax-pre-ltirr 7844  ax-pre-ltwlin 7845  ax-pre-lttrn 7846  ax-pre-ltadd 7848
This theorem depends on definitions:  df-bi 116  df-3or 964  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ne 2328  df-nel 2423  df-ral 2440  df-rex 2441  df-reu 2442  df-rab 2444  df-v 2714  df-sbc 2938  df-csb 3032  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3395  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-int 3808  df-iun 3851  df-br 3966  df-opab 4026  df-mpt 4027  df-tr 4063  df-id 4253  df-iord 4326  df-on 4328  df-ilim 4329  df-suc 4331  df-iom 4550  df-xp 4592  df-rel 4593  df-cnv 4594  df-co 4595  df-dm 4596  df-rn 4597  df-res 4598  df-ima 4599  df-iota 5135  df-fun 5172  df-fn 5173  df-f 5174  df-f1 5175  df-fo 5176  df-f1o 5177  df-fv 5178  df-riota 5780  df-ov 5827  df-oprab 5828  df-mpo 5829  df-1st 6088  df-2nd 6089  df-recs 6252  df-frec 6338  df-pnf 7914  df-mnf 7915  df-xr 7916  df-ltxr 7917  df-le 7918  df-sub 8048  df-neg 8049  df-inn 8834  df-n0 9091  df-z 9168  df-uz 9440  df-seqfrec 10345
This theorem is referenced by:  seq3-1  10359  seqf  10360  seq3p1  10361
  Copyright terms: Public domain W3C validator