Loogle!
Result
Found 282 declarations mentioning Finsupp.sum. Of these, only the first 200 are shown.
- Finsupp.sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (f : Ξ± ββ M) (g : Ξ± β M β N) : N - MulOpposite.op_finsuppSum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{ΞΉ : Type u_16} {M : Type u_17} {N : Type u_18} [AddCommMonoid M] [Zero N] (f : ΞΉ ββ N) (g : ΞΉ β N β M) : MulOpposite.op (f.sum g) = f.sum fun i n => MulOpposite.op (g i n) - MulOpposite.unop_finsuppSum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{ΞΉ : Type u_16} {M : Type u_17} {N : Type u_18} [AddCommMonoid M] [Zero N] (f : ΞΉ ββ N) (g : ΞΉ β N β Mα΅α΅α΅) : MulOpposite.unop (f.sum g) = f.sum fun i n => MulOpposite.unop (g i n) - Multiset.card_finsuppSum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {ΞΉ : Type u_2} {M : Type u_8} [Zero M] (f : ΞΉ ββ M) (g : ΞΉ β M β Multiset Ξ±) : (f.sum g).card = f.sum fun i m => (g i m).card - Finsupp.multiset_sum_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} {h : Ξ± β M β Multiset N} : (f.sum h).sum = f.sum fun a b => (h a b).sum - Finsupp.sum_zero_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {h : Ξ± β M β N} : Finsupp.sum 0 h = 0 - Finsupp.sum_eq_one_iff π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} (d : Ξ± ββ β) : (d.sum fun x n => n) = 1 β β a, d = funβ | a => 1 - Finsupp.sum_fun_zero π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (f : Ξ± ββ M) : (f.sum fun x x_1 => 0) = 0 - Finsupp.sum_single_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {a : Ξ±} {b : M} {h : Ξ± β M β N} (h_zero : h a 0 = 0) : (funβ | a => b).sum h = h a b - Finsupp.multiset_map_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ³ : Type u_3} {Ξ² : Type u_7} {M : Type u_8} [Zero M] {f : Ξ± ββ M} {m : Ξ² β Ξ³} {h : Ξ± β M β Multiset Ξ²} : Multiset.map m (f.sum h) = f.sum fun a b => Multiset.map m (h a b) - Finsupp.sum_embDomain π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {v : Ξ± ββ M} {f : Ξ± βͺ Ξ²} {g : Ξ² β M β N} : (Finsupp.embDomain f v).sum g = v.sum fun a b => g (f a) b - Finsupp.sum_finsetSum_comm π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {s : Finset Ξ²} (f : Ξ± ββ M) (h : Ξ± β M β Ξ² β N) : (f.sum fun a m => β b β s, h a m b) = β b β s, f.sum fun a m => h a m b - Finsupp.mul_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {S : Type u_15} [Zero M] [NonUnitalNonAssocSemiring S] (b : S) (s : Ξ± ββ M) {f : Ξ± β M β S} : b * s.sum f = s.sum fun a c => b * f a c - Finsupp.sum_mul π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {S : Type u_15} [Zero M] [NonUnitalNonAssocSemiring S] (b : S) (s : Ξ± ββ M) {f : Ξ± β M β S} : s.sum f * b = s.sum fun a c => f a c * b - Finsupp.sum_neg π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {G : Type u_12} [Zero M] [AddCommGroup G] {f : Ξ± ββ M} {h : Ξ± β M β G} : (f.sum fun a b => -h a b) = -f.sum h - Finsupp.sum_apply' π Mathlib.Algebra.BigOperators.Finsupp.Basic
{ΞΉ : Type u_2} {Ξ³ : Type u_3} {A : Type u_4} {B : Type u_5} [AddCommMonoid A] [AddCommMonoid B] (g : ΞΉ ββ A) (k : ΞΉ β A β Ξ³ β B) (x : Ξ³) : g.sum k x = g.sum fun i b => k i b x - Finsupp.sum_single π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} [AddCommMonoid M] (f : Ξ± ββ M) : f.sum Finsupp.single = f - Finsupp.sum_comm π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {M' : Type u_9} {N : Type u_10} [Zero M] [Zero M'] [AddCommMonoid N] (f : Ξ± ββ M) (g : Ξ² ββ M') (h : Ξ± β M β Ξ² β M' β N) : (f.sum fun x v => g.sum fun x' v' => h x v x' v') = g.sum fun x' v' => f.sum fun x v => h x v x' v' - Finsupp.sum_fintype π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] [Fintype Ξ±] (f : Ξ± ββ M) (g : Ξ± β M β N) (h : β (i : Ξ±), g i 0 = 0) : f.sum g = β i, g i (f i) - map_finsuppSum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} {P : Type u_11} [Zero M] [AddCommMonoid N] [AddCommMonoid P] {H : Type u_16} [FunLike H N P] [AddMonoidHomClass H N P] (h : H) (f : Ξ± ββ M) (g : Ξ± β M β N) : h (f.sum g) = f.sum fun a b => h (g a b) - Finsupp.sum_add π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} {hβ hβ : Ξ± β M β N} : (f.sum fun a b => hβ a b + hβ a b) = f.sum hβ + f.sum hβ - Finsupp.sum_sub π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {G : Type u_12} [Zero M] [SubtractionCommMonoid G] {f : Ξ± ββ M} {hβ hβ : Ξ± β M β G} : (f.sum fun a b => hβ a b - hβ a b) = f.sum hβ - f.sum hβ - Finsupp.add_sum_erase π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (f : Ξ± ββ M) (y : Ξ±) (g : Ξ± β M β N) (hyf : y β f.support) : g y (f y) + (Finsupp.erase y f).sum g = f.sum g - Finsupp.sum_congr π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} {g1 g2 : Ξ± β M β N} (h : β x β f.support, g1 x (f x) = g2 x (f x)) : f.sum g1 = f.sum g2 - Finsupp.sum_nsmul π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {N : Type u_10} [AddCommMonoid N] [Fintype Ξ±] (f : Ξ± ββ β) (g : Ξ± β N) : (f.sum fun a b => b β’ g a) = β a, f a β’ g a - Finsupp.onFinset_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {s : Finset Ξ±} {f : Ξ± β M} {g : Ξ± β M β N} (hf : β (a : Ξ±), f a β 0 β a β s) (hg : β (a : Ξ±), g a 0 = 0) : (Finsupp.onFinset s f hf).sum g = β a β s, g a (f a) - Finsupp.single_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {ΞΉ : Type u_2} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (s : ΞΉ ββ M) (f : ΞΉ β M β N) (a : Ξ±) : (funβ | a => s.sum f) = s.sum fun d c => funβ | a => f d c - Finsupp.sum_indicator_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {s : Finset Ξ±} (f : Ξ± β M) {h : Ξ± β M β N} (h_zero : β a β s, h a 0 = 0) : (Finsupp.indicator s fun x x_1 => f x).sum h = β x β s, h x (f x) - Finsupp.sum_mapRange_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {M' : Type u_9} {N : Type u_10} [Zero M] [Zero M'] [AddCommMonoid N] {f : M β M'} {hf : f 0 = 0} {g : Ξ± ββ M} {h : Ξ± β M' β N} (h0 : β (a : Ξ±), h a 0 = 0) : (Finsupp.mapRange f hf g).sum h = g.sum fun a b => h a (f b) - AddSubmonoidClass.finsuppSum_mem π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {S : Type u_16} [SetLike S N] [AddSubmonoidClass S N] (s : S) (f : Ξ± ββ M) (g : Ξ± β M β N) (h : β (c : Ξ±), f c β 0 β g c (f c) β s) : f.sum g β s - Finsupp.sum_ite_self_eq π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} [DecidableEq Ξ±] {N : Type u_16} [AddCommMonoid N] (f : Ξ± ββ N) (a : Ξ±) : (f.sum fun x v => if a = x then v else 0) = f a - Finsupp.sum_ite_self_eq' π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} [DecidableEq Ξ±] {N : Type u_16} [AddCommMonoid N] (f : Ξ± ββ N) (a : Ξ±) : (f.sum fun x v => if x = a then v else 0) = f a - Finsupp.add_sum_erase' π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (f : Ξ± ββ M) (y : Ξ±) (g : Ξ± β M β N) (hg : β (i : Ξ±), g i 0 = 0) : g y (f y) + (Finsupp.erase y f).sum g = f.sum g - Finsupp.sum_onFinset π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (s : Finset Ξ±) (f : Ξ± β M) (hf : β (a : Ξ±), f a β 0 β a β s) (g : Ξ± β M β N) (hg : β i β s, g i 0 = 0) : (Finsupp.onFinset s f hf).sum g = β a β s, g a (f a) - Finsupp.sum_of_support_subset π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (f : Ξ± ββ M) {s : Finset Ξ±} (hs : f.support β s) (g : Ξ± β M β N) (h : β i β s, g i 0 = 0) : f.sum g = β x β s, g x (f x) - Finsupp.sum_zsmul π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {N : Type u_16} [SubtractionCommMonoid N] [Fintype Ξ±] (f : Ξ± ββ β€) (g : Ξ± β N) : (f.sum fun a b => b β’ g a) = β a, f a β’ g a - Finsupp.sum_unique π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] [Unique Ξ±] {f : Ξ± ββ M} {g : Ξ± β M β N} (hβ : f default = 0 β g default 0 = 0) : f.sum g = g default (f default) - Finsupp.sum_ite_eq π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] [DecidableEq Ξ±] (f : Ξ± ββ M) (a : Ξ±) (b : Ξ± β M β N) : (f.sum fun x v => if a = x then b x v else 0) = if a β f.support then b a (f a) else 0 - Finsupp.sum_ite_eq' π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] [DecidableEq Ξ±] (f : Ξ± ββ M) (a : Ξ±) (b : Ξ± β M β N) : (f.sum fun x v => if x = a then b x v else 0) = if a β f.support then b a (f a) else 0 - Finsupp.support_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} [DecidableEq Ξ²] [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} {g : Ξ± β M β Ξ² ββ N} : (f.sum g).support β f.support.biUnion fun a => (g a (f a)).support - Finsupp.sum_neg_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {G : Type u_12} [SubtractionMonoid G] [AddCommMonoid M] {g : Ξ± ββ G} {h : Ξ± β G β M} (h0 : β (a : Ξ±), h a 0 = 0) : (-g).sum h = g.sum fun a b => h a (-b) - Finsupp.sum_apply π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} {g : Ξ± β M β Ξ² ββ N} {aβ : Ξ²} : (f.sum g) aβ = f.sum fun aβ b => (g aβ b) aβ - Finsupp.coe_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] (f : Ξ± ββ M) (g : Ξ± β M β Ξ² ββ N) : β(f.sum g) = f.sum fun aβ b => β(g aβ b) - AddMonoidHom.finsuppSum_apply π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {N : Type u_10} {P : Type u_11} [Zero Ξ²] [AddZeroClass N] [AddCommMonoid P] (f : Ξ± ββ Ξ²) (g : Ξ± β Ξ² β N β+ P) (x : N) : (f.sum g) x = f.sum fun i fi => (g i fi) x - AddMonoidHom.coe_finsuppSum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {N : Type u_10} {P : Type u_11} [Zero Ξ²] [AddZeroClass N] [AddCommMonoid P] (f : Ξ± ββ Ξ²) (g : Ξ± β Ξ² β N β+ P) : β(f.sum g) = f.sum fun i fi => β(g i fi) - Finsupp.equivFunOnFinite_symm_sum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} [Fintype Ξ±] [AddCommMonoid M] (f : Ξ± β M) : ((Finsupp.equivFunOnFinite.symm f).sum fun x n => n) = β a, f a - Finsupp.sum_eq_single π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} (a : Ξ±) {g : Ξ± β M β N} (hβ : β (b : Ξ±), f b β 0 β b β a β g b (f b) = 0) (hβ : f a = 0 β g a 0 = 0) : f.sum g = g a (f a) - Finsupp.sum_add_eq_sum_add_of_exists π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {f : Ξ± ββ M} {g : Ξ± β M β N} {nβ nβ : N} (a : Ξ±) (ha : a β f.support) (h : g a (f a) + nβ = g a (f a) + nβ) : f.sum g + nβ = f.sum g + nβ - Finsupp.sum_finsetSum π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {ΞΉ : Type u_2} {A : Type u_4} {B : Type u_5} [AddCommMonoid A] [AddCommMonoid B] (f : ΞΉ β Ξ± ββ A) (s : Finset ΞΉ) (g : Ξ± β A β B) (hβ : β (a : Ξ±), g a 0 = 0) (hβ : β (a : Ξ±) (mβ mβ : A), g a (mβ + mβ) = g a mβ + g a mβ) : (β i β s, f i).sum g = β i β s, (f i).sum g - Finsupp.sum_apply'' π Mathlib.Algebra.BigOperators.Finsupp.Basic
{ΞΉ : Type u_2} {Ξ³ : Type u_3} {B : Type u_5} [AddCommMonoid B] {A : Type u_16} {F : Type u_17} [AddZeroClass A] [AddCommMonoid F] [FunLike F Ξ³ B] (g : ΞΉ ββ A) (k : ΞΉ β A β F) (x : Ξ³) (h0 : 0 x = 0) (hadd : β (f g : F), (f + g) x = f x + g x) : (g.sum k) x = g.sum fun i a => (k i a) x - Finsupp.sum_finsetSum_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {ΞΉ : Type u_2} {M : Type u_8} {N : Type u_10} [AddCommMonoid M] [AddCommMonoid N] {s : Finset ΞΉ} {g : ΞΉ β Ξ± ββ M} {h : Ξ± β M β N} (h_zero : β (a : Ξ±), h a 0 = 0) (h_add : β (a : Ξ±) (bβ bβ : M), h a (bβ + bβ) = h a bβ + h a bβ) : β i β s, (g i).sum h = (β i β s, g i).sum h - Finsupp.sum_finset_sum_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {ΞΉ : Type u_2} {M : Type u_8} {N : Type u_10} [AddCommMonoid M] [AddCommMonoid N] {s : Finset ΞΉ} {g : ΞΉ β Ξ± ββ M} {h : Ξ± β M β N} (h_zero : β (a : Ξ±), h a 0 = 0) (h_add : β (a : Ξ±) (bβ bβ : M), h a (bβ + bβ) = h a bβ + h a bβ) : β i β s, (g i).sum h = (β i β s, g i).sum h - Finsupp.sum_indicator_index_eq_sum_attach π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] {s : Finset Ξ±} (f : (a : Ξ±) β a β s β M) {h : Ξ± β M β N} (h_zero : β a β s, h a 0 = 0) : (Finsupp.indicator s f).sum h = β x β s.attach, h (βx) (f βx β―) - Finsupp.sum_single_add_single π Mathlib.Algebra.BigOperators.Finsupp.Basic
{ΞΉ : Type u_2} {A : Type u_4} {B : Type u_5} [AddCommMonoid A] [AddCommMonoid B] (fβ fβ : ΞΉ) (gβ gβ : A) (F : ΞΉ β A β B) (H : fβ β fβ) (HF : β (f : ΞΉ), F f 0 = 0) : ((funβ | fβ => gβ) + funβ | fβ => gβ).sum F = F fβ gβ + F fβ gβ - Finsupp.prod_sum_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} {P : Type u_11} [Zero M] [AddCommMonoid N] [CommMonoid P] {f : Ξ± ββ M} {g : Ξ± β M β Ξ² ββ N} {h : Ξ² β N β P} (h_zero : β (a : Ξ²), h a 0 = 1) (h_add : β (a : Ξ²) (bβ bβ : N), h a (bβ + bβ) = h a bβ * h a bβ) : (f.sum g).prod h = f.prod fun a b => (g a b).prod h - Finsupp.sum_sum_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_7} {M : Type u_8} {N : Type u_10} {P : Type u_11} [Zero M] [AddCommMonoid N] [AddCommMonoid P] {f : Ξ± ββ M} {g : Ξ± β M β Ξ² ββ N} {h : Ξ² β N β P} (h_zero : β (a : Ξ²), h a 0 = 0) (h_add : β (a : Ξ²) (bβ bβ : N), h a (bβ + bβ) = h a bβ + h a bβ) : (f.sum g).sum h = f.sum fun a b => (g a b).sum h - Finsupp.multiset_sum_sum_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [AddCommMonoid M] [AddCommMonoid N] (f : Multiset (Ξ± ββ M)) (h : Ξ± β M β N) (hβ : β (a : Ξ±), h a 0 = 0) (hβ : β (a : Ξ±) (bβ bβ : M), h a (bβ + bβ) = h a bβ + h a bβ) : f.sum.sum h = (Multiset.map (fun g => g.sum h) f).sum - Finsupp.sum_add_index' π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [AddZeroClass M] [AddCommMonoid N] {f g : Ξ± ββ M} {h : Ξ± β M β N} (h_zero : β (a : Ξ±), h a 0 = 0) (h_add : β (a : Ξ±) (bβ bβ : M), h a (bβ + bβ) = h a bβ + h a bβ) : (f + g).sum h = f.sum h + g.sum h - Finsupp.sum_add_index_of_disjoint π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} [AddCommMonoid M] {f1 f2 : Ξ± ββ M} (hd : Disjoint f1.support f2.support) {Ξ² : Type u_16} [AddCommMonoid Ξ²] (g : Ξ± β M β Ξ²) : (f1 + f2).sum g = f1.sum g + f2.sum g - Finsupp.sum_sub_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {Ξ³ : Type u_3} {Ξ² : Type u_7} [AddGroup Ξ²] [AddCommGroup Ξ³] {f g : Ξ± ββ Ξ²} {h : Ξ± β Ξ² β Ξ³} (h_sub : β (a : Ξ±) (bβ bβ : Ξ²), h a (bβ - bβ) = h a bβ - h a bβ) : (f - g).sum h = f.sum h - g.sum h - Finsupp.sum_congr_of_eq_on_union π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [Zero M] [AddCommMonoid N] [DecidableEq Ξ±] {f1 f2 : Ξ± ββ M} {g1 g2 : Ξ± β M β N} (h : β x β f1.support βͺ f2.support, g1 x (f1 x) = g2 x (f2 x)) (h1 : β x β f1.support βͺ f2.support, g1 x 0 = 0) (h2 : β x β f1.support βͺ f2.support, g2 x 0 = 0) : f1.sum g1 = f2.sum g2 - Finsupp.sum_hom_add_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [AddZeroClass M] [AddCommMonoid N] {f g : Ξ± ββ M} (h : Ξ± β M β+ N) : ((f + g).sum fun x => β(h x)) = (f.sum fun x => β(h x)) + g.sum fun x => β(h x) - Finsupp.sum_add_index π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [DecidableEq Ξ±] [AddZeroClass M] [AddCommMonoid N] {f g : Ξ± ββ M} {h : Ξ± β M β N} (h_zero : β a β f.support βͺ g.support, h a 0 = 0) (h_add : β a β f.support βͺ g.support, β (bβ bβ : M), h a (bβ + bβ) = h a bβ + h a bβ) : (f + g).sum h = f.sum h + g.sum h - Finsupp.liftAddHom_apply π Mathlib.Algebra.BigOperators.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_8} {N : Type u_10} [AddZeroClass M] [AddCommMonoid N] (F : Ξ± β M β+ N) (f : Ξ± ββ M) : (Finsupp.liftAddHom F) f = f.sum fun x => β(F x) - Nat.cast_finsupp_sum π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {R : Type u_10} [Zero M] (f : Ξ± ββ M) [AddCommMonoidWithOne R] (g : Ξ± β M β β) : β(f.sum g) = f.sum fun a b => β(g a b) - Int.cast_finsupp_sum π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {R : Type u_10} [Zero M] (f : Ξ± ββ M) [AddCommGroupWithOne R] (g : Ξ± β M β β€) : β(f.sum g) = f.sum fun a b => β(g a b) - Rat.cast_finsupp_sum π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {R : Type u_10} [Zero M] (f : Ξ± ββ M) [DivisionRing R] [CharZero R] (g : Ξ± β M β β) : β(f.sum g) = f.sum fun a b => β(g a b) - Finsupp.sum_equivMapDomain π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [Zero M] [AddCommMonoid N] (f : Ξ± β Ξ²) (l : Ξ± ββ M) (g : Ξ² β M β N) : (Finsupp.equivMapDomain f l).sum g = l.sum fun a m => g (f a) m - Finsupp.sum_filter_index π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {N : Type u_6} [Zero M] (p : Ξ± β Prop) [DecidablePred p] (f : Ξ± ββ M) [AddCommMonoid N] (g : Ξ± β M β N) : (Finsupp.filter p f).sum g = β x β (Finsupp.filter p f).support, g x (f x) - Finsupp.sum_subtypeDomain_index π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {N : Type u_6} [Zero M] {p : Ξ± β Prop} [AddCommMonoid N] {v : Ξ± ββ M} {h : Ξ± β M β N} (hp : β x β v.support, p x) : ((Finsupp.subtypeDomain p v).sum fun a b => h (βa) b) = v.sum h - Finsupp.sum_mapDomain_index_inj π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [AddCommMonoid M] [AddCommMonoid N] {f : Ξ± β Ξ²} {s : Ξ± ββ M} {h : Ξ² β M β N} (hf : Function.Injective f) : (Finsupp.mapDomain f s).sum h = s.sum fun a b => h (f a) b - Finsupp.sigma_sum π Mathlib.Data.Finsupp.Basic
{ΞΉ : Type u_4} {M : Type u_5} {N : Type u_6} {Ξ±s : ΞΉ β Type u_12} [Zero M] (l : (i : ΞΉ) Γ Ξ±s i ββ M) [AddCommMonoid N] (f : (i : ΞΉ) Γ Ξ±s i β M β N) : l.sum f = β i β l.splitSupport, (l.split i).sum fun a b => f β¨i, aβ© b - Finsupp.sum_curry_index π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [Zero M] [AddCommMonoid N] (f : Ξ± Γ Ξ² ββ M) (g : Ξ± β Ξ² β M β N) : (f.curry.sum fun a f => f.sum (g a)) = f.sum fun p c => g p.1 p.2 c - Finsupp.sum_uncurry_index π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [Zero M] [AddCommMonoid N] (f : Ξ± ββ Ξ² ββ M) (g : Ξ± Γ Ξ² β M β N) : (f.uncurry.sum fun p c => g p c) = f.sum fun a f => f.sum fun b => g (a, b) - Finsupp.sum_uncurry_index' π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [Zero M] [AddCommMonoid N] (f : Ξ± ββ Ξ² ββ M) (g : Ξ± β Ξ² β M β N) : (f.uncurry.sum fun p c => g p.1 p.2 c) = f.sum fun a f => f.sum (g a) - Finsupp.sum_filter_add_sum_filter_not π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {N : Type u_6} [Zero M] (p : Ξ± β Prop) [DecidablePred p] (f : Ξ± ββ M) [AddCommMonoid N] (g : Ξ± β M β N) : (Finsupp.filter p f).sum g + (Finsupp.filter (fun a => Β¬p a) f).sum g = f.sum g - Finsupp.sum_sub_sum_filter π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {M : Type u_5} {G : Type u_8} [Zero M] (p : Ξ± β Prop) [DecidablePred p] (f : Ξ± ββ M) [AddCommGroup G] (g : Ξ± β M β G) : f.sum g - (Finsupp.filter p f).sum g = (Finsupp.filter (fun a => Β¬p a) f).sum g - Finsupp.sum_sumElim π Mathlib.Data.Finsupp.Basic
{ΞΉβ : Type u_12} {ΞΉβ : Type u_13} {Ξ± : Type u_14} {M : Type u_15} [Zero Ξ±] [AddCommMonoid M] (fβ : ΞΉβ ββ Ξ±) (fβ : ΞΉβ ββ Ξ±) (g : ΞΉβ β ΞΉβ β Ξ± β M) : (fβ.sumElim fβ).sum g = fβ.sum (g β Sum.inl) + fβ.sum (g β Sum.inr) - Finsupp.mapDomain_sum π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [AddCommMonoid M] [Zero N] {f : Ξ± β Ξ²} {s : Ξ± ββ N} {v : Ξ± β N β Ξ± ββ M} : Finsupp.mapDomain f (s.sum v) = s.sum fun a b => Finsupp.mapDomain f (v a b) - Finsupp.sum_comapDomain π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [Zero M] [AddCommMonoid N] (f : Ξ± β Ξ²) (l : Ξ² ββ M) (g : Ξ² β M β N) (hf : Set.BijOn f (f β»ΒΉ' βl.support) βl.support) : (Finsupp.comapDomain f l β―).sum (g β f) = l.sum g - Finsupp.subtypeDomain_finsupp_sum π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [AddCommMonoid M] {p : Ξ± β Prop} [Zero N] {s : Ξ² ββ N} {h : Ξ² β N β Ξ± ββ M} : Finsupp.subtypeDomain p (s.sum h) = s.sum fun c d => Finsupp.subtypeDomain p (h c d) - Finsupp.sum_mapDomain_index π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [AddCommMonoid M] [AddCommMonoid N] {f : Ξ± β Ξ²} {s : Ξ± ββ M} {h : Ξ² β M β N} (h_zero : β (b : Ξ²), h b 0 = 0) (h_add : β (b : Ξ²) (mβ mβ : M), h b (mβ + mβ) = h b mβ + h b mβ) : (Finsupp.mapDomain f s).sum h = s.sum fun a m => h (f a) m - Finsupp.sum_mapDomain_index_addMonoidHom π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {M : Type u_5} {N : Type u_6} [AddCommMonoid M] [AddCommMonoid N] {f : Ξ± β Ξ²} {s : Ξ± ββ M} (h : Ξ² β M β+ N) : ((Finsupp.mapDomain f s).sum fun b m => (h b) m) = s.sum fun a m => (h (f a)) m - Finsupp.sum_update_add π Mathlib.Data.Finsupp.Basic
{Ξ± : Type u_1} {Ξ² : Type u_2} {ΞΉ : Type u_4} [AddZeroClass Ξ±] [AddCommMonoid Ξ²] (f : ΞΉ ββ Ξ±) (i : ΞΉ) (a : Ξ±) (g : ΞΉ β Ξ± β Ξ²) (hg : β (i : ΞΉ), g i 0 = 0) (hgg : β (j : ΞΉ) (aβ aβ : Ξ±), g j (aβ + aβ) = g j aβ + g j aβ) : (f.update i a).sum g + g i (f i) = f.sum g + g i a - Finsupp.sum_option_index π Mathlib.Data.Finsupp.Option
{Ξ± : Type u_1} {M : Type u_2} {N : Type u_3} [AddZeroClass M] [AddCommMonoid N] (f : Option Ξ± ββ M) (b : Option Ξ± β M β N) (h_zero : β (o : Option Ξ±), b o 0 = 0) (h_add : β (o : Option Ξ±) (mβ mβ : M), b o (mβ + mβ) = b o mβ + b o mβ) : f.sum b = b none (f none) + f.some.sum fun a => b (some a) - Finsupp.sum_option_index_smul π Mathlib.Data.Finsupp.Option
{Ξ± : Type u_1} {M : Type u_2} {R : Type u_4} [Semiring R] [AddCommMonoid M] [Module R M] (f : Option Ξ± ββ R) (b : Option Ξ± β M) : (f.sum fun o r => r β’ b o) = f none β’ b none + f.some.sum fun a r => r β’ b (some a) - Finsupp.sum_smul_index' π Mathlib.Data.Finsupp.SMul
{Ξ± : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [Zero M] [SMulZeroClass R M] [AddCommMonoid N] {g : Ξ± ββ M} {b : R} {h : Ξ± β M β N} (h0 : β (i : Ξ±), h i 0 = 0) : (b β’ g).sum h = g.sum fun i c => h i (b β’ c) - Finsupp.sum_smul_index π Mathlib.Data.Finsupp.SMul
{Ξ± : Type u_1} {M : Type u_3} {R : Type u_6} [MulZeroClass R] [AddCommMonoid M] {g : Ξ± ββ R} {b : R} {h : Ξ± β R β M} (h0 : β (i : Ξ±), h i 0 = 0) : (b β’ g).sum h = g.sum fun i a => h i (b * a) - Finsupp.sum_smul_index_addMonoidHom π Mathlib.Data.Finsupp.SMul
{Ξ± : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [AddZeroClass M] [AddCommMonoid N] [SMulZeroClass R M] {g : Ξ± ββ M} {b : R} {h : Ξ± β M β+ N} : ((b β’ g).sum fun a => β(h a)) = g.sum fun i c => (h i) (b β’ c) - Finsupp.smul_sum π Mathlib.LinearAlgebra.Finsupp.LSum
{Ξ± : Type u_1} {Ξ² : Type u_2} {R : Type u_3} {M : Type u_5} [Zero Ξ²] [AddCommMonoid M] [DistribSMul R M] {v : Ξ± ββ Ξ²} {c : R} {h : Ξ± β Ξ² β M} : c β’ v.sum h = v.sum fun a b => c β’ h a b - Submodule.finsuppSum_mem π Mathlib.LinearAlgebra.Finsupp.LSum
(R : Type u_1) {M : Type u_2} [Semiring R] [AddCommMonoid M] [Module R M] {ΞΉ : Type u_4} {Ξ² : Type u_5} [Zero Ξ²] (S : Submodule R M) (f : ΞΉ ββ Ξ²) (g : ΞΉ β Ξ² β M) (h : β (c : ΞΉ), f c β 0 β g c (f c) β S) : f.sum g β S - LinearMap.finsupp_sum_apply π Mathlib.LinearAlgebra.Finsupp.LSum
{R : Type u_4} {Rβ : Type u_5} {M : Type u_6} {Mβ : Type u_7} {ΞΉ : Type u_8} [Semiring R] [Semiring Rβ] [AddCommMonoid M] [AddCommMonoid Mβ] {Οββ : R β+* Rβ} [Module R M] [Module Rβ Mβ] {Ξ³ : Type u_9} [Zero Ξ³] (t : ΞΉ ββ Ξ³) (g : ΞΉ β Ξ³ β M βββ[Οββ] Mβ) (b : M) : (t.sum g) b = t.sum fun i d => (g i d) b - LinearMap.coe_finsupp_sum π Mathlib.LinearAlgebra.Finsupp.LSum
{R : Type u_4} {Rβ : Type u_5} {M : Type u_6} {Mβ : Type u_7} {ΞΉ : Type u_8} [Semiring R] [Semiring Rβ] [AddCommMonoid M] [AddCommMonoid Mβ] {Οββ : R β+* Rβ} [Module R M] [Module Rβ Mβ] {Ξ³ : Type u_9} [Zero Ξ³] (t : ΞΉ ββ Ξ³) (g : ΞΉ β Ξ³ β M βββ[Οββ] Mβ) : β(t.sum g) = β(t.sum fun i d => g i d) - Finsupp.sum_smul_index_linearMap' π Mathlib.LinearAlgebra.Finsupp.LSum
{Ξ± : Type u_1} {R : Type u_3} {M : Type u_5} {Mβ : Type u_6} [Semiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid Mβ] [Module R Mβ] {v : Ξ± ββ M} {c : R} {h : Ξ± β M ββ[R] Mβ} : ((c β’ v).sum fun a => β(h a)) = c β’ v.sum fun a => β(h a) - Finsupp.sum_smul_index_semilinearMap' π Mathlib.LinearAlgebra.Finsupp.LSum
{Ξ± : Type u_1} {R : Type u_3} {Rβ : Type u_4} {M : Type u_5} {Mβ : Type u_6} [Semiring R] [Semiring Rβ] [AddCommMonoid M] [Module R M] [AddCommMonoid Mβ] [Module Rβ Mβ] {Ο : R β+* Rβ} {v : Ξ± ββ M} {c : R} {h : Ξ± β M βββ[Ο] Mβ} : ((c β’ v).sum fun a => β(h a)) = Ο c β’ v.sum fun a => β(h a) - Finsupp.lift_apply π Mathlib.LinearAlgebra.Finsupp.LSum
(M : Type u_2) (R : Type u_4) [Semiring R] [AddCommMonoid M] [Module R M] (X : Type u_7) (f : X β M) (g : X ββ R) : ((Finsupp.lift M R X) f) g = g.sum fun x r => r β’ f x - Submodule.mulLeftMap_apply π Mathlib.LinearAlgebra.Finsupp.LSum
{R : Type u_1} [Semiring R] {S : Type u_4} [Semiring S] [Module R S] [SMulCommClass R R S] [SMulCommClass R S S] {M N : Submodule R S} {ΞΉ : Type u_5} (m : ΞΉ β β₯M) (n : ΞΉ ββ β₯N) : (Submodule.mulLeftMap N m) n = n.sum fun i n => β(m i) * βn - Submodule.mulRightMap_apply π Mathlib.LinearAlgebra.Finsupp.LSum
{R : Type u_1} [Semiring R] {S : Type u_4} [Semiring S] [Module R S] [SMulCommClass R R S] [IsScalarTower R S S] {M N : Submodule R S} {ΞΉ : Type u_5} (n : ΞΉ β β₯N) (m : ΞΉ ββ β₯M) : (M.mulRightMap n) m = m.sum fun i m => βm * β(n i) - Finsupp.lsum_apply π Mathlib.LinearAlgebra.Finsupp.LSum
{Ξ± : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_4} {Rβ : Type u_5} (S : Type u_6) [Semiring R] [Semiring Rβ] [Semiring S] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module Rβ N] {Ο : R β+* Rβ} [Module S N] [SMulCommClass Rβ S N] (f : Ξ± β M βββ[Ο] N) (l : Ξ± ββ M) : ((Finsupp.lsum S) f) l = l.sum fun b => β(f b) - Finsupp.coe_lsum π Mathlib.LinearAlgebra.Finsupp.LSum
{Ξ± : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_4} {Rβ : Type u_5} (S : Type u_6) [Semiring R] [Semiring Rβ] [Semiring S] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module Rβ N] {Ο : R β+* Rβ} [Module S N] [SMulCommClass Rβ S N] (f : Ξ± β M βββ[Ο] N) : β((Finsupp.lsum S) f) = fun d => d.sum fun i => β(f i) - Finsupp.mem_span_range_iff_exists_finsupp π Mathlib.LinearAlgebra.Finsupp.LinearCombination
{Ξ± : Type u_1} {M : Type u_2} {R : Type u_3} [Semiring R] [AddCommMonoid M] [Module R M] {v : Ξ± β M} {x : M} : x β Submodule.span R (Set.range v) β β c, (c.sum fun i a => a β’ v i) = x - Submodule.mem_span_set π Mathlib.LinearAlgebra.Finsupp.LinearCombination
{R : Type u_1} {M : Type u_2} [Semiring R] [AddCommMonoid M] [Module R M] {m : M} {s : Set M} : m β Submodule.span R s β β c, βc.support β s β§ (c.sum fun mi r => r β’ mi) = m - Finsupp.linearCombination_apply π Mathlib.LinearAlgebra.Finsupp.LinearCombination
{Ξ± : Type u_1} {M : Type u_2} (R : Type u_3) [Semiring R] [AddCommMonoid M] [Module R M] {v : Ξ± β M} (l : Ξ± ββ R) : (Finsupp.linearCombination R v) l = l.sum fun i a => a β’ v i - Module.Basis.coe_sumCoords π Mathlib.LinearAlgebra.Basis.Defs
{ΞΉ : Type u_7} {R : Type u_8} {M : Type u_9} [Semiring R] [AddCommMonoid M] [Module R M] (b : Module.Basis ΞΉ R M) : βb.sumCoords = fun m => (b.repr m).sum fun x => id - Module.Basis.constr_apply π Mathlib.LinearAlgebra.Basis.Defs
{M' : Type u_5} [AddCommMonoid M'] {ΞΉ : Type u_7} {R : Type u_8} {M : Type u_9} [Semiring R] [AddCommMonoid M] [Module R M] (b : Module.Basis ΞΉ R M) [Module R M'] (S : Type u_10) [Semiring S] [Module S M'] [SMulCommClass R S M'] (f : ΞΉ β M') (x : M) : ((b.constr S) f) x = (b.repr x).sum fun b a => a β’ f b - not_linearIndependent_iff_finsupp π Mathlib.LinearAlgebra.LinearIndependent.Defs
{ΞΉ : Type u'} {R : Type u_2} {M : Type u_4} [Ring R] [AddCommGroup M] [Module R M] {v : ΞΉ β M} : Β¬LinearIndependent R v β β f, (f.sum fun x r => r β’ v x) = 0 β§ f β 0 - Module.Basis.mem_submodule_iff π Mathlib.LinearAlgebra.Basis.Submodule
{ΞΉ : Type u_1} {R : Type u_2} {M : Type u_3} [Semiring R] [AddCommMonoid M] [Module R M] {P : Submodule R M} (b : Module.Basis ΞΉ R β₯P) {x : M} : x β P β β c, x = c.sum fun i x => x β’ β(b i) - Submodule.mem_iSup_iff_exists_finsupp π Mathlib.LinearAlgebra.DFinsupp
{ΞΉ : Type u_1} {R : Type u_3} {N : Type u_6} [Semiring R] [AddCommMonoid N] [Module R N] (p : ΞΉ β Submodule R N) (x : N) : x β iSup p β β f, (β (i : ΞΉ), f i β p i) β§ (f.sum fun _i xi => xi) = x - AddMonoidAlgebra.sum_coeff_single π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] (f : AddMonoidAlgebra R M) : f.coeff.sum AddMonoidAlgebra.single = f - AddMonoidAlgebra.sum_single π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] (f : AddMonoidAlgebra R M) : f.coeff.sum AddMonoidAlgebra.single = f - MonoidAlgebra.sum_coeff_single π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] (f : MonoidAlgebra R M) : f.coeff.sum MonoidAlgebra.single = f - MonoidAlgebra.sum_single π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] (f : MonoidAlgebra R M) : f.coeff.sum MonoidAlgebra.single = f - AddMonoidAlgebra.sum_single_index π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} [Semiring R] [AddCommMonoid N] {m : M} {r : R} {h : M β R β N} (h_zero : h m 0 = 0) : (AddMonoidAlgebra.single m r).coeff.sum h = h m r - MonoidAlgebra.sum_single_index π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} [Semiring R] [AddCommMonoid N] {m : M} {r : R} {h : M β R β N} (h_zero : h m 0 = 0) : (MonoidAlgebra.single m r).coeff.sum h = h m r - AddMonoidAlgebra.coeff_finsuppSum π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} {ΞΉ : Type u_7} [Semiring R] [AddCommMonoid N] (f : ΞΉ ββ N) (g : ΞΉ β N β AddMonoidAlgebra R M) : (f.sum g).coeff = f.sum fun i n => (g i n).coeff - AddMonoidAlgebra.ofCoeff_finsuppSum π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} {ΞΉ : Type u_7} [Semiring R] [AddCommMonoid N] (f : ΞΉ ββ N) (g : ΞΉ β N β M ββ R) : AddMonoidAlgebra.ofCoeff (f.sum g) = f.sum fun i n => AddMonoidAlgebra.ofCoeff (g i n) - MonoidAlgebra.coeff_finsuppSum π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} {ΞΉ : Type u_7} [Semiring R] [AddCommMonoid N] (f : ΞΉ ββ N) (g : ΞΉ β N β MonoidAlgebra R M) : (f.sum g).coeff = f.sum fun i n => (g i n).coeff - MonoidAlgebra.ofCoeff_finsuppSum π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} {ΞΉ : Type u_7} [Semiring R] [AddCommMonoid N] (f : ΞΉ ββ N) (g : ΞΉ β N β M ββ R) : MonoidAlgebra.ofCoeff (f.sum g) = f.sum fun i n => MonoidAlgebra.ofCoeff (g i n) - AddMonoidAlgebra.mul_def π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] [Add M] (x y : AddMonoidAlgebra R M) : x * y = x.coeff.sum fun mβ rβ => y.coeff.sum fun mβ rβ => AddMonoidAlgebra.single (mβ + mβ) (rβ * rβ) - MonoidAlgebra.mul_def π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] [Mul M] (x y : MonoidAlgebra R M) : x * y = x.coeff.sum fun mβ rβ => y.coeff.sum fun mβ rβ => MonoidAlgebra.single (mβ * mβ) (rβ * rβ) - AddMonoidAlgebra.finsuppProd_single π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} {N : Type u_5} {ΞΉ : Type u_7} [CommSemiring R] [AddCommMonoid M] [AddCommMonoid N] (f : ΞΉ ββ N) (m : ΞΉ β N β M) (r : ΞΉ β N β R) : (f.prod fun i n => AddMonoidAlgebra.single (m i n) (r i n)) = AddMonoidAlgebra.single (f.sum m) (f.prod r) - AddMonoidAlgebra.coeff_mul π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] [Add M] [DecidableEq M] (x y : AddMonoidAlgebra R M) (m : M) : (x * y).coeff m = x.coeff.sum fun mβ rβ => y.coeff.sum fun mβ rβ => if mβ + mβ = m then rβ * rβ else 0 - AddMonoidAlgebra.mul_apply π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] [Add M] [DecidableEq M] (x y : AddMonoidAlgebra R M) (m : M) : (x * y).coeff m = x.coeff.sum fun mβ rβ => y.coeff.sum fun mβ rβ => if mβ + mβ = m then rβ * rβ else 0 - MonoidAlgebra.coeff_mul π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] [Mul M] [DecidableEq M] (x y : MonoidAlgebra R M) (m : M) : (x * y).coeff m = x.coeff.sum fun mβ rβ => y.coeff.sum fun mβ rβ => if mβ * mβ = m then rβ * rβ else 0 - MonoidAlgebra.mul_apply π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {M : Type u_4} [Semiring R] [Mul M] [DecidableEq M] (x y : MonoidAlgebra R M) (m : M) : (x * y).coeff m = x.coeff.sum fun mβ rβ => y.coeff.sum fun mβ rβ => if mβ * mβ = m then rβ * rβ else 0 - AddMonoidAlgebra.coeff_mul_apply_left π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {G : Type u_3} [Semiring R] [AddGroup G] (x y : AddMonoidAlgebra R G) (g : G) : (x * y).coeff g = x.coeff.sum fun h r => r * y.coeff (-h + g) - AddMonoidAlgebra.coeff_mul_apply_right π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {G : Type u_3} [Semiring R] [AddGroup G] (x y : AddMonoidAlgebra R G) (g : G) : (x * y).coeff g = y.coeff.sum fun h r => x.coeff (g + -h) * r - MonoidAlgebra.coeff_mul_apply_left π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {G : Type u_3} [Semiring R] [Group G] (x y : MonoidAlgebra R G) (g : G) : (x * y).coeff g = x.coeff.sum fun h r => r * y.coeff (hβ»ΒΉ * g) - MonoidAlgebra.coeff_mul_apply_right π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {G : Type u_3} [Semiring R] [Group G] (x y : MonoidAlgebra R G) (g : G) : (x * y).coeff g = y.coeff.sum fun h r => x.coeff (g * hβ»ΒΉ) * r - MonoidAlgebra.mul_apply_left π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {G : Type u_3} [Semiring R] [Group G] (x y : MonoidAlgebra R G) (g : G) : (x * y).coeff g = x.coeff.sum fun h r => r * y.coeff (hβ»ΒΉ * g) - MonoidAlgebra.mul_apply_right π Mathlib.Algebra.MonoidAlgebra.Defs
{R : Type u_1} {G : Type u_3} [Semiring R] [Group G] (x y : MonoidAlgebra R G) (g : G) : (x * y).coeff g = y.coeff.sum fun h r => x.coeff (g * hβ»ΒΉ) * r - AddMonoidAlgebra.mapDomain_sum π Mathlib.Algebra.MonoidAlgebra.MapDomain
{R : Type u_3} {S : Type u_4} {M : Type u_6} {N : Type u_7} [Semiring R] [Semiring S] (f : M β N) (x : AddMonoidAlgebra S M) (v : M β S β AddMonoidAlgebra R M) : AddMonoidAlgebra.mapDomain f (x.coeff.sum v) = x.coeff.sum fun a b => AddMonoidAlgebra.mapDomain f (v a b) - MonoidAlgebra.mapDomain_sum π Mathlib.Algebra.MonoidAlgebra.MapDomain
{R : Type u_3} {S : Type u_4} {M : Type u_6} {N : Type u_7} [Semiring R] [Semiring S] (f : M β N) (x : MonoidAlgebra S M) (v : M β S β MonoidAlgebra R M) : MonoidAlgebra.mapDomain f (x.coeff.sum v) = x.coeff.sum fun a b => MonoidAlgebra.mapDomain f (v a b) - Submodule.mem_set_smul π Mathlib.Algebra.Module.Submodule.Finsupp
{R : Type u_2} {M : Type u_3} [Semiring R] [AddCommMonoid M] [Module R M] (sR : Set R) (N : Submodule R M) (x : M) [SMulCommClass R R β₯N] : x β sR β’ N β β c, βc.support β sR β§ x = β(c.sum fun r m => r β’ m) - Finsupp.mem_ideal_span_range_iff_exists_finsupp π Mathlib.RingTheory.Ideal.Operations
{Ξ± : Type u_1} {R : Type u_2} [Semiring R] {x : R} {v : Ξ± β R} : x β Ideal.span (Set.range v) β β c, (c.sum fun i a => a * v i) = x - Submodule.mem_ideal_smul_span_iff_exists_sum π Mathlib.RingTheory.Ideal.Operations
{R : Type u} {M : Type v} [Semiring R] [AddCommMonoid M] [Module R M] (I : Ideal R) [I.IsTwoSided] {ΞΉ : Type u_4} (f : ΞΉ β M) (x : M) : x β I β’ Submodule.span R (Set.range f) β β a, β (_ : β (i : ΞΉ), a i β I), (a.sum fun i c => c β’ f i) = x - Submodule.mem_ideal_smul_span_iff_exists_sum' π Mathlib.RingTheory.Ideal.Operations
{R : Type u} {M : Type v} [Semiring R] [AddCommMonoid M] [Module R M] (I : Ideal R) [I.IsTwoSided] {ΞΉ : Type u_4} (s : Set ΞΉ) (f : ΞΉ β M) (x : M) : x β I β’ Submodule.span R (f '' s) β β a, β (_ : β (i : βs), a i β I), (a.sum fun i c => c β’ f βi) = x - Ideal.finsuppTotal_apply π Mathlib.RingTheory.Ideal.Operations
{ΞΉ : Type u_1} {M : Type u_2} [AddCommGroup M] {R : Type u_3} [CommRing R] [Module R M] (I : Ideal R) {v : ΞΉ β M} (f : ΞΉ ββ β₯I) : (Ideal.finsuppTotal ΞΉ M I v) f = f.sum fun i x => βx β’ v i - Submodule.mem_span_set_iff_exists_finsupp_le_finrank π Mathlib.LinearAlgebra.Dimension.StrongRankCondition
{K : Type u_2} {M : Type u_3} [DivisionRing K] [AddCommGroup M] [Module K M] {s : Set M} {x : M} [Module.Finite K β₯(Submodule.span K s)] : x β Submodule.span K s β β c, c.support.card β€ Module.finrank K β₯(Submodule.span K s) β§ βc.support β s β§ (c.sum fun mi r => r β’ mi) = x - Sym.equivNatSum π Mathlib.Data.Finsupp.Multiset
(Ξ± : Type u_1) [DecidableEq Ξ±] (n : β) : Sym Ξ± n β { P // (P.sum fun x => id) = n } - Finsupp.sum_id_lt_of_lt π Mathlib.Data.Finsupp.Multiset
{ΞΉ : Type u_3} (m n : ΞΉ ββ β) (h : m < n) : (m.sum fun x => id) < n.sum fun x => id - Multiset.toFinsupp_sum_eq π Mathlib.Data.Finsupp.Multiset
{Ξ± : Type u_1} [DecidableEq Ξ±] (s : Multiset Ξ±) : ((Multiset.toFinsupp s).sum fun x => id) = s.card - Finsupp.card_toMultiset π Mathlib.Data.Finsupp.Multiset
{Ξ± : Type u_1} (f : Ξ± ββ β) : (Finsupp.toMultiset f).card = f.sum fun x => id - Finsupp.sum_toMultiset π Mathlib.Data.Finsupp.Multiset
{Ξ± : Type u_1} [AddCommMonoid Ξ±] (f : Ξ± ββ β) : (Finsupp.toMultiset f).sum = f.sum fun a n => n β’ a - Finsupp.toMultiset_apply π Mathlib.Data.Finsupp.Multiset
{Ξ± : Type u_1} (f : Ξ± ββ β) : Finsupp.toMultiset f = f.sum fun a n => n β’ {a} - Sym.coe_equivNatSum_apply_apply π Mathlib.Data.Finsupp.Multiset
(Ξ± : Type u_1) [DecidableEq Ξ±] (n : β) (s : Sym Ξ± n) (a : Ξ±) : β((Sym.equivNatSum Ξ± n) s) a = Multiset.count a βs - Sym.coe_equivNatSum_symm_apply π Mathlib.Data.Finsupp.Multiset
(Ξ± : Type u_1) [DecidableEq Ξ±] (n : β) (P : { P // (P.sum fun x => id) = n }) : β((Sym.equivNatSum Ξ± n).symm P) = Finsupp.toMultiset βP - TensorProduct.finsuppScalarLeft_apply_tmul π Mathlib.LinearAlgebra.DirectSum.Finsupp
{R : Type u_1} [CommSemiring R] {N : Type u_4} [AddCommMonoid N] [Module R N] {ΞΉ : Type u_5} [DecidableEq ΞΉ] (p : ΞΉ ββ R) (n : N) : (TensorProduct.finsuppScalarLeft R N ΞΉ) (p ββ[R] n) = p.sum fun i m => funβ | i => m β’ n - TensorProduct.finsuppScalarRight_apply_tmul π Mathlib.LinearAlgebra.DirectSum.Finsupp
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {M : Type u_3} [AddCommMonoid M] [Module R M] [Module S M] [IsScalarTower R S M] {ΞΉ : Type u_5} [DecidableEq ΞΉ] (m : M) (p : ΞΉ ββ R) : (TensorProduct.finsuppScalarRight R S M ΞΉ) (m ββ[R] p) = p.sum fun i n => funβ | i => n β’ m - TensorProduct.finsuppRight_apply_tmul π Mathlib.LinearAlgebra.DirectSum.Finsupp
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {M : Type u_3} [AddCommMonoid M] [Module R M] [Module S M] [IsScalarTower R S M] {N : Type u_4} [AddCommMonoid N] [Module R N] {ΞΉ : Type u_5} [DecidableEq ΞΉ] (m : M) (p : ΞΉ ββ N) : (TensorProduct.finsuppRight R S M N ΞΉ) (m ββ[R] p) = p.sum fun i n => funβ | i => m ββ[R] n - TensorProduct.finsuppLeft_apply_tmul π Mathlib.LinearAlgebra.DirectSum.Finsupp
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {M : Type u_3} [AddCommMonoid M] [Module R M] [Module S M] [IsScalarTower R S M] {N : Type u_4} [AddCommMonoid N] [Module R N] {ΞΉ : Type u_5} [DecidableEq ΞΉ] (p : ΞΉ ββ M) (n : N) : (TensorProduct.finsuppLeft R S M N ΞΉ) (p ββ[R] n) = p.sum fun i m => funβ | i => m ββ[R] n - TensorProduct.eq_repr_basis_left π Mathlib.LinearAlgebra.TensorProduct.Basis
{R : Type u_1} {M : Type u_3} {N : Type u_4} {ΞΉ : Type u_5} [CommSemiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module R N] (β¬ : Module.Basis ΞΉ R M) (x : TensorProduct R M N) : β c, (c.sum fun i n => β¬ i ββ[R] n) = x - TensorProduct.eq_repr_basis_right π Mathlib.LinearAlgebra.TensorProduct.Basis
{R : Type u_1} {M : Type u_3} {N : Type u_4} {ΞΊ : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module R N] (π : Module.Basis ΞΊ R N) (x : TensorProduct R M N) : β b, (b.sum fun i m => m ββ[R] π i) = x - TensorProduct.sum_tmul_basis_left_eq_zero π Mathlib.LinearAlgebra.TensorProduct.Basis
{R : Type u_1} {M : Type u_3} {N : Type u_4} {ΞΉ : Type u_5} [CommSemiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module R N] (β¬ : Module.Basis ΞΉ R M) (b : ΞΉ ββ N) (h : (b.sum fun i n => β¬ i ββ[R] n) = 0) : b = 0 - TensorProduct.sum_tmul_basis_right_eq_zero π Mathlib.LinearAlgebra.TensorProduct.Basis
{R : Type u_1} {M : Type u_3} {N : Type u_4} {ΞΊ : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module R N] (π : Module.Basis ΞΊ R N) (b : ΞΊ ββ M) (h : (b.sum fun i m => m ββ[R] π i) = 0) : b = 0 - TensorProduct.equivFinsuppOfBasisLeft_symm_apply π Mathlib.LinearAlgebra.TensorProduct.Basis
{R : Type u_1} {M : Type u_3} {N : Type u_4} {ΞΉ : Type u_5} [CommSemiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module R N] [DecidableEq ΞΉ] (β¬ : Module.Basis ΞΉ R M) (b : ΞΉ ββ N) : (TensorProduct.equivFinsuppOfBasisLeft β¬).symm b = b.sum fun i n => β¬ i ββ[R] n - TensorProduct.equivFinsuppOfBasisRight_symm_apply π Mathlib.LinearAlgebra.TensorProduct.Basis
{R : Type u_1} {M : Type u_3} {N : Type u_4} {ΞΊ : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] [AddCommMonoid N] [Module R N] [DecidableEq ΞΊ] (π : Module.Basis ΞΊ R N) (b : ΞΊ ββ M) : (TensorProduct.equivFinsuppOfBasisRight π).symm b = b.sum fun i m => m ββ[R] π i - star_finsuppSum π Mathlib.Algebra.Star.BigOperators
{R : Type u_1} {ΞΉ : Type u_2} {M : Type u_3} [Zero M] [AddCommMonoid R] [StarAddMonoid R] (s : ΞΉ ββ M) (f : ΞΉ β M β R) : star (s.sum f) = s.sum fun i m => star f i m - AddMonoidAlgebra.lift_unique π Mathlib.Algebra.MonoidAlgebra.Basic
{R : Type u_1} {A : Type u_4} {M : Type u_7} [CommSemiring R] [AddMonoid M] [Semiring A] [Algebra R A] (F : AddMonoidAlgebra R M ββ[R] A) (f : AddMonoidAlgebra R M) : F f = f.coeff.sum fun m r => r β’ F (AddMonoidAlgebra.single m 1) - MonoidAlgebra.lift_unique π Mathlib.Algebra.MonoidAlgebra.Basic
{R : Type u_1} {A : Type u_4} {M : Type u_7} [CommSemiring R] [Semiring A] [Algebra R A] [Monoid M] (F : MonoidAlgebra R M ββ[R] A) (f : MonoidAlgebra R M) : F f = f.coeff.sum fun a b => b β’ F (MonoidAlgebra.single a 1) - MonoidAlgebra.lift_apply π Mathlib.Algebra.MonoidAlgebra.Basic
{R : Type u_1} {A : Type u_4} {M : Type u_7} [CommSemiring R] [Semiring A] [Algebra R A] [Monoid M] (F : M β* A) (f : MonoidAlgebra R M) : ((MonoidAlgebra.lift R A M) F) f = f.coeff.sum fun a b => b β’ F a - MonoidAlgebra.lift_apply' π Mathlib.Algebra.MonoidAlgebra.Basic
{R : Type u_1} {A : Type u_4} {M : Type u_7} [CommSemiring R] [Semiring A] [Algebra R A] [Monoid M] (F : M β* A) (f : MonoidAlgebra R M) : ((MonoidAlgebra.lift R A M) F) f = f.coeff.sum fun a b => (algebraMap R A) b * F a - AddMonoidAlgebra.lift_apply π Mathlib.Algebra.MonoidAlgebra.Basic
{R : Type u_1} {A : Type u_4} {M : Type u_7} [CommSemiring R] [AddMonoid M] [Semiring A] [Algebra R A] (F : Multiplicative M β* A) (f : AddMonoidAlgebra R M) : ((AddMonoidAlgebra.lift R A M) F) f = f.coeff.sum fun a b => b β’ F (Multiplicative.ofAdd a) - AddMonoidAlgebra.lift_apply' π Mathlib.Algebra.MonoidAlgebra.Basic
{R : Type u_1} {A : Type u_4} {M : Type u_7} [CommSemiring R] [AddMonoid M] [Semiring A] [Algebra R A] (F : Multiplicative M β* A) (f : AddMonoidAlgebra R M) : ((AddMonoidAlgebra.lift R A M) F) f = f.coeff.sum fun a b => (algebraMap R A) b * F (Multiplicative.ofAdd a) - Finsupp.sum_nonneg' π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedAddMonoid Ξ²] {f : ΞΉ ββ Ξ±} {hβ : ΞΉ β Ξ± β Ξ²} (h : β (i : ΞΉ), 0 β€ hβ i (f i)) : 0 β€ f.sum hβ - Finsupp.sum_le_sum π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedAddMonoid Ξ²] {f : ΞΉ ββ Ξ±} {hβ hβ : ΞΉ β Ξ± β Ξ²} (h : β i β f.support, hβ i (f i) β€ hβ i (f i)) : f.sum hβ β€ f.sum hβ - Finsupp.sum_nonneg π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedAddMonoid Ξ²] {f : ΞΉ ββ Ξ±} {hβ : ΞΉ β Ξ± β Ξ²} (h : β i β f.support, 0 β€ hβ i (f i)) : 0 β€ f.sum hβ - Finsupp.sum_nonpos π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedAddMonoid Ξ²] {f : ΞΉ ββ Ξ±} {hβ : ΞΉ β Ξ± β Ξ²} (h : β i β f.support, hβ i (f i) β€ 0) : f.sum hβ β€ 0 - Finsupp.single_eval_le_sum π Mathlib.Data.Finsupp.Order
{Ξ± : Type u_5} {M : Type u_6} {N : Type u_7} [Zero M] [AddCommMonoid N] [PartialOrder N] [IsOrderedAddMonoid N] (f : Ξ± ββ M) {g : M β N} (hg : g 0 = 0) (h : 0 β€ fun x => g x) (a : Ξ±) : g (f a) β€ f.sum fun x m => g m - Finsupp.single_le_sum π Mathlib.Data.Finsupp.Order
{Ξ± : Type u_5} {M : Type u_6} {N : Type u_7} [Zero M] [AddCommMonoid N] [PartialOrder N] [IsOrderedAddMonoid N] (f : Ξ± ββ M) {g : Ξ± β M β N} (h : 0 β€ fun x1 x2 => g x1 x2) (a : Ξ±) : (funβ | a => f a).sum g β€ f.sum g - Finsupp.sum_pos π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedCancelAddMonoid Ξ²] [AddLeftStrictMono Ξ²] {f : ΞΉ ββ Ξ±} {g : ΞΉ β Ξ± β Ξ²} (h : β i β f.support, 0 < g i (f i)) (hf : f β 0) : 0 < f.sum g - Finsupp.sum_le_sum_index π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [Preorder Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedAddMonoid Ξ²] [DecidableEq ΞΉ] {fβ fβ : ΞΉ ββ Ξ±} {h : ΞΉ β Ξ± β Ξ²} (hf : fβ β€ fβ) (hh : β i β fβ.support βͺ fβ.support, Monotone (h i)) (hhβ : β i β fβ.support βͺ fβ.support, h i 0 = 0) : fβ.sum h β€ fβ.sum h - Finsupp.sum_pos' π Mathlib.Data.Finsupp.Order
{ΞΉ : Type u_1} {Ξ± : Type u_3} {Ξ² : Type u_4} [Zero Ξ±] [AddCommMonoid Ξ²] [Preorder Ξ²] [IsOrderedCancelAddMonoid Ξ²] [AddLeftStrictMono Ξ²] {f : ΞΉ ββ Ξ±} {g : ΞΉ β Ξ± β Ξ²} (h : β i β f.support, 0 β€ g i (f i)) (hf : β i β f.support, 0 < g i (f i)) : 0 < f.sum g - MvPolynomial.sum_def π Mathlib.Algebra.MvPolynomial.Basic
{R : Type u} {Ο : Type u_1} [CommSemiring R] {A : Type u_2} [AddCommMonoid A] {p : MvPolynomial Ο R} {b : (Ο ββ β) β R β A} : p.coeff.sum b = β m β p.support, b m (MvPolynomial.coeff m p) - MvPolynomial.sum_C π Mathlib.Algebra.MvPolynomial.Basic
{R : Type u} {Ο : Type u_1} {a : R} [CommSemiring R] {A : Type u_2} [AddCommMonoid A] {b : (Ο ββ β) β R β A} (w : b 0 0 = 0) : (MvPolynomial.C a).coeff.sum b = b 0 a - MvPolynomial.sum_monomial_eq π Mathlib.Algebra.MvPolynomial.Basic
{R : Type u} {Ο : Type u_1} [CommSemiring R] {A : Type u_2} [AddCommMonoid A] {u : Ο ββ β} {r : R} {b : (Ο ββ β) β R β A} (w : b u 0 = 0) : ((MvPolynomial.monomial u) r).coeff.sum b = b u r - MvPolynomial.mul_def π Mathlib.Algebra.MvPolynomial.Basic
{R : Type u} {Ο : Type u_1} [CommSemiring R] {p q : MvPolynomial Ο R} : p * q = p.coeff.sum fun m a => q.coeff.sum fun n b => (MvPolynomial.monomial (m + n)) (a * b) - MvPolynomial.monomial_finsupp_sum_index π Mathlib.Algebra.MvPolynomial.Basic
{R : Type u} {Ο : Type u_1} [CommSemiring R] {Ξ± : Type u_2} {Ξ² : Type u_3} [Zero Ξ²] (f : Ξ± ββ Ξ²) (g : Ξ± β Ξ² β Ο ββ β) (a : R) : (MvPolynomial.monomial (f.sum g)) a = MvPolynomial.C a * f.prod fun a b => (MvPolynomial.monomial (g a b)) 1 - Finsupp.sum_cons π Mathlib.Algebra.BigOperators.Finsupp.Fin
{M : Type u_1} [AddCommMonoid M] (n : β) (Ο : Fin n ββ M) (i : M) : ((Finsupp.cons i Ο).sum fun x e => e) = i + Ο.sum fun x e => e - Finsupp.sum_cons' π Mathlib.Algebra.BigOperators.Finsupp.Fin
{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) : (Finsupp.cons i Ο).sum f = f 0 i + Ο.sum (Fin.tail f) - finTwoArrowEquiv'_sum_eq π Mathlib.Algebra.BigOperators.Finsupp.Fin
{M : Type u_1} {d : M Γ M} [AddCommMonoid M] : (((finTwoArrowEquiv' M).symm d).sum fun x n => n) = d.1 + d.2 - MvPolynomial.le_totalDegree π Mathlib.Algebra.MvPolynomial.Degrees
{R : Type u} {Ο : Type u_1} [CommSemiring R] {p : MvPolynomial Ο R} {s : Ο ββ β} (h : s β p.support) : (s.sum fun x e => e) β€ p.totalDegree - MvPolynomial.totalDegree_monomial_le π Mathlib.Algebra.MvPolynomial.Degrees
{R : Type u} {Ο : Type u_1} [CommSemiring R] (s : Ο ββ β) (c : R) : ((MvPolynomial.monomial s) c).totalDegree β€ s.sum fun x => id - MvPolynomial.totalDegree_monomial π Mathlib.Algebra.MvPolynomial.Degrees
{R : Type u} {Ο : Type u_1} [CommSemiring R] (s : Ο ββ β) {c : R} (hc : c β 0) : ((MvPolynomial.monomial s) c).totalDegree = s.sum fun x e => e - Finsupp.weight_apply π Mathlib.Data.Finsupp.Weight
{Ο : Type u_1} {M : Type u_2} {R : Type u_3} [Semiring R] (w : Ο β M) [AddCommMonoid M] [Module R M] (f : Ο ββ R) : (Finsupp.weight w) f = f.sum fun i c => c β’ w i - TensorProduct.exists_finsupp_left π Mathlib.LinearAlgebra.TensorProduct.Finiteness
{R : Type u_1} {M : Type u_2} {N : Type u_3} [CommSemiring R] [AddCommMonoid M] [AddCommMonoid N] [Module R M] [Module R N] (x : TensorProduct R M N) : β S, x = S.sum fun m n => m ββ[R] n - TensorProduct.exists_finsupp_right π Mathlib.LinearAlgebra.TensorProduct.Finiteness
{R : Type u_1} {M : Type u_2} {N : Type u_3} [CommSemiring R] [AddCommMonoid M] [AddCommMonoid N] [Module R M] [Module R N] (x : TensorProduct R M N) : β S, x = S.sum fun n m => m ββ[R] n - AddSubgroup.exists_finsupp_of_mem_closure_range π Mathlib.Algebra.Group.Subgroup.Finsupp
{M : Type u_1} [AddCommGroup M] {ΞΉ : Type u_2} (f : ΞΉ β M) (x : M) (hx : x β AddSubgroup.closure (Set.range f)) : β a, x = a.sum fun x1 x2 => x2 β’ f x1 - AddSubgroup.mem_closure_range_iff π Mathlib.Algebra.Group.Subgroup.Finsupp
{M : Type u_1} [AddCommGroup M] {ΞΉ : Type u_2} {f : ΞΉ β M} {x : M} : x β AddSubgroup.closure (Set.range f) β β a, x = a.sum fun x1 x2 => x2 β’ f x1 - Finset.mem_finsuppAntidiag' π Mathlib.Algebra.Order.Antidiag.Finsupp
{ΞΉ : Type u_1} {ΞΌ : Type u_2} [DecidableEq ΞΉ] [AddCommMonoid ΞΌ] [Finset.HasAntidiagonal ΞΌ] [DecidableEq ΞΌ] {s : Finset ΞΉ} {n : ΞΌ} {f : ΞΉ ββ ΞΌ} : f β s.finsuppAntidiag n β (f.sum fun x x_1 => x_1) = n β§ f.support β s - CategoryTheory.Free.lift_map π Mathlib.Algebra.Category.ModuleCat.Adjunctions
(R : Type u_1) [CommRing R] {C : Type u} [CategoryTheory.Category.{v, u} C] {D : Type u} [CategoryTheory.Category.{v, u} D] [CategoryTheory.Preadditive D] [CategoryTheory.Linear R D] (F : CategoryTheory.Functor C D) {xβ xβΒΉ : CategoryTheory.Free R C} (f : xβ βΆ xβΒΉ) : (CategoryTheory.Free.lift R F).map f = Finsupp.sum f fun f' r => r β’ F.map f' - LaurentPolynomial.smeval_eq_sum π Mathlib.Algebra.Polynomial.Laurent
{R : Type u_1} {S : Type u_2} [Semiring R] [AddCommMonoid S] [SMulWithZero R S] [Monoid S] (f : LaurentPolynomial R) (x : SΛ£) : f.smeval x = f.coeff.sum fun n r => r β’ β(x ^ n) - PolynomialModule.coeff_finsuppSum π Mathlib.Algebra.Polynomial.Module.Basic
{ΞΉ : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [CommRing R] [AddCommGroup M] [Module R M] [AddCommMonoid N] (f : ΞΉ ββ N) (g : ΞΉ β N β PolynomialModule R M) : (f.sum g).coeff = f.sum fun i n => (g i n).coeff - PolynomialModule.ofCoeff_finsuppSum π Mathlib.Algebra.Polynomial.Module.Basic
{ΞΉ : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [CommRing R] [AddCommGroup M] [Module R M] [AddCommMonoid N] (f : ΞΉ ββ N) (g : ΞΉ β N β β ββ M) : { coeff := f.sum g } = f.sum fun i n => { coeff := g i n } - PolynomialModule.eval_apply π Mathlib.Algebra.Polynomial.Module.Basic
{R : Type u_2} {M : Type u_3} [CommRing R] [AddCommGroup M] [Module R M] (r : R) (p : PolynomialModule R M) : (PolynomialModule.eval r) p = p.coeff.sum fun i m => r ^ i β’ m - LinearMap.sum_repr_mul_repr_mulββ π Mathlib.LinearAlgebra.Basis.Bilinear
{ΞΉβ : Type u_1} {ΞΉβ : Type u_2} {R : Type u_3} {Rβ : Type u_4} {S : Type u_5} {Sβ : Type u_6} {M : Type u_7} {N : Type u_8} {P : Type u_9} [Semiring R] [Semiring S] [Semiring Rβ] [Semiring Sβ] [AddCommMonoid M] [AddCommMonoid N] [AddCommMonoid P] [Module R M] [Module S N] [Module Rβ P] [Module Sβ P] [SMulCommClass Sβ Rβ P] {Οββ : R β+* Rβ} {Οββ : S β+* Sβ} (bβ : Module.Basis ΞΉβ R M) (bβ : Module.Basis ΞΉβ S N) {B : M βββ[Οββ] N βββ[Οββ] P} (x : M) (y : N) : ((bβ.repr x).sum fun i xi => (bβ.repr y).sum fun j yj => Οββ xi β’ Οββ yj β’ (B (bβ i)) (bβ j)) = (B x) y - LinearMap.sum_repr_mul_repr_mul π Mathlib.LinearAlgebra.Basis.Bilinear
{ΞΉβ : Type u_1} {ΞΉβ : Type u_2} {Rβ : Type u_10} {Mβ : Type u_11} {Nβ : Type u_12} {Pβ : Type u_13} [CommSemiring Rβ] [AddCommMonoid Mβ] [AddCommMonoid Nβ] [AddCommMonoid Pβ] [Module Rβ Mβ] [Module Rβ Nβ] [Module Rβ Pβ] (bβ' : Module.Basis ΞΉβ Rβ Mβ) (bβ' : Module.Basis ΞΉβ Rβ Nβ) {B : Mβ ββ[Rβ] Nβ ββ[Rβ] Pβ} (x : Mβ) (y : Nβ) : ((bβ'.repr x).sum fun i xi => (bβ'.repr y).sum fun j yj => xi β’ yj β’ (B (bβ' i)) (bβ' j)) = (B x) y - AddCon.coe_finsuppSum π Mathlib.GroupTheory.Congruence.BigOperators
{ΞΉ : Type u_1} {Ξ² : Type u_2} {M : Type u_3} [AddCommMonoid M] [Zero Ξ²] (c : AddCon M) (h : ΞΉ β Ξ² β M) (f : ΞΉ ββ Ξ²) : β(f.sum h) = f.sum fun i b => β(h i b) - AddCon.finsuppSum π Mathlib.GroupTheory.Congruence.BigOperators
{ΞΉ : Type u_1} {Ξ² : Type u_2} {M : Type u_3} [AddCommMonoid M] [Zero Ξ²] (c : AddCon M) (h h' : ΞΉ β Ξ² β M) {f g : ΞΉ ββ Ξ²} (hf : β (i : ΞΉ), c (h i 0) 0) (hf' : β (i : ΞΉ), c (h' i 0) 0) (H : β (i : ΞΉ), c (h i (f i)) (h' i (g i))) : c (f.sum h) (g.sum h') - AddSubmonoid.exists_finsupp_of_mem_closure_range π Mathlib.Algebra.Group.Submonoid.Finsupp
{M : Type u_1} [AddCommMonoid M] {ΞΉ : Type u_2} (f : ΞΉ β M) (x : M) (hx : x β AddSubmonoid.closure (Set.range f)) : β a, x = a.sum fun x1 x2 => x2 β’ f x1
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
πReal.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
π"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
π_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
πReal.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
π(?a -> ?b) -> List ?a -> List ?b
πList ?a -> (?a -> ?b) -> List ?bBy main conclusion:
π|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of allβandβ) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
π|- _ < _ β tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
β’ (_ : Type _)finds all definitions which provide data whileβ’ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
π Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ β _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision 69fae59