Documentation

Mathlib.Algebra.FreeAbelianGroup.Finsupp

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 #

The group homomorphism FreeAddCommGroup X →+ (X →₀ ℤ).

Equations
Instances For
    noncomputable def Finsupp.toFreeAddCommGroup {X : Type u_1} :

    The group homomorphism (X →₀ ℤ) →+ FreeAddCommGroup X.

    Equations
    Instances For
      @[simp]
      theorem FreeAddCommGroup.toFinsupp_of {X : Type u_1} (x : X) :

      The additive equivalence between FreeAddCommGroup X and (X →₀ ℤ).

      Equations
      Instances For
        noncomputable def FreeAddCommGroup.coeff {X : Type u_1} (x : X) :

        coeff x is the additive group homomorphism FreeAddCommGroup X →+ ℤ that sends a to the multiplicity of x : X in a.

        Equations
        Instances For
          noncomputable def FreeAddCommGroup.support {X : Type u_1} (a : FreeAddCommGroup X) :

          support a for a : FreeAddCommGroup X is the finite set of x : X that occur in the formal sum a.

          Equations
          Instances For
            @[simp]
            theorem FreeAddCommGroup.mem_support_iff {X : Type u_1} (x : X) (a : FreeAddCommGroup X) :
            x ∈ a.support ↔ (coeff x) a ≠ 0
            theorem FreeAddCommGroup.notMem_support_iff {X : Type u_1} (x : X) (a : FreeAddCommGroup X) :
            x ∉ a.support ↔ (coeff x) a = 0
            @[simp]
            theorem FreeAddCommGroup.support_of {X : Type u_1} (x : X) :
            (of x).support = {x}
            @[simp]
            theorem FreeAddCommGroup.support_zsmul {X : Type u_1} (k : ℤ) (h : k ≠ 0) (a : FreeAddCommGroup X) :
            @[simp]
            theorem FreeAddCommGroup.support_nsmul {X : Type u_1} (k : ℕ) (h : k ≠ 0) (a : FreeAddCommGroup X) :
            theorem FreeAddCommGroup.support_add {X : Type u_1} (a b : FreeAddCommGroup X) :
            (a + b).support ⊆ a.support ∪ b.support
            @[simp]
            theorem FreeAddCommGroup.coeff_of_self {X : Type u_1} (x : X) :
            (coeff x) (of x) = 1
            @[simp]
            theorem FreeAddCommGroup.coeff_of_of_ne {X : Type u_1} {x y : X} (h : x ≠ y) :
            (coeff x) (of y) = 0
            theorem FreeAddCommGroup.coeff_of {X : Type u_1} (x y : X) [Decidable (x = y)] :
            (coeff x) (of y) = if x = y then 1 else 0
            @[deprecated FreeAddCommGroup.toFinsupp (since := "2026-11-11")]

            Alias of FreeAddCommGroup.toFinsupp.


            The group homomorphism FreeAddCommGroup X →+ (X →₀ ℤ).

            Equations
            Instances For
              @[deprecated Finsupp.toFreeAddCommGroup (since := "2026-11-11")]
              noncomputable def Finsupp.toFreeAbelianGroup {X : Type u_1} :

              Alias of Finsupp.toFreeAddCommGroup.


              The group homomorphism (X →₀ ℤ) →+ FreeAddCommGroup X.

              Equations
              Instances For
                @[deprecated FreeAddCommGroup.toFinsupp_of (since := "2026-11-11")]

                Alias of FreeAddCommGroup.toFinsupp_of.

                @[deprecated Finsupp.toFreeAddCommGroup_single (since := "2026-11-11")]

                Alias of Finsupp.toFreeAddCommGroup_single.

                @[deprecated Finsupp.toFreeAddCommGroup_comp_singleAddHom (since := "2026-11-11")]

                Alias of Finsupp.toFreeAddCommGroup_comp_singleAddHom.

                @[deprecated FreeAddCommGroup.toFinsupp_comp_toFreeAddCommGroup (since := "2026-11-11")]

                Alias of FreeAddCommGroup.toFinsupp_comp_toFreeAddCommGroup.

                @[deprecated Finsupp.toFreeAddCommGroup_comp_toFinsupp (since := "2026-11-11")]

                Alias of Finsupp.toFreeAddCommGroup_comp_toFinsupp.

                @[deprecated Finsupp.toFreeAddCommGroup_toFinsupp (since := "2026-11-11")]

                Alias of Finsupp.toFreeAddCommGroup_toFinsupp.

                @[deprecated FreeAddCommGroup.toFinsupp_toFreeAddCommGroup (since := "2026-11-11")]

                Alias of FreeAddCommGroup.toFinsupp_toFreeAddCommGroup.

                @[deprecated FreeAddCommGroup.equivFinsupp (since := "2026-11-11")]

                Alias of FreeAddCommGroup.equivFinsupp.


                The additive equivalence between FreeAddCommGroup X and (X →₀ ℤ).

                Equations
                Instances For
                  @[deprecated FreeAddCommGroup.equivFinsupp_apply (since := "2026-11-11")]

                  Alias of FreeAddCommGroup.equivFinsupp_apply.

                  @[deprecated FreeAddCommGroup.equivFinsupp_symm_apply (since := "2026-11-11")]

                  Alias of FreeAddCommGroup.equivFinsupp_symm_apply.

                  @[deprecated FreeAddCommGroup.coeff (since := "2026-11-11")]
                  noncomputable def FreeAbelianGroup.coeff {X : Type u_1} (x : X) :

                  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
                    @[deprecated FreeAddCommGroup.support (since := "2026-11-11")]
                    noncomputable def FreeAbelianGroup.support {X : Type u_1} (a : FreeAddCommGroup X) :

                    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
                      @[deprecated FreeAddCommGroup.mem_support_iff (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.mem_support_iff.

                      @[deprecated FreeAddCommGroup.notMem_support_iff (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.notMem_support_iff.

                      @[deprecated FreeAddCommGroup.support_zero (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.support_zero.

                      @[deprecated FreeAddCommGroup.support_of (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.support_of.

                      @[deprecated FreeAddCommGroup.support_neg (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.support_neg.

                      @[deprecated FreeAddCommGroup.support_zsmul (since := "2026-11-11")]
                      theorem FreeAbelianGroup.support_zsmul {X : Type u_1} (k : ℤ) (h : k ≠ 0) (a : FreeAddCommGroup X) :

                      Alias of FreeAddCommGroup.support_zsmul.

                      @[deprecated FreeAddCommGroup.support_nsmul (since := "2026-11-11")]
                      theorem FreeAbelianGroup.support_nsmul {X : Type u_1} (k : ℕ) (h : k ≠ 0) (a : FreeAddCommGroup X) :

                      Alias of FreeAddCommGroup.support_nsmul.

                      @[deprecated FreeAddCommGroup.support_add (since := "2026-11-11")]
                      theorem FreeAbelianGroup.support_add {X : Type u_1} (a b : FreeAddCommGroup X) :
                      (a + b).support ⊆ a.support ∪ b.support

                      Alias of FreeAddCommGroup.support_add.

                      @[deprecated FreeAddCommGroup.support_eq_empty (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.support_eq_empty.

                      @[deprecated FreeAddCommGroup.nonempty_support_iff (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.nonempty_support_iff.

                      @[deprecated FreeAddCommGroup.card_support_eq_zero (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.card_support_eq_zero.

                      @[deprecated FreeAddCommGroup.eq_sum_support_coeff_smul_of (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.eq_sum_support_coeff_smul_of.

                      @[deprecated FreeAddCommGroup.coeff_of_self (since := "2026-11-11")]

                      Alias of FreeAddCommGroup.coeff_of_self.

                      @[deprecated FreeAddCommGroup.coeff_of_of_ne (since := "2026-11-11")]
                      theorem FreeAbelianGroup.coeff_of_of_ne {X : Type u_1} {x y : X} (h : x ≠ y) :

                      Alias of FreeAddCommGroup.coeff_of_of_ne.

                      @[deprecated FreeAddCommGroup.coeff_of (since := "2026-11-11")]
                      theorem FreeAbelianGroup.coeff_of {X : Type u_1} (x y : X) [Decidable (x = y)] :

                      Alias of FreeAddCommGroup.coeff_of.