Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  itcovalpclem2 Structured version   Visualization version   GIF version

Theorem itcovalpclem2 45085
Description: Lemma 2 for itcovalpc 45086: induction step. (Contributed by AV, 4-May-2024.)
Hypothesis
Ref Expression
itcovalpc.f 𝐹 = (𝑛 ∈ ℕ0 ↦ (𝑛 + 𝐶))
Assertion
Ref Expression
itcovalpclem2 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦))) → ((IterComp‘𝐹)‘(𝑦 + 1)) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · (𝑦 + 1))))))
Distinct variable groups:   𝐶,𝑛   𝑦,𝑛
Allowed substitution hints:   𝐶(𝑦)   𝐹(𝑦,𝑛)

Proof of Theorem itcovalpclem2
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 itcovalpc.f . . . . 5 𝐹 = (𝑛 ∈ ℕ0 ↦ (𝑛 + 𝐶))
2 nn0ex 11891 . . . . . 6 0 ∈ V
32mptex 6963 . . . . 5 (𝑛 ∈ ℕ0 ↦ (𝑛 + 𝐶)) ∈ V
41, 3eqeltri 2886 . . . 4 𝐹 ∈ V
5 simpl 486 . . . 4 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 𝑦 ∈ ℕ0)
6 simpr 488 . . . 4 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ ((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) → ((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦))))
7 itcovalsucov 45082 . . . 4 ((𝐹 ∈ V ∧ 𝑦 ∈ ℕ0 ∧ ((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) → ((IterComp‘𝐹)‘(𝑦 + 1)) = (𝐹 ∘ (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))))
84, 5, 6, 7mp3an2ani 1465 . . 3 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ ((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) → ((IterComp‘𝐹)‘(𝑦 + 1)) = (𝐹 ∘ (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))))
9 simpr 488 . . . . . . 7 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → 𝑛 ∈ ℕ0)
10 simplr 768 . . . . . . . 8 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → 𝐶 ∈ ℕ0)
115adantr 484 . . . . . . . 8 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → 𝑦 ∈ ℕ0)
1210, 11nn0mulcld 11948 . . . . . . 7 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → (𝐶 · 𝑦) ∈ ℕ0)
139, 12nn0addcld 11947 . . . . . 6 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → (𝑛 + (𝐶 · 𝑦)) ∈ ℕ0)
14 eqidd 2799 . . . . . 6 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦))) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦))))
15 oveq1 7142 . . . . . . . . 9 (𝑛 = 𝑚 → (𝑛 + 𝐶) = (𝑚 + 𝐶))
1615cbvmptv 5133 . . . . . . . 8 (𝑛 ∈ ℕ0 ↦ (𝑛 + 𝐶)) = (𝑚 ∈ ℕ0 ↦ (𝑚 + 𝐶))
171, 16eqtri 2821 . . . . . . 7 𝐹 = (𝑚 ∈ ℕ0 ↦ (𝑚 + 𝐶))
1817a1i 11 . . . . . 6 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 𝐹 = (𝑚 ∈ ℕ0 ↦ (𝑚 + 𝐶)))
19 oveq1 7142 . . . . . 6 (𝑚 = (𝑛 + (𝐶 · 𝑦)) → (𝑚 + 𝐶) = ((𝑛 + (𝐶 · 𝑦)) + 𝐶))
2013, 14, 18, 19fmptco 6868 . . . . 5 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝐹 ∘ (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) = (𝑛 ∈ ℕ0 ↦ ((𝑛 + (𝐶 · 𝑦)) + 𝐶)))
219nn0cnd 11945 . . . . . . . 8 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → 𝑛 ∈ ℂ)
2212nn0cnd 11945 . . . . . . . 8 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → (𝐶 · 𝑦) ∈ ℂ)
2310nn0cnd 11945 . . . . . . . 8 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → 𝐶 ∈ ℂ)
2421, 22, 23addassd 10652 . . . . . . 7 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → ((𝑛 + (𝐶 · 𝑦)) + 𝐶) = (𝑛 + ((𝐶 · 𝑦) + 𝐶)))
25 nn0cn 11895 . . . . . . . . . . . . . 14 (𝐶 ∈ ℕ0𝐶 ∈ ℂ)
2625mulid1d 10647 . . . . . . . . . . . . 13 (𝐶 ∈ ℕ0 → (𝐶 · 1) = 𝐶)
2726adantl 485 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝐶 · 1) = 𝐶)
2827eqcomd 2804 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 𝐶 = (𝐶 · 1))
2928oveq2d 7151 . . . . . . . . . 10 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → ((𝐶 · 𝑦) + 𝐶) = ((𝐶 · 𝑦) + (𝐶 · 1)))
30 simpr 488 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 𝐶 ∈ ℕ0)
3130nn0cnd 11945 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 𝐶 ∈ ℂ)
325nn0cnd 11945 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 𝑦 ∈ ℂ)
33 1cnd 10625 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → 1 ∈ ℂ)
3431, 32, 33adddid 10654 . . . . . . . . . 10 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝐶 · (𝑦 + 1)) = ((𝐶 · 𝑦) + (𝐶 · 1)))
3529, 34eqtr4d 2836 . . . . . . . . 9 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → ((𝐶 · 𝑦) + 𝐶) = (𝐶 · (𝑦 + 1)))
3635oveq2d 7151 . . . . . . . 8 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝑛 + ((𝐶 · 𝑦) + 𝐶)) = (𝑛 + (𝐶 · (𝑦 + 1))))
3736adantr 484 . . . . . . 7 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → (𝑛 + ((𝐶 · 𝑦) + 𝐶)) = (𝑛 + (𝐶 · (𝑦 + 1))))
3824, 37eqtrd 2833 . . . . . 6 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑛 ∈ ℕ0) → ((𝑛 + (𝐶 · 𝑦)) + 𝐶) = (𝑛 + (𝐶 · (𝑦 + 1))))
3938mpteq2dva 5125 . . . . 5 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝑛 ∈ ℕ0 ↦ ((𝑛 + (𝐶 · 𝑦)) + 𝐶)) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · (𝑦 + 1)))))
4020, 39eqtrd 2833 . . . 4 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (𝐹 ∘ (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · (𝑦 + 1)))))
4140adantr 484 . . 3 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ ((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) → (𝐹 ∘ (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · (𝑦 + 1)))))
428, 41eqtrd 2833 . 2 (((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) ∧ ((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦)))) → ((IterComp‘𝐹)‘(𝑦 + 1)) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · (𝑦 + 1)))))
4342ex 416 1 ((𝑦 ∈ ℕ0𝐶 ∈ ℕ0) → (((IterComp‘𝐹)‘𝑦) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · 𝑦))) → ((IterComp‘𝐹)‘(𝑦 + 1)) = (𝑛 ∈ ℕ0 ↦ (𝑛 + (𝐶 · (𝑦 + 1))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  Vcvv 3441  cmpt 5110  ccom 5523  cfv 6324  (class class class)co 7135  1c1 10527   + caddc 10529   · cmul 10531  0cn0 11885  IterCompcitco 45071
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-inf2 9088  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-n0 11886  df-z 11970  df-uz 12232  df-seq 13365  df-itco 45073
This theorem is referenced by:  itcovalpc  45086
  Copyright terms: Public domain W3C validator