Finsupp.sum and Finsupp.prod over Fin #
This file contains theorems relevant to big operators on finitely supported functions over Fin.
theorem
Finsupp.sum_cons'
{M : Type u_1}
{N : Type u_2}
[Zero M]
[AddCommMonoid N]
(n : ℕ)
(σ : Fin n →₀ M)
(i : M)
(f : Fin (n + 1) → M → N)
(h : ∀ (x : Fin (n + 1)), f x 0 = 0)
:
The space of finitely supported functions Fin 2 →₀ α is equivalent to α × α.
See also finTwoArrowEquiv.
Instances For
@[simp]
theorem
finTwoArrowEquiv'_symm_apply
(M : Type u_1)
[Zero M]
(a✝ : M × M)
:
(finTwoArrowEquiv' M).symm a✝ = Finsupp.equivFunOnFinite.symm ![a✝.1, a✝.2]
@[simp]
theorem
finTwoArrowEquiv'_apply
(M : Type u_1)
[Zero M]
(a✝ : Fin 2 →₀ M)
:
(finTwoArrowEquiv' M) a✝ = (a✝ 0, a✝ 1)
theorem
finTwoArrowEquiv'_sum_eq
{M : Type u_1}
{d : M × M}
[AddCommMonoid M]
:
(((finTwoArrowEquiv' M).symm d).sum fun (x : Fin 2) (n : M) => n) = d.1 + d.2