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.Sym

2 declarations. Mathlib docs · Source

theorem Finset.sum_sym2_filter_not_isDiag E1 #

∀ {ι : Type u_1} {M : Type u_2} [inst : LinearOrder ι] [inst_1 : AddCommMonoid M] (s : Finset ι) (p : Sym2 ι → M),
  ∑ i ∈ s.sym2 with ¬i.IsDiag, p i = ∑ i ∈ s.offDiag with i.1 < i.2, p s(i.1, i.2)

theorem Finset.sum_count_of_mem_sym E1 #

∀ {α : Type u_1} [inst : DecidableEq α] {m : ℕ} {k : Sym α m} {s : Finset α},
  k ∈ s.sym m → ∑ i ∈ s, Multiset.count i ↑k = m