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

Theorem seq3val 10393
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 10396, seq3-1 10395 and seq3p1 10397, 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 10381 . 2 seq𝑀( + , 𝐹) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
2 seq3val.m . . . . . 6 (𝜑𝑀 ∈ ℤ)
3 fveq2 5486 . . . . . . . 8 (𝑥 = 𝑀 → (𝐹𝑥) = (𝐹𝑀))
43eleq1d 2235 . . . . . . 7 (𝑥 = 𝑀 → ((𝐹𝑥) ∈ 𝑆 ↔ (𝐹𝑀) ∈ 𝑆))
5 seq3val.f . . . . . . . 8 ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)
65ralrimiva 2539 . . . . . . 7 (𝜑 → ∀𝑥 ∈ (ℤ𝑀)(𝐹𝑥) ∈ 𝑆)
7 uzid 9480 . . . . . . . 8 (𝑀 ∈ ℤ → 𝑀 ∈ (ℤ𝑀))
82, 7syl 14 . . . . . . 7 (𝜑𝑀 ∈ (ℤ𝑀))
94, 6, 8rspcdva 2835 . . . . . 6 (𝜑 → (𝐹𝑀) ∈ 𝑆)
10 ssv 3164 . . . . . . 7 𝑆 ⊆ V
1110a1i 9 . . . . . 6 (𝜑𝑆 ⊆ V)
12 seq3val.pl . . . . . . 7 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
135, 12iseqovex 10391 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) ∈ 𝑆)
14 seq3val.r . . . . . 6 𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)
152, 9, 11, 13, 14frecuzrdgrclt 10350 . . . . 5 (𝜑𝑅:ω⟶((ℤ𝑀) × 𝑆))
16 ffn 5337 . . . . 5 (𝑅:ω⟶((ℤ𝑀) × 𝑆) → 𝑅 Fn ω)
1715, 16syl 14 . . . 4 (𝜑𝑅 Fn ω)
18 1st2nd2 6143 . . . . . . . . . . . 12 (𝑢 ∈ ((ℤ𝑀) × 𝑆) → 𝑢 = ⟨(1st𝑢), (2nd𝑢)⟩)
1918adantl 275 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → 𝑢 = ⟨(1st𝑢), (2nd𝑢)⟩)
2019fveq2d 5490 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st𝑢), (2nd𝑢)⟩))
21 df-ov 5845 . . . . . . . . . 10 ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st𝑢), (2nd𝑢)⟩)
2220, 21eqtr4di 2217 . . . . . . . . 9 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) = ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)))
23 xp1st 6133 . . . . . . . . . . 11 (𝑢 ∈ ((ℤ𝑀) × 𝑆) → (1st𝑢) ∈ (ℤ𝑀))
2423adantl 275 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (1st𝑢) ∈ (ℤ𝑀))
25 xp2nd 6134 . . . . . . . . . . . 12 (𝑢 ∈ ((ℤ𝑀) × 𝑆) → (2nd𝑢) ∈ 𝑆)
2625adantl 275 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (2nd𝑢) ∈ 𝑆)
2726elexd 2739 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (2nd𝑢) ∈ V)
28 peano2uz 9521 . . . . . . . . . . . 12 ((1st𝑢) ∈ (ℤ𝑀) → ((1st𝑢) + 1) ∈ (ℤ𝑀))
2924, 28syl 14 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢) + 1) ∈ (ℤ𝑀))
3012caovclg 5994 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
3130adantlr 469 . . . . . . . . . . . 12 (((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
32 fveq2 5486 . . . . . . . . . . . . . 14 (𝑥 = ((1st𝑢) + 1) → (𝐹𝑥) = (𝐹‘((1st𝑢) + 1)))
3332eleq1d 2235 . . . . . . . . . . . . 13 (𝑥 = ((1st𝑢) + 1) → ((𝐹𝑥) ∈ 𝑆 ↔ (𝐹‘((1st𝑢) + 1)) ∈ 𝑆))
346adantr 274 . . . . . . . . . . . . 13 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ∀𝑥 ∈ (ℤ𝑀)(𝐹𝑥) ∈ 𝑆)
3533, 34, 29rspcdva 2835 . . . . . . . . . . . 12 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → (𝐹‘((1st𝑢) + 1)) ∈ 𝑆)
3631, 26, 35caovcld 5995 . . . . . . . . . . 11 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))) ∈ 𝑆)
37 opelxpi 4636 . . . . . . . . . . 11 ((((1st𝑢) + 1) ∈ (ℤ𝑀) ∧ ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))) ∈ 𝑆) → ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆))
3829, 36, 37syl2anc 409 . . . . . . . . . 10 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆))
39 oveq1 5849 . . . . . . . . . . . 12 (𝑥 = (1st𝑢) → (𝑥 + 1) = ((1st𝑢) + 1))
40 fvoveq1 5865 . . . . . . . . . . . . 13 (𝑥 = (1st𝑢) → (𝐹‘(𝑥 + 1)) = (𝐹‘((1st𝑢) + 1)))
4140oveq2d 5858 . . . . . . . . . . . 12 (𝑥 = (1st𝑢) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐹‘((1st𝑢) + 1))))
4239, 41opeq12d 3766 . . . . . . . . . . 11 (𝑥 = (1st𝑢) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨((1st𝑢) + 1), (𝑦 + (𝐹‘((1st𝑢) + 1)))⟩)
43 oveq1 5849 . . . . . . . . . . . 12 (𝑦 = (2nd𝑢) → (𝑦 + (𝐹‘((1st𝑢) + 1))) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
4443opeq2d 3765 . . . . . . . . . . 11 (𝑦 = (2nd𝑢) → ⟨((1st𝑢) + 1), (𝑦 + (𝐹‘((1st𝑢) + 1)))⟩ = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
45 eqid 2165 . . . . . . . . . . 11 (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)
4642, 44, 45ovmpog 5976 . . . . . . . . . 10 (((1st𝑢) ∈ (ℤ𝑀) ∧ (2nd𝑢) ∈ V ∧ ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
4724, 27, 38, 46syl3anc 1228 . . . . . . . . 9 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
4822, 47eqtrd 2198 . . . . . . . 8 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) = ⟨((1st𝑢) + 1), ((2nd𝑢) + (𝐹‘((1st𝑢) + 1)))⟩)
4948, 38eqeltrd 2243 . . . . . . 7 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
5049ralrimiva 2539 . . . . . 6 (𝜑 → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
51 opelxpi 4636 . . . . . . 7 ((𝑀 ∈ (ℤ𝑀) ∧ (𝐹𝑀) ∈ 𝑆) → ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆))
528, 9, 51syl2anc 409 . . . . . 6 (𝜑 → ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆))
5350, 52jca 304 . . . . 5 (𝜑 → (∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆)))
54 frecfcl 6373 . . . . 5 ((∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆)) → frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩):ω⟶((ℤ𝑀) × 𝑆))
55 ffn 5337 . . . . 5 (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩):ω⟶((ℤ𝑀) × 𝑆) → frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) Fn ω)
5653, 54, 553syl 17 . . . 4 (𝜑 → frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) Fn ω)
57 fveq2 5486 . . . . . . . 8 (𝑐 = ∅ → (𝑅𝑐) = (𝑅‘∅))
58 fveq2 5486 . . . . . . . 8 (𝑐 = ∅ → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅))
5957, 58eqeq12d 2180 . . . . . . 7 (𝑐 = ∅ → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅)))
6059imbi2d 229 . . . . . 6 (𝑐 = ∅ → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅))))
61 fveq2 5486 . . . . . . . 8 (𝑐 = 𝑘 → (𝑅𝑐) = (𝑅𝑘))
62 fveq2 5486 . . . . . . . 8 (𝑐 = 𝑘 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))
6361, 62eqeq12d 2180 . . . . . . 7 (𝑐 = 𝑘 → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
6463imbi2d 229 . . . . . 6 (𝑐 = 𝑘 → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))))
65 fveq2 5486 . . . . . . . 8 (𝑐 = suc 𝑘 → (𝑅𝑐) = (𝑅‘suc 𝑘))
66 fveq2 5486 . . . . . . . 8 (𝑐 = suc 𝑘 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘))
6765, 66eqeq12d 2180 . . . . . . 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 5486 . . . . . . . 8 (𝑐 = 𝑛 → (𝑅𝑐) = (𝑅𝑛))
70 fveq2 5486 . . . . . . . 8 (𝑐 = 𝑛 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛))
7169, 70eqeq12d 2180 . . . . . . 7 (𝑐 = 𝑛 → ((𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐) ↔ (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛)))
7271imbi2d 229 . . . . . 6 (𝑐 = 𝑛 → ((𝜑 → (𝑅𝑐) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑐)) ↔ (𝜑 → (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛))))
7314fveq1i 5487 . . . . . . . 8 (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅)
74 frec0g 6365 . . . . . . . . 9 (⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7552, 74syl 14 . . . . . . . 8 (𝜑 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7673, 75syl5eq 2211 . . . . . . 7 (𝜑 → (𝑅‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
77 frec0g 6365 . . . . . . . 8 (⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7852, 77syl 14 . . . . . . 7 (𝜑 → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅) = ⟨𝑀, (𝐹𝑀)⟩)
7976, 78eqtr4d 2201 . . . . . 6 (𝜑 → (𝑅‘∅) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘∅))
8015ad2antlr 481 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → 𝑅:ω⟶((ℤ𝑀) × 𝑆))
81 simpll 519 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → 𝑘 ∈ ω)
8280, 81ffvelrnd 5621 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆))
83 xp1st 6133 . . . . . . . . . . 11 ((𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆) → (1st ‘(𝑅𝑘)) ∈ (ℤ𝑀))
8482, 83syl 14 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (1st ‘(𝑅𝑘)) ∈ (ℤ𝑀))
85 xp2nd 6134 . . . . . . . . . . . 12 ((𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆) → (2nd ‘(𝑅𝑘)) ∈ 𝑆)
8682, 85syl 14 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (2nd ‘(𝑅𝑘)) ∈ 𝑆)
8786elexd 2739 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (2nd ‘(𝑅𝑘)) ∈ V)
8830adantll 468 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
8988adantlr 469 . . . . . . . . . . . . . 14 ((((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
90 fveq2 5486 . . . . . . . . . . . . . . . 16 (𝑎 = ((1st ‘(𝑅𝑘)) + 1) → (𝐹𝑎) = (𝐹‘((1st ‘(𝑅𝑘)) + 1)))
9190eleq1d 2235 . . . . . . . . . . . . . . 15 (𝑎 = ((1st ‘(𝑅𝑘)) + 1) → ((𝐹𝑎) ∈ 𝑆 ↔ (𝐹‘((1st ‘(𝑅𝑘)) + 1)) ∈ 𝑆))
92 fveq2 5486 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
9392eleq1d 2235 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑎 → ((𝐹𝑥) ∈ 𝑆 ↔ (𝐹𝑎) ∈ 𝑆))
9493cbvralv 2692 . . . . . . . . . . . . . . . . 17 (∀𝑥 ∈ (ℤ𝑀)(𝐹𝑥) ∈ 𝑆 ↔ ∀𝑎 ∈ (ℤ𝑀)(𝐹𝑎) ∈ 𝑆)
956, 94sylib 121 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑎 ∈ (ℤ𝑀)(𝐹𝑎) ∈ 𝑆)
9695ad2antlr 481 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ∀𝑎 ∈ (ℤ𝑀)(𝐹𝑎) ∈ 𝑆)
97 peano2uz 9521 . . . . . . . . . . . . . . . 16 ((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) → ((1st ‘(𝑅𝑘)) + 1) ∈ (ℤ𝑀))
9884, 97syl 14 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘)) + 1) ∈ (ℤ𝑀))
9991, 96, 98rspcdva 2835 . . . . . . . . . . . . . 14 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝐹‘((1st ‘(𝑅𝑘)) + 1)) ∈ 𝑆)
10089, 86, 99caovcld 5995 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) ∈ 𝑆)
101 fvoveq1 5865 . . . . . . . . . . . . . . 15 (𝑧 = (1st ‘(𝑅𝑘)) → (𝐹‘(𝑧 + 1)) = (𝐹‘((1st ‘(𝑅𝑘)) + 1)))
102101oveq2d 5858 . . . . . . . . . . . . . 14 (𝑧 = (1st ‘(𝑅𝑘)) → (𝑤 + (𝐹‘(𝑧 + 1))) = (𝑤 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
103 oveq1 5849 . . . . . . . . . . . . . 14 (𝑤 = (2nd ‘(𝑅𝑘)) → (𝑤 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
104 eqid 2165 . . . . . . . . . . . . . 14 (𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1)))) = (𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))
105102, 103, 104ovmpog 5976 . . . . . . . . . . . . 13 (((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) ∧ (2nd ‘(𝑅𝑘)) ∈ 𝑆 ∧ ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) ∈ 𝑆) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
10684, 86, 100, 105syl3anc 1228 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
107106opeq2d 3765 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
108106, 100eqeltrd 2243 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))) ∈ 𝑆)
109 opelxpi 4636 . . . . . . . . . . . 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 2244 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆))
112 oveq1 5849 . . . . . . . . . . . 12 (𝑥 = (1st ‘(𝑅𝑘)) → (𝑥 + 1) = ((1st ‘(𝑅𝑘)) + 1))
113 fvoveq1 5865 . . . . . . . . . . . . 13 (𝑥 = (1st ‘(𝑅𝑘)) → (𝐹‘(𝑥 + 1)) = (𝐹‘((1st ‘(𝑅𝑘)) + 1)))
114113oveq2d 5858 . . . . . . . . . . . 12 (𝑥 = (1st ‘(𝑅𝑘)) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
115112, 114opeq12d 3766 . . . . . . . . . . 11 (𝑥 = (1st ‘(𝑅𝑘)) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
116 oveq1 5849 . . . . . . . . . . . 12 (𝑦 = (2nd ‘(𝑅𝑘)) → (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1))) = ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1))))
117116opeq2d 3765 . . . . . . . . . . 11 (𝑦 = (2nd ‘(𝑅𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), (𝑦 + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
118115, 117, 45ovmpog 5976 . . . . . . . . . 10 (((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) ∧ (2nd ‘(𝑅𝑘)) ∈ V ∧ ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
11984, 87, 111, 118syl3anc 1228 . . . . . . . . 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 6375 . . . . . . . . . . . 12 ((∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) ∧ 𝑘 ∈ ω) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
123120, 121, 81, 122syl3anc 1228 . . . . . . . . . . 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 5490 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
126123, 125eqtr4d 2201 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)))
127 1st2nd2 6143 . . . . . . . . . . . . 13 ((𝑅𝑘) ∈ ((ℤ𝑀) × 𝑆) → (𝑅𝑘) = ⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
12882, 127syl 14 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅𝑘) = ⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
129128fveq2d 5490 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩))
130 df-ov 5845 . . . . . . . . . . 11 ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
131129, 130eqtr4di 2217 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)‘(𝑅𝑘)) = ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))))
132126, 131eqtrd 2198 . . . . . . . . 9 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩)(2nd ‘(𝑅𝑘))))
13314fveq1i 5487 . . . . . . . . . . . . . . 15 (𝑅‘suc 𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘)
13419fveq2d 5490 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st𝑢), (2nd𝑢)⟩))
135 df-ov 5845 . . . . . . . . . . . . . . . . . . . . 21 ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st𝑢), (2nd𝑢)⟩)
136134, 135eqtr4di 2217 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) = ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)))
137 fvoveq1 5865 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = (1st𝑢) → (𝐹‘(𝑧 + 1)) = (𝐹‘((1st𝑢) + 1)))
138137oveq2d 5858 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = (1st𝑢) → (𝑤 + (𝐹‘(𝑧 + 1))) = (𝑤 + (𝐹‘((1st𝑢) + 1))))
139 oveq1 5849 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑤 = (2nd𝑢) → (𝑤 + (𝐹‘((1st𝑢) + 1))) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
140138, 139, 104ovmpog 5976 . . . . . . . . . . . . . . . . . . . . . . . 24 (((1st𝑢) ∈ (ℤ𝑀) ∧ (2nd𝑢) ∈ 𝑆 ∧ ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))) ∈ 𝑆) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
14124, 26, 36, 140syl3anc 1228 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) = ((2nd𝑢) + (𝐹‘((1st𝑢) + 1))))
142141, 36eqeltrd 2243 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) ∈ 𝑆)
143 opelxpi 4636 . . . . . . . . . . . . . . . . . . . . . 22 ((((1st𝑢) + 1) ∈ (ℤ𝑀) ∧ ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)) ∈ 𝑆) → ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩ ∈ ((ℤ𝑀) × 𝑆))
14429, 142, 143syl2anc 409 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩ ∈ ((ℤ𝑀) × 𝑆))
145 oveq1 5849 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑥 = (1st𝑢) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦))
14639, 145opeq12d 3766 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = (1st𝑢) → ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)
147 oveq2 5850 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑦 = (2nd𝑢) → ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢)))
148147opeq2d 3765 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦 = (2nd𝑢) → ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
149 eqid 2165 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)
150146, 148, 149ovmpog 5976 . . . . . . . . . . . . . . . . . . . . 21 (((1st𝑢) ∈ (ℤ𝑀) ∧ (2nd𝑢) ∈ V ∧ ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
15124, 27, 144, 150syl3anc 1228 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((1st𝑢)(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd𝑢)) = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
152136, 151eqtrd 2198 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) = ⟨((1st𝑢) + 1), ((1st𝑢)(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd𝑢))⟩)
153152, 144eqeltrd 2243 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑢 ∈ ((ℤ𝑀) × 𝑆)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
154153ralrimiva 2539 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
155154ad2antlr 481 . . . . . . . . . . . . . . . 16 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆))
156 frecsuc 6375 . . . . . . . . . . . . . . . 16 ((∀𝑢 ∈ ((ℤ𝑀) × 𝑆)((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘𝑢) ∈ ((ℤ𝑀) × 𝑆) ∧ ⟨𝑀, (𝐹𝑀)⟩ ∈ ((ℤ𝑀) × 𝑆) ∧ 𝑘 ∈ ω) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
157155, 121, 81, 156syl3anc 1228 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
158133, 157syl5eq 2211 . . . . . . . . . . . . . 14 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)))
15914fveq1i 5487 . . . . . . . . . . . . . . 15 (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)
160159fveq2i 5489 . . . . . . . . . . . . . 14 ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘))
161158, 160eqtr4di 2217 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(𝑅𝑘)))
162128fveq2d 5490 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘(𝑅𝑘)) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩))
163161, 162eqtrd 2198 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩))
164 df-ov 5845 . . . . . . . . . . . 12 ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))) = ((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)‘⟨(1st ‘(𝑅𝑘)), (2nd ‘(𝑅𝑘))⟩)
165163, 164eqtr4di 2217 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))))
166 oveq1 5849 . . . . . . . . . . . . . 14 (𝑥 = (1st ‘(𝑅𝑘)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦))
167112, 166opeq12d 3766 . . . . . . . . . . . . 13 (𝑥 = (1st ‘(𝑅𝑘)) → ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)
168 oveq2 5850 . . . . . . . . . . . . . 14 (𝑦 = (2nd ‘(𝑅𝑘)) → ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) = ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘))))
169168opeq2d 3765 . . . . . . . . . . . . 13 (𝑦 = (2nd ‘(𝑅𝑘)) → ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩ = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
170167, 169, 149ovmpog 5976 . . . . . . . . . . . 12 (((1st ‘(𝑅𝑘)) ∈ (ℤ𝑀) ∧ (2nd ‘(𝑅𝑘)) ∈ V ∧ ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩ ∈ ((ℤ𝑀) × 𝑆)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
17184, 87, 110, 170syl3anc 1228 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → ((1st ‘(𝑅𝑘))(𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩)(2nd ‘(𝑅𝑘))) = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
172165, 171eqtrd 2198 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ⟨((1st ‘(𝑅𝑘)) + 1), ((1st ‘(𝑅𝑘))(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))(2nd ‘(𝑅𝑘)))⟩)
173172, 107eqtrd 2198 . . . . . . . . 9 (((𝑘 ∈ ω ∧ 𝜑) ∧ (𝑅𝑘) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑘)) → (𝑅‘suc 𝑘) = ⟨((1st ‘(𝑅𝑘)) + 1), ((2nd ‘(𝑅𝑘)) + (𝐹‘((1st ‘(𝑅𝑘)) + 1)))⟩)
174119, 132, 1733eqtr4rd 2209 . . . . . . . 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 4577 . . . . 5 (𝑛 ∈ ω → (𝜑 → (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛)))
178177impcom 124 . . . 4 ((𝜑𝑛 ∈ ω) → (𝑅𝑛) = (frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)‘𝑛))
17917, 56, 178eqfnfvd 5586 . . 3 (𝜑𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
180179rneqd 4833 . 2 (𝜑 → ran 𝑅 = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦 ∈ V ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
1811, 180eqtr4id 2218 1 (𝜑 → seq𝑀( + , 𝐹) = ran 𝑅)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1343  wcel 2136  wral 2444  Vcvv 2726  wss 3116  c0 3409  cop 3579  suc csuc 4343  ωcom 4567   × cxp 4602  ran crn 4605   Fn wfn 5183  wf 5184  cfv 5188  (class class class)co 5842  cmpo 5844  1st c1st 6106  2nd c2nd 6107  freccfrec 6358  1c1 7754   + caddc 7756  cz 9191  cuz 9466  seqcseq 10380
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-addcom 7853  ax-addass 7855  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-0id 7861  ax-rnegex 7862  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-ltadd 7869
This theorem depends on definitions:  df-bi 116  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-frec 6359  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-inn 8858  df-n0 9115  df-z 9192  df-uz 9467  df-seqfrec 10381
This theorem is referenced by:  seq3-1  10395  seqf  10396  seq3p1  10397
  Copyright terms: Public domain W3C validator