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.GroupWithZero.Action

16 declarations. Mathlib docs · Source

theorem List.smul_sum E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid N] [inst_1 : DistribSMul M N] {r : M} {l : List N},
  r • l.sum = (List.map (fun x ↦ r • x) l).sum

theorem List.smul_prod' E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : MulDistribMulAction M N] {r : M}
  {l : List N}, r • l.prod = (List.map (fun x ↦ r • x) l).prod

theorem Multiset.smul_sum E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : AddCommMonoid N] [inst_1 : DistribSMul M N] {r : M} {s : Multiset N},
  r • s.sum = (Multiset.map (fun x ↦ r • x) s).sum

theorem Finset.smul_sum E1 #

∀ {M : Type u_1} {N : Type u_2} {γ : Type u_3} [inst : AddCommMonoid N] [inst_1 : DistribSMul M N] {r : M} {f : γ → N}
  {s : Finset γ}, r • ∑ x ∈ s, f x = ∑ x ∈ s, r • f x

theorem smul_finsum_mem E1 #

∀ {M : Type u_1} {N : Type u_2} {γ : Type u_3} [inst : AddCommMonoid N] [inst_1 : DistribSMul M N] {r : M} {f : γ → N}
  {s : Set γ}, s.Finite → r • ∑ᶠ (x : γ) (_ : x ∈ s), f x = ∑ᶠ (x : γ) (_ : x ∈ s), r • f x

theorem Multiset.smul_prod' E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : CommMonoid N] [inst_2 : MulDistribMulAction M N] {r : M}
  {s : Multiset N}, r • s.prod = (Multiset.map (fun x ↦ r • x) s).prod

theorem Finset.smul_prod' E1 #

∀ {M : Type u_1} {N : Type u_2} {γ : Type u_3} [inst : Monoid M] [inst_1 : CommMonoid N]
  [inst_2 : MulDistribMulAction M N] {r : M} {f : γ → N} {s : Finset γ}, r • ∏ x ∈ s, f x = ∏ x ∈ s, r • f x

theorem smul_finprod' E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : CommMonoid N] [inst_2 : MulDistribMulAction M N]
  {ι : Sort u_4} [Finite ι] {f : ι → N} (r : M), r • ∏ᶠ (x : ι), f x = ∏ᶠ (x : ι), r • f x

theorem Finset.smul_prod_perm E1 #

∀ {N : Type u_2} [inst : CommMonoid N] {G : Type u_4} [inst_1 : Group G] [inst_2 : MulDistribMulAction G N]
  [inst_3 : Fintype G] (b : N) (g : G), g • ∏ h, h • b = ∏ h, h • b

theorem smul_finprod_perm E1 #

∀ {N : Type u_2} [inst : CommMonoid N] {G : Type u_4} [inst_1 : Group G] [inst_2 : MulDistribMulAction G N] [Finite G]
  (b : N) (g : G), g • ∏ᶠ (h : G), h • b = ∏ᶠ (h : G), h • b

theorem List.smul_prod E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : MulOneClass N] [inst_2 : MulAction M N]
  [IsScalarTower M N N] [SMulCommClass M N N] (l : List N) (m : M),
  m ^ l.length • l.prod = (List.map (fun x ↦ m • x) l).prod

theorem List.vadd_sum E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddZeroClass N] [inst_2 : AddAction M N]
  [VAddAssocClass M N N] [VAddCommClass M N N] (l : List N) (m : M),
  l.length • m +ᵥ l.sum = (List.map (fun x ↦ m +ᵥ x) l).sum

theorem Multiset.vadd_sum E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddCommMonoid N] [inst_2 : AddAction M N]
  [VAddAssocClass M N N] (s : Multiset N) (b : M), s.card • b +ᵥ s.sum = (Multiset.map (fun x ↦ b +ᵥ x) s).sum

theorem Multiset.smul_prod E1 #

∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : CommMonoid N] [inst_2 : MulAction M N] [IsScalarTower M N N]
  (s : Multiset N) (b : M), b ^ s.card • s.prod = (Multiset.map (fun x ↦ b • x) s).prod

theorem Finset.smul_prod E1 #

∀ {M : Type u_1} {N : Type u_2} {ι : Type u_4} [inst : CommMonoid N] [inst_1 : Monoid M] [inst_2 : MulAction M N]
  [IsScalarTower M N N] (s : Finset ι) (b : M) (f : ι → N), b ^ s.card • ∏ x ∈ s, f x = ∏ x ∈ s, b • f x

theorem Finset.prod_smul E1 #

∀ {M : Type u_1} {N : Type u_2} {ι : Type u_4} [inst : CommMonoid N] [inst_1 : CommMonoid M] [inst_2 : MulAction M N]
  [IsScalarTower M N N] (s : Finset ι) (b : ι → M) (f : ι → N), ∏ i ∈ s, b i • f i = (∏ i ∈ s, b i) • ∏ i ∈ s, f i