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