Isomorphism between FreeAddCommGroup X and X →₀ ℤ #
In this file we construct the canonical isomorphism between FreeAddCommGroup X and X →₀ ℤ.
We use this to transport the notion of support from Finsupp to FreeAddCommGroup.
Main declarations #
FreeAddCommGroup.equivFinsupp: group isomorphism betweenFreeAddCommGroup XandX →₀ ℤFreeAddCommGroup.coeff: the multiplicity ofx : Xina : FreeAddCommGroup XFreeAddCommGroup.support: the finset ofx : Xthat occur ina : FreeAddCommGroup X
The group homomorphism FreeAddCommGroup X →+ (X →₀ ℤ).
Equations
- FreeAddCommGroup.toFinsupp = FreeAddCommGroup.lift fun (x : X) => Finsupp.single x 1
Instances For
The group homomorphism (X →₀ ℤ) →+ FreeAddCommGroup X.
Equations
- Finsupp.toFreeAddCommGroup = Finsupp.liftAddHom fun (x : X) => (smulAddHom ℤ (FreeAddCommGroup X)).flip (FreeAddCommGroup.of x)
Instances For
The additive equivalence between FreeAddCommGroup X and (X →₀ ℤ).
Equations
- FreeAddCommGroup.equivFinsupp X = { toFun := ⇑FreeAddCommGroup.toFinsupp, invFun := ⇑Finsupp.toFreeAddCommGroup, left_inv := ⋯, right_inv := ⋯, map_add' := ⋯ }
Instances For
coeff x is the additive group homomorphism FreeAddCommGroup X →+ ℤ
that sends a to the multiplicity of x : X in a.
Equations
Instances For
support a for a : FreeAddCommGroup X is the finite set of x : X
that occur in the formal sum a.
Equations
Instances For
Alias of FreeAddCommGroup.toFinsupp.
The group homomorphism FreeAddCommGroup X →+ (X →₀ ℤ).
Instances For
Alias of Finsupp.toFreeAddCommGroup.
The group homomorphism (X →₀ ℤ) →+ FreeAddCommGroup X.
Instances For
Alias of FreeAddCommGroup.toFinsupp_of.
Alias of Finsupp.toFreeAddCommGroup_single.
Alias of FreeAddCommGroup.toFinsupp_comp_toFreeAddCommGroup.
Alias of Finsupp.toFreeAddCommGroup_toFinsupp.
Alias of FreeAddCommGroup.equivFinsupp.
The additive equivalence between FreeAddCommGroup X and (X →₀ ℤ).
Instances For
Alias of FreeAddCommGroup.equivFinsupp_apply.
Alias of FreeAddCommGroup.equivFinsupp_symm_apply.
Alias of FreeAddCommGroup.coeff.
coeff x is the additive group homomorphism FreeAddCommGroup X →+ ℤ
that sends a to the multiplicity of x : X in a.
Equations
Instances For
Alias of FreeAddCommGroup.support.
support a for a : FreeAddCommGroup X is the finite set of x : X
that occur in the formal sum a.
Equations
Instances For
Alias of FreeAddCommGroup.mem_support_iff.
Alias of FreeAddCommGroup.notMem_support_iff.
Alias of FreeAddCommGroup.support_zero.
Alias of FreeAddCommGroup.support_of.
Alias of FreeAddCommGroup.support_neg.
Alias of FreeAddCommGroup.support_zsmul.
Alias of FreeAddCommGroup.support_nsmul.
Alias of FreeAddCommGroup.support_add.
Alias of FreeAddCommGroup.support_eq_empty.
Alias of FreeAddCommGroup.nonempty_support_iff.
Alias of FreeAddCommGroup.card_support_eq_zero.
Alias of FreeAddCommGroup.coeff_of_self.
Alias of FreeAddCommGroup.coeff_of_of_ne.
Alias of FreeAddCommGroup.coeff_of.