English
Let M be a commutative monoid. For n ∈ ℕ, f : Fin (n + 1) → M and a,b : Fin n, the product over i ∈ Ico (a.castSucc) (b.castSucc) equals the product over i ∈ Ico a b of f i.castSucc.
Русский
Пусть M — коммутативный моноид. Пусть f : Fin(n+1) → M и a,b : Fin n, тогда произведение по i ∈ Ico(a.castSucc)(b.castSucc) равно произведению по i ∈ Ico a b от f i.castSucc.
LaTeX
$$$$ \\displaystyle \\prod_{i \\in \\mathrm{Ico}(a^{\\mathrm{castSucc}}, b^{\\mathrm{castSucc}})} f(i) = \\prod_{i \\in \\mathrm{Ico} a b} f(i^{\\mathrm{castSucc}}) $$$$
Lean4
@[to_additive]
theorem prod_Ico_castSucc (f : Fin (n + 1) → M) (a b : Fin n) :
∏ i ∈ Ico a.castSucc b.castSucc, f i = ∏ i ∈ Ico a b, f i.castSucc := by simp [← map_castSuccEmb_Ico]