Mathlib.Algebra.Group.Finsupp
99 declarations and 2 deprecated aliases. Mathlib docs · Source
theorem Finsupp.uniqueAddEquiv.congr_simp E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (i i_1 : ι),
i = i_1 → ∀ [inst_1 : Subsingleton ι], Finsupp.uniqueAddEquiv i = Finsupp.uniqueAddEquiv i_1
theorem Finsupp.apply_single E1 #
∀ {ι : Type u_1} {F : Type u_2} {M : Type u_3} {N : Type u_4} [inst : Zero M] [inst_1 : Zero N] [inst_2 : FunLike F M N]
[ZeroHomClass F M N] (e : F) (i : ι) (m : M) (b : ι), e ((fun₀ | i => m) b) = (fun₀ | i => e m) b
def Finsupp.mapRange.zeroHom E1 #
{ι : Type u_1} →
{M : Type u_3} → {N : Type u_4} → [inst : Zero M] → [inst_1 : Zero N] → ZeroHom M N → ZeroHom (ι →₀ M) (ι →₀ N)
Composition with a fixed zero-preserving homomorphism is itself a zero-preserving homomorphism on functions.
theorem Finsupp.mapRange.zeroHom_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : Zero M] [inst_1 : Zero N] (f : ZeroHom M N) (g : ι →₀ M),
(Finsupp.mapRange.zeroHom f) g = Finsupp.mapRange ⇑f ⋯ g
theorem Finsupp.mapRange.zeroHom_id E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : Zero M], Finsupp.mapRange.zeroHom (ZeroHom.id M) = ZeroHom.id (ι →₀ M)
theorem Finsupp.mapRange.zeroHom_comp E1 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} {O : Type u_5} [inst : Zero M] [inst_1 : Zero N] [inst_2 : Zero O]
(f : ZeroHom N O) (f₂ : ZeroHom M N),
Finsupp.mapRange.zeroHom (f.comp f₂) = (Finsupp.mapRange.zeroHom f).comp (Finsupp.mapRange.zeroHom f₂)
instance Finsupp.instAdd E0 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → Add (ι →₀ M)
theorem Finsupp.coe_add E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (f g : ι →₀ M), ⇑(f + g) = ⇑f + ⇑g
theorem Finsupp.add_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (g₁ g₂ : ι →₀ M) (a : ι), (g₁ + g₂) a = g₁ a + g₂ a
theorem Finsupp.support_add E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {g₁ g₂ : ι →₀ M} [inst_1 : DecidableEq ι],
(g₁ + g₂).support ⊆ g₁.support ∪ g₂.support
theorem Finsupp.support_add_eq E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {g₁ g₂ : ι →₀ M} [inst_1 : DecidableEq ι],
Disjoint g₁.support g₂.support → (g₁ + g₂).support = g₁.support ∪ g₂.support
The support of a sum is the union of the supports when the supports are disjoint.
In the case where the coefficients satisfy CanonicallyOrderedAdd, there is also
Finsupp.support_add_eq_union, which holds without any disjointness assumption.
instance Finsupp.instAddZeroClass E0 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → AddZeroClass (ι →₀ M)
instance Finsupp.instIsLeftCancelAdd E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [IsLeftCancelAdd M], IsLeftCancelAdd (ι →₀ M)
def Finsupp.addEquivFunOnFinite E1 #
{M : Type u_3} → [inst : AddZeroClass M] → {ι : Type u_8} → [Finite ι] → (ι →₀ M) ≃+ (ι → M)
When ι is finite and M is an AddMonoid, then Finsupp.equivFunOnFinite gives an AddEquiv
def Finsupp.uniqueAddEquiv E1 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → ι → [Subsingleton ι] → (ι →₀ M) ≃+ M
If M is the trivial monoid, then the monoid of finitely supported functions ι →₀ M
is isomorphic to M.
theorem Finsupp.uniqueAddEquiv_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (i : ι) [inst_1 : Subsingleton ι] (f : ι →₀ M),
(Finsupp.uniqueAddEquiv i) f = f i
theorem Finsupp.uniqueAddEquiv_symm_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (i : ι) [inst_1 : Subsingleton ι] (b : M),
(Finsupp.uniqueAddEquiv i).symm b = fun₀ | i => b
theorem Finsupp.uniqueAddEquiv_symm_apply_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (i : ι) [inst_1 : Subsingleton ι] (m : M) (j : ι),
((Finsupp.uniqueAddEquiv i).symm m) j = m
theorem AddEquiv.finsuppUnique_apply E0 #
∀ {M : Type u_3} [inst : AddZeroClass M] {ι : Type u_8} [inst_1 : Unique ι] (a : ι →₀ M),
AddEquiv.finsuppUnique a = a default
theorem AddEquiv.finsuppUnique_symm_apply_support_val E0 #
∀ {M : Type u_3} [inst : AddZeroClass M] {ι : Type u_8} [inst_1 : Unique ι] (a : M),
(AddEquiv.finsuppUnique.symm a).support.val =
Multiset.map (⇑(Function.Embedding.subtype fun x ↦ x ∈ Function.support (uniqueElim a))) Finset.univ.val
theorem AddEquiv.finsuppUnique_symm_apply_apply E0 #
∀ {M : Type u_3} [inst : AddZeroClass M] {ι : Type u_8} [inst_1 : Unique ι] (a : M) (a_1 : ι),
(AddEquiv.finsuppUnique.symm a) a_1 = a
instance Finsupp.instIsRightCancelAdd E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [IsRightCancelAdd M], IsRightCancelAdd (ι →₀ M)
instance Finsupp.instIsCancelAdd E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [IsCancelAdd M], IsCancelAdd (ι →₀ M)
def Finsupp.applyAddHom E1 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → ι → (ι →₀ M) →+ M
Evaluation of a function f : ι →₀ M at a point as an additive monoid homomorphism.
See Finsupp.lapply in Mathlib/LinearAlgebra/Finsupp/Defs.lean for the stronger version as a
linear map.
theorem Finsupp.applyAddHom_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (g : ι →₀ M), (Finsupp.applyAddHom a) g = g a
def Finsupp.coeFnAddHom E1 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → (ι →₀ M) →+ ι → M
Coercion from a Finsupp to a function type is an AddMonoidHom.
theorem Finsupp.coeFnAddHom_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι →₀ M) (a_1 : ι), Finsupp.coeFnAddHom a a_1 = a a_1
theorem Finsupp.mapRange_add E1 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {f : M → N}
{hf : f 0 = 0},
(∀ (x y : M), f (x + y) = f x + f y) →
∀ (v₁ v₂ : ι →₀ M), Finsupp.mapRange f hf (v₁ + v₂) = Finsupp.mapRange f hf v₁ + Finsupp.mapRange f hf v₂
theorem Finsupp.mapRange_add' E1 #
∀ {ι : Type u_1} {F : Type u_2} {M : Type u_3} {N : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : FunLike F M N] [inst_3 : AddMonoidHomClass F M N] {f : F} (g₁ g₂ : ι →₀ M),
Finsupp.mapRange ⇑f ⋯ (g₁ + g₂) = Finsupp.mapRange ⇑f ⋯ g₁ + Finsupp.mapRange ⇑f ⋯ g₂
def Finsupp.embDomain.addMonoidHom E1 #
{ι : Type u_1} → {F : Type u_2} → {M : Type u_3} → [inst : AddZeroClass M] → (ι ↪ F) → (ι →₀ M) →+ F →₀ M
Bundle Finsupp.embDomain f as an additive map from ι →₀ M to F →₀ M.
theorem Finsupp.embDomain.addMonoidHom_apply E0 #
∀ {ι : Type u_1} {F : Type u_2} {M : Type u_3} [inst : AddZeroClass M] (f : ι ↪ F) (v : ι →₀ M),
(Finsupp.embDomain.addMonoidHom f) v = Finsupp.embDomain f v
theorem Finsupp.embDomain_add E0 #
∀ {ι : Type u_1} {F : Type u_2} {M : Type u_3} [inst : AddZeroClass M] (f : ι ↪ F) (v w : ι →₀ M),
Finsupp.embDomain f (v + w) = Finsupp.embDomain f v + Finsupp.embDomain f w
theorem Finsupp.single_add E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (b₁ b₂ : M),
(fun₀ | a => b₁ + b₂) = (fun₀ | a => b₁) + fun₀ | a => b₂
theorem Finsupp.single_add_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (m₁ m₂ : M) (b : ι),
(fun₀ | a => m₁ + m₂) b = (fun₀ | a => m₁) b + (fun₀ | a => m₂) b
theorem Finsupp.support_single_add E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {a : ι} {b : M} {f : ι →₀ M} (ha : a ∉ f.support),
b ≠ 0 → ((fun₀ | a => b) + f).support = Finset.cons a f.support ha
theorem Finsupp.support_add_single E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {a : ι} {b : M} {f : ι →₀ M} (ha : a ∉ f.support),
b ≠ 0 → (f + fun₀ | a => b).support = Finset.cons a f.support ha
theorem Finsupp.support_single_add_single E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : DecidableEq ι] {f₁ f₂ : ι} {g₁ g₂ : M},
f₁ ≠ f₂ → g₁ ≠ 0 → g₂ ≠ 0 → ((fun₀ | f₁ => g₁) + fun₀ | f₂ => g₂).support = {f₁, f₂}
theorem Finsupp.support_single_add_single_subset E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : DecidableEq ι] {f₁ f₂ : ι} {g₁ g₂ : M},
((fun₀ | f₁ => g₁) + fun₀ | f₂ => g₂).support ⊆ {f₁, f₂}
theorem Finsupp.addCommute_iff_inter E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : DecidableEq ι] {f g : ι →₀ M},
AddCommute f g ↔ ∀ x ∈ f.support ∩ g.support, AddCommute (f x) (g x)
theorem Finsupp.addCommute_of_disjoint E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {f g : ι →₀ M}, Disjoint f.support g.support → AddCommute f g
def Finsupp.singleAddHom E1 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → ι → M →+ ι →₀ M
Finsupp.single as an AddMonoidHom.
See Finsupp.lsingle in Mathlib/LinearAlgebra/Finsupp/Defs.lean for the stronger version as a
linear map.
theorem Finsupp.singleAddHom_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (b : M), (Finsupp.singleAddHom a) b = fun₀ | a => b
theorem Finsupp.update_eq_single_add_erase E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (f : ι →₀ M) (a : ι) (b : M),
f.update a b = (fun₀ | a => b) + Finsupp.erase a f
theorem Finsupp.update_eq_erase_add_single E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (f : ι →₀ M) (a : ι) (b : M),
f.update a b = Finsupp.erase a f + fun₀ | a => b
theorem Finsupp.update_eq_single_add E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {f : ι →₀ M} {a : ι},
f a = 0 → ∀ (b : M), f.update a b = (fun₀ | a => b) + f
theorem Finsupp.update_eq_add_single E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {f : ι →₀ M} {a : ι},
f a = 0 → ∀ (b : M), f.update a b = f + fun₀ | a => b
theorem Finsupp.single_add_erase E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (f : ι →₀ M), (fun₀ | a => f a) + Finsupp.erase a f = f
theorem Finsupp.erase_add_single E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (f : ι →₀ M), (Finsupp.erase a f + fun₀ | a => f a) = f
theorem Finsupp.erase_add E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (f f' : ι →₀ M),
Finsupp.erase a (f + f') = Finsupp.erase a f + Finsupp.erase a f'
def Finsupp.eraseAddHom E1 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddZeroClass M] → ι → (ι →₀ M) →+ ι →₀ M
Finsupp.erase as an AddMonoidHom.
theorem Finsupp.eraseAddHom_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] (a : ι) (f : ι →₀ M),
(Finsupp.eraseAddHom a) f = Finsupp.erase a f
theorem Finsupp.induction E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {motive : (ι →₀ M) → Prop} (f : ι →₀ M),
motive 0 →
(∀ (a : ι) (b : M) (f : ι →₀ M), a ∉ f.support → b ≠ 0 → motive f → motive ((fun₀ | a => b) + f)) → motive f
theorem Finsupp.induction₂ E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {motive : (ι →₀ M) → Prop} (f : ι →₀ M),
motive 0 → (∀ (a : ι) (b : M) (f : ι →₀ M), a ∉ f.support → b ≠ 0 → motive f → motive (f + fun₀ | a => b)) → motive f
theorem Finsupp.induction_linear E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] {motive : (ι →₀ M) → Prop} (f : ι →₀ M),
motive 0 →
(∀ (f g : ι →₀ M), motive f → motive g → motive (f + g)) → (∀ (a : ι) (b : M), motive fun₀ | a => b) → motive f
theorem Finsupp.induction_on_max E2 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : LinearOrder ι] {motive : (ι →₀ M) → Prop}
(f : ι →₀ M),
motive 0 →
(∀ (a : ι) (b : M) (f : ι →₀ M), (∀ c ∈ f.support, c < a) → b ≠ 0 → motive f → motive ((fun₀ | a => b) + f)) →
motive f
A finitely supported function can be built by adding up single a b for increasing a.
The lemma induction_on_max₂ swaps the argument order in the sum.
theorem Finsupp.induction_on_min E2 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : LinearOrder ι] {motive : (ι →₀ M) → Prop}
(f : ι →₀ M),
motive 0 →
(∀ (a : ι) (b : M) (f : ι →₀ M), (∀ c ∈ f.support, a < c) → b ≠ 0 → motive f → motive ((fun₀ | a => b) + f)) →
motive f
A finitely supported function can be built by adding up single a b for decreasing a.
The lemma induction_on_min₂ swaps the argument order in the sum.
theorem Finsupp.induction_on_max₂ E2 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : LinearOrder ι] {motive : (ι →₀ M) → Prop}
(f : ι →₀ M),
motive 0 →
(∀ (a : ι) (b : M) (f : ι →₀ M), (∀ c ∈ f.support, c < a) → b ≠ 0 → motive f → motive (f + fun₀ | a => b)) →
motive f
A finitely supported function can be built by adding up single a b for increasing a.
The lemma induction_on_max swaps the argument order in the sum.
theorem Finsupp.induction_on_min₂ E2 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddZeroClass M] [inst_1 : LinearOrder ι] {motive : (ι →₀ M) → Prop}
(f : ι →₀ M),
motive 0 →
(∀ (a : ι) (b : M) (f : ι →₀ M), (∀ c ∈ f.support, a < c) → b ≠ 0 → motive f → motive (f + fun₀ | a => b)) →
motive f
A finitely supported function can be built by adding up single a b for decreasing a.
The lemma induction_on_min swaps the argument order in the sum.
instance Finsupp.instNatSMul E0 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddMonoid M] → SMul ℕ (ι →₀ M)
Note the general SMul instance for Finsupp doesn't apply as ℕ is not distributive
unless F i's addition is commutative.
theorem Finsupp.coe_nsmul E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddMonoid M] (n : ℕ) (f : ι →₀ M), ⇑(n • f) = n • ⇑f
theorem Finsupp.nsmul_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddMonoid M] (n : ℕ) (f : ι →₀ M) (x : ι), (n • f) x = n • f x
instance Finsupp.instAddMonoid E0 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddMonoid M] → AddMonoid (ι →₀ M)
instance Finsupp.instIsAddTorsionFree E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddMonoid M] [IsAddTorsionFree M], IsAddTorsionFree (ι →₀ M)
instance Finsupp.instHasUniqueDiv E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddMonoid M] [HasUniqueDiv M], HasUniqueDiv (ι →₀ M)
instance Finsupp.instAddCommMonoid E0 #
{ι : Type u_1} → {M : Type u_3} → [inst : AddCommMonoid M] → AddCommMonoid (ι →₀ M)
theorem Finsupp.single_add_single_eq_single_add_single E1 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddCommMonoid M] {k l m n : ι} {u v : M},
u ≠ 0 →
v ≠ 0 →
((((fun₀ | k => u) + fun₀ | l => v) = (fun₀ | m => u) + fun₀ | n => v) ↔
k = m ∧ l = n ∨ u = v ∧ k = n ∧ l = m ∨ u + v = 0 ∧ k = l ∧ m = n)
def Finsupp.mapRange.addMonoidHom E1 #
{ι : Type u_1} →
{M : Type u_3} →
{N : Type u_4} → [inst : AddCommMonoid M] → [inst_1 : AddCommMonoid N] → (M →+ N) → (ι →₀ M) →+ ι →₀ N
Composition with a fixed additive homomorphism is itself an additive homomorphism on functions.
theorem Finsupp.mapRange.addMonoidHom_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N] (f : M →+ N)
(g : ι →₀ M), (Finsupp.mapRange.addMonoidHom f) g = Finsupp.mapRange ⇑f ⋯ g
theorem Finsupp.mapRange.addMonoidHom_id E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddCommMonoid M],
Finsupp.mapRange.addMonoidHom (AddMonoidHom.id M) = AddMonoidHom.id (ι →₀ M)
theorem Finsupp.mapRange.addMonoidHom_comp E1 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} {O : Type u_5} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
[inst_2 : AddCommMonoid O] (f : N →+ O) (g : M →+ N),
Finsupp.mapRange.addMonoidHom (f.comp g) = (Finsupp.mapRange.addMonoidHom f).comp (Finsupp.mapRange.addMonoidHom g)
theorem Finsupp.mapRange.addMonoidHom_toZeroHom E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N] (f : M →+ N),
↑(Finsupp.mapRange.addMonoidHom f) = Finsupp.mapRange.zeroHom ↑f
def Finsupp.mapRange.addEquiv E1 #
{ι : Type u_1} →
{M : Type u_3} →
{N : Type u_4} → [inst : AddCommMonoid M] → [inst_1 : AddCommMonoid N] → M ≃+ N → (ι →₀ M) ≃+ (ι →₀ N)
Finsupp.mapRange.AddMonoidHom as an equiv.
theorem Finsupp.mapRange.addEquiv_apply E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N] (em' : M ≃+ N)
(g : ι →₀ M), (Finsupp.mapRange.addEquiv em') g = Finsupp.mapRange ⇑em' ⋯ g
theorem Finsupp.mapRange.addEquiv_refl E0 #
∀ {ι : Type u_1} {M : Type u_3} [inst : AddCommMonoid M],
Finsupp.mapRange.addEquiv (AddEquiv.refl M) = AddEquiv.refl (ι →₀ M)
theorem Finsupp.mapRange.addEquiv_trans E1 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} {O : Type u_5} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
[inst_2 : AddCommMonoid O] (e₁ : M ≃+ N) (e₂ : N ≃+ O),
Finsupp.mapRange.addEquiv (e₁.trans e₂) = (Finsupp.mapRange.addEquiv e₁).trans (Finsupp.mapRange.addEquiv e₂)
theorem Finsupp.mapRange.addEquiv_symm E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N] (e : M ≃+ N),
(Finsupp.mapRange.addEquiv e).symm = Finsupp.mapRange.addEquiv e.symm
theorem Finsupp.mapRange.addEquiv_toAddMonoidHom E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N] (e : M ≃+ N),
↑(Finsupp.mapRange.addEquiv e) = Finsupp.mapRange.addMonoidHom e.toAddMonoidHom
theorem Finsupp.mapRange.addEquiv_toEquiv E0 #
∀ {ι : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N] (e : M ≃+ N),
↑(Finsupp.mapRange.addEquiv e) = Finsupp.mapRange.equiv ↑e ⋯
instance Finsupp.instNeg E0 #
{ι : Type u_1} → {G : Type u_6} → [inst : NegZeroClass G] → Neg (ι →₀ G)
theorem Finsupp.coe_neg E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : NegZeroClass G] (g : ι →₀ G), ⇑(-g) = -⇑g
theorem Finsupp.neg_apply E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : NegZeroClass G] (g : ι →₀ G) (a : ι), (-g) a = -g a
theorem Finsupp.mapRange_neg E1 #
∀ {ι : Type u_1} {G : Type u_6} {H : Type u_7} [inst : NegZeroClass G] [inst_1 : NegZeroClass H] {f : G → H}
{hf : f 0 = 0}, (∀ (x : G), f (-x) = -f x) → ∀ (v : ι →₀ G), Finsupp.mapRange f hf (-v) = -Finsupp.mapRange f hf v
instance Finsupp.instSub E0 #
{ι : Type u_1} → {G : Type u_6} → [inst : SubNegZeroMonoid G] → Sub (ι →₀ G)
theorem Finsupp.coe_sub E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : SubNegZeroMonoid G] (g₁ g₂ : ι →₀ G), ⇑(g₁ - g₂) = ⇑g₁ - ⇑g₂
theorem Finsupp.sub_apply E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : SubNegZeroMonoid G] (g₁ g₂ : ι →₀ G) (a : ι), (g₁ - g₂) a = g₁ a - g₂ a
theorem Finsupp.mapRange_sub E1 #
∀ {ι : Type u_1} {G : Type u_6} {H : Type u_7} [inst : SubNegZeroMonoid G] [inst_1 : SubNegZeroMonoid H] {f : G → H}
{hf : f 0 = 0},
(∀ (x y : G), f (x - y) = f x - f y) →
∀ (v₁ v₂ : ι →₀ G), Finsupp.mapRange f hf (v₁ - v₂) = Finsupp.mapRange f hf v₁ - Finsupp.mapRange f hf v₂
theorem Finsupp.mapRange_neg' E1 #
∀ {ι : Type u_1} {F : Type u_2} {G : Type u_6} {H : Type u_7} [inst : AddGroup G] [inst_1 : SubtractionMonoid H]
[inst_2 : FunLike F G H] [inst_3 : AddMonoidHomClass F G H] {f : F} (v : ι →₀ G),
Finsupp.mapRange ⇑f ⋯ (-v) = -Finsupp.mapRange ⇑f ⋯ v
theorem Finsupp.mapRange_sub' E1 #
∀ {ι : Type u_1} {F : Type u_2} {G : Type u_6} {H : Type u_7} [inst : AddGroup G] [inst_1 : SubtractionMonoid H]
[inst_2 : FunLike F G H] [inst_3 : AddMonoidHomClass F G H] {f : F} (v₁ v₂ : ι →₀ G),
Finsupp.mapRange ⇑f ⋯ (v₁ - v₂) = Finsupp.mapRange ⇑f ⋯ v₁ - Finsupp.mapRange ⇑f ⋯ v₂
instance Finsupp.instIntSMul E0 #
{ι : Type u_1} → {G : Type u_6} → [inst : AddGroup G] → SMul ℤ (ι →₀ G)
Note the general SMul instance for Finsupp doesn't apply as ℤ is not distributive
unless F i's addition is commutative.
instance Finsupp.instAddGroup E0 #
{ι : Type u_1} → {G : Type u_6} → [inst : AddGroup G] → AddGroup (ι →₀ G)
theorem Finsupp.support_neg E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (f : ι →₀ G), (-f).support = f.support
theorem Finsupp.support_sub E1 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] [inst_1 : DecidableEq ι] {f g : ι →₀ G},
(f - g).support ⊆ f.support ∪ g.support
theorem Finsupp.erase_eq_sub_single E1 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (f : ι →₀ G) (a : ι), Finsupp.erase a f = f - fun₀ | a => f a
theorem Finsupp.update_eq_sub_add_single E1 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (f : ι →₀ G) (a : ι) (b : G),
f.update a b = (f - fun₀ | a => f a) + fun₀ | a => b
theorem Finsupp.single_neg E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (a : ι) (b : G), (fun₀ | a => -b) = -fun₀ | a => b
theorem Finsupp.single_sub E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (a : ι) (b₁ b₂ : G),
(fun₀ | a => b₁ - b₂) = (fun₀ | a => b₁) - fun₀ | a => b₂
theorem Finsupp.erase_neg E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (a : ι) (f : ι →₀ G), Finsupp.erase a (-f) = -Finsupp.erase a f
theorem Finsupp.erase_sub E0 #
∀ {ι : Type u_1} {G : Type u_6} [inst : AddGroup G] (a : ι) (f₁ f₂ : ι →₀ G),
Finsupp.erase a (f₁ - f₂) = Finsupp.erase a f₁ - Finsupp.erase a f₂
instance Finsupp.instAddCommGroup E0 #
{ι : Type u_1} → {G : Type u_6} → [inst : AddCommGroup G] → AddCommGroup (ι →₀ G)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
AddEquiv.finsuppUnique | Finsupp.uniqueAddEquiv | 2026-05-06 |
AddEquiv.finsuppUnique_symm | Finsupp.uniqueAddEquiv_symm_apply | 2026-05-06 |