The areas / V03. Sets, finite structures and big operators
Mathlib.Data.Finsupp.Ext
7 declarations and 1 deprecated aliases. Mathlib docs · Source
Extensionality for maps on Finsupp
This file contains some extensionality principles for maps on Finsupp.
These have been moved to their own file to avoid depending on submonoids when defining Finsupp.
Main results
Finsupp.add_closure_setOfPred_eq_single:Finsuppis generated by all thesinglesFinsupp.addHom_ext: additive homomorphisms that are equal on eachsingleare equal everywhere
theorem Finsupp.add_closure_setOfPred_eq_single E3 #
∀ {α : Type u_1} {M : Type u_2} [inst : AddZeroClass M], AddSubmonoid.closure {f | ∃ a b, f = fun₀ | a => b} = ⊤
theorem Finsupp.addHom_ext E3 #
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] ⦃f g : (α →₀ M) →+ N⦄,
(∀ (x : α) (y : M), (f fun₀ | x => y) = g fun₀ | x => y) → f = g
If two additive homomorphisms from α →₀ M are equal on each single a b,
then they are equal.
theorem Finsupp.addHom_ext' E1 #
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] ⦃f g : (α →₀ M) →+ N⦄,
(∀ (x : α), f.comp (Finsupp.singleAddHom x) = g.comp (Finsupp.singleAddHom x)) → f = g
If two additive homomorphisms from α →₀ M are equal on each single a b,
then they are equal.
We formulate this using equality of AddMonoidHoms so that ext tactic can apply a type-specific
extensionality lemma after this one. E.g., if the fiber M is ℕ or ℤ, then it suffices to
verify f (single a 1) = g (single a 1).
theorem Finsupp.addHom_ext'_iff E0 #
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {f g : (α →₀ M) →+ N},
f = g ↔ ∀ (x : α), f.comp (Finsupp.singleAddHom x) = g.comp (Finsupp.singleAddHom x)
theorem Finsupp.mulHom_ext E1 #
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : MulOneClass N]
⦃f g : Multiplicative (α →₀ M) →* N⦄,
(∀ (x : α) (y : M), f (Multiplicative.ofAdd fun₀ | x => y) = g (Multiplicative.ofAdd fun₀ | x => y)) → f = g
theorem Finsupp.mulHom_ext'_iff E0 #
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : MulOneClass N]
{f g : Multiplicative (α →₀ M) →* N},
f = g ↔
∀ (x : α),
f.comp (AddMonoidHom.toMultiplicative (Finsupp.singleAddHom x)) =
g.comp (AddMonoidHom.toMultiplicative (Finsupp.singleAddHom x))
theorem Finsupp.mulHom_ext' E1 #
∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddZeroClass M] [inst_1 : MulOneClass N]
{f g : Multiplicative (α →₀ M) →* N},
(∀ (x : α),
f.comp (AddMonoidHom.toMultiplicative (Finsupp.singleAddHom x)) =
g.comp (AddMonoidHom.toMultiplicative (Finsupp.singleAddHom x))) →
f = g
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Finsupp.add_closure_setOf_eq_single | Finsupp.add_closure_setOfPred_eq_single | 2026-07-09 |