The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V03. Sets, finite structures and big operators

Mathlib.Algebra.BigOperators.Finsupp.Fin

8 declarations. Mathlib docs · Source

theorem Finsupp.sum_cons E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] (n : ℕ) (σ : Fin n →₀ M) (i : M),
  ((Finsupp.cons i σ).sum fun x e ↦ e) = i + σ.sum fun x e ↦ e

theorem Finsupp.sum_cons' E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Zero M] [inst_1 : AddCommMonoid N] (n : ℕ) (σ : Fin n →₀ M) (i : M)
  (f : Fin (n + 1) → M → N), (∀ (x : Fin (n + 1)), f x 0 = 0) → (Finsupp.cons i σ).sum f = f 0 i + σ.sum (Fin.tail f)

theorem Finsupp.ofSupportFinite_fin_two_eq E0 #

∀ (n : Fin 2 →₀ ℕ), Finsupp.ofSupportFinite ![n 0, n 1] ⋯ = n

def finTwoArrowEquiv' E1 #

(M : Type u_1) → [inst : Zero M] → (Fin 2 →₀ M) ≃ M × M

The space of finitely supported functions Fin 2 →₀ α is equivalent to α × α. See also finTwoArrowEquiv.

theorem finTwoArrowEquiv'_apply E0 #

∀ (M : Type u_1) [inst : Zero M] (a : Fin 2 →₀ M), (finTwoArrowEquiv' M) a = (a 0, a 1)

theorem finTwoArrowEquiv'_symm_apply E0 #

∀ (M : Type u_1) [inst : Zero M] (a : M × M), (finTwoArrowEquiv' M).symm a = Finsupp.equivFunOnFinite.symm ![a.1, a.2]

theorem finTwoArrowEquiv'_sum_eq E0 #

∀ {M : Type u_1} {d : M × M} [inst : AddCommMonoid M], (((finTwoArrowEquiv' M).symm d).sum fun x n ↦ n) = d.1 + d.2

theorem forall_congr_curry₀ E1 #

∀ {α : Type u_3} [inst : Zero α] {p : (Fin 2 →₀ α) → Prop} {q : α → α → Prop},
  (∀ (e : Fin 2 →₀ α), p e ↔ q (e 0) (e 1)) → ((∀ (e : Fin 2 →₀ α), p e) ↔ ∀ (u v : α), q u v)