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

7 declarations. Mathlib docs · Source

theorem Multiset.sum_map_div E1 #

∀ {ι : Type u_1} {K : Type u_2} [inst : DivisionSemiring K] (s : Multiset ι) (f : ι → K) (a : K),
  (Multiset.map (fun x ↦ f x / a) s).sum = (Multiset.map f s).sum / a

theorem Finset.sum_div E1 #

∀ {ι : Type u_1} {K : Type u_2} [inst : DivisionSemiring K] (s : Finset ι) (f : ι → K) (a : K),
  (∑ i ∈ s, f i) / a = ∑ i ∈ s, f i / a

theorem Finset.dens_disjiUnion E0 #

∀ {α : Type u_3} {β : Type u_4} [inst : Fintype β] (s : Finset α) (t : α → Finset β) (h : (↑s).PairwiseDisjoint t),
  (s.disjiUnion t h).dens = ∑ a ∈ s, (t a).dens

theorem Finset.dens_biUnion E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Fintype β] {s : Finset α} {t : α → Finset β} [inst_1 : DecidableEq β],
  (↑s).PairwiseDisjoint t → (s.biUnion t).dens = ∑ u ∈ s, (t u).dens

theorem Finset.dens_biUnion_le E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Fintype β] {s : Finset α} {t : α → Finset β} [inst_1 : DecidableEq β],
  (s.biUnion t).dens ≤ ∑ a ∈ s, (t a).dens

theorem Finset.dens_eq_sum_dens_fiberwise E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Fintype β] {s : Finset α} [inst_1 : DecidableEq α] {f : β → α} {t : Finset β},
  Set.MapsTo f ↑t ↑s → t.dens = ∑ a ∈ s, {b ∈ t | f b = a}.dens

theorem Finset.dens_eq_sum_dens_image E1 #

∀ {α : Type u_3} {β : Type u_4} [inst : Fintype β] [inst_1 : DecidableEq α] (f : β → α) (t : Finset β),
  t.dens = ∑ a ∈ Finset.image f t, {b ∈ t | f b = a}.dens