Documentation

Mathlib.GroupTheory.FreeAbelianGroup

Free abelian groups #

The free abelian group on a type α, defined as the abelianisation of the free group on α.

The free abelian group on α can be abstractly defined as the left adjoint of the forgetful functor from abelian groups to types. Alternatively, one could define it as the functions α → ℤ which send all but finitely many (a : α) to 0, under pointwise addition. In this file, it is defined as the abelianisation of the free group on α. All the constructions and theorems required to show the adjointness of the construction and the forgetful functor are proved in this file, but the category-theoretic adjunction statement is in Mathlib/Algebra/Category/Grp/Adjunctions.lean.

Main definitions #

Here we use the following variables: (α β : Type*) (A : Type*) [CommGroup A]

Implementation details #

The definitions are def FreeCommGroup : Type u := Group.Abelianization (FreeGroup α) and def FreeAddCommGroup : Type u := AddGroup.Abelianization (FreeAddGroup α), the latter generated from the former by to_additive. The two are related by FreeCommGroup.freeCommGroupEquivMultiplicative and FreeAddCommGroup.freeAddCommGroupEquivAdditive.

Chris Hughes has suggested that this all be rewritten in terms of Finsupp. Johan Commelin has written all the API relating the definition to Finsupp in Mathlib/Algebra/FreeAbelianGroup/Finsupp.lean.

The lemmas map_pure, map_of, map_one, map_mul, map_inv and map_div are proved about the Functor.map <$> construction, and need α and β to be in the same universe. But FreeCommGroup.map (f : α → β) is defined to be the Group homomorphism FreeCommGroup α →* FreeCommGroup β (with α and β now allowed to be in different universes), so (map f).map_mul etc. can be used to prove that FreeCommGroup.map preserves multiplication. The functions map_id, map_id_apply, map_comp, map_comp_apply and map_of_apply are about FreeCommGroup.map.

def FreeCommGroup (α : Type u) :

If α is a type, then FreeCommGroup α is the free abelian group generated by α. This is an abelian group equipped with a function FreeCommGroup.of : α → FreeCommGroup α which has the following universal property: if G is any abelian group, and f : α → G is any function, then this function is the composite of FreeCommGroup.of and a unique group homomorphism FreeCommGroup.lift f : FreeCommGroup α →* G.

A typical element of FreeCommGroup α is a formal product of elements of α and their formal inverses. For example if x and y are terms of type α then x * x * x * y⁻¹ is a "typical" element of FreeCommGroup α. In particular if α is empty then FreeCommGroup α is isomorphic to the trivial group, and if α has one term then FreeCommGroup α is isomorphic to Multiplicative ℤ. One can think of FreeCommGroup α as the functions α →₀ ℤ with finite support, and multiplication given by pointwise addition.

Equations
Instances For
    def FreeAddCommGroup (α : Type u) :

    If α is a type, then FreeAddCommGroup α is the free additive abelian group generated by α. This is an abelian group equipped with a function FreeAddCommGroup.of : α → FreeAddCommGroup α which has the following universal property: if G is any additive abelian group, and f : α → G is any function, then this function is the composite of FreeAddCommGroup.of and a unique group homomorphism FreeAddCommGroup.lift f : FreeAddCommGroup α →+ G.

    A typical element of FreeAddCommGroup α is a formal sum of elements of α and their formal inverses. For example if x and y are terms of type α then x + x + x - y is a "typical" element of FreeAddCommGroup α. In particular if α is empty then FreeAddCommGroup α is isomorphic to the trivial group, and if α has one term then FreeAddCommGroup α is isomorphic to ℤ. One can think of FreeAddCommGroup α as the functions α →₀ ℤ with finite support, and addition given pointwise.

    Equations
    Instances For
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      @[instance_reducible]
      Equations
      @[instance_reducible]
      Equations
      def FreeCommGroup.of {α : Type u} (x : α) :

      The canonical map from α to FreeCommGroup α.

      Equations
      Instances For
        def FreeAddCommGroup.of {α : Type u} (x : α) :

        The canonical map from α to FreeAddCommGroup α.

        Equations
        Instances For
          def FreeCommGroup.lift {α : Type u} {β : Type v} [CommGroup β] :
          (α → β) ≃ (FreeCommGroup α →* β)

          The map FreeCommGroup α →* A induced by a map of types α → A.

          Equations
          Instances For
            def FreeAddCommGroup.lift {α : Type u} {β : Type v} [AddCommGroup β] :
            (α → β) ≃ (FreeAddCommGroup α →+ β)

            The map FreeAdCommGroup α →+ A induced by a map of types α → A.

            Equations
            Instances For
              @[instance_reducible]
              Equations
              @[instance_reducible]
              Equations
              @[simp]
              theorem FreeCommGroup.lift_apply_of {α : Type u} {β : Type v} [CommGroup β] (f : α → β) (x : α) :
              (lift f) (of x) = f x
              @[simp]
              theorem FreeAddCommGroup.lift_apply_of {α : Type u} {β : Type v} [AddCommGroup β] (f : α → β) (x : α) :
              (lift f) (of x) = f x
              theorem FreeCommGroup.lift_unique {α : Type u} {β : Type v} [CommGroup β] (f : α → β) (g : FreeCommGroup α →* β) (hg : ∀ (x : α), g (of x) = f x) {x : FreeCommGroup α} :
              g x = (lift f) x
              theorem FreeAddCommGroup.lift_unique {α : Type u} {β : Type v} [AddCommGroup β] (f : α → β) (g : FreeAddCommGroup α →+ β) (hg : ∀ (x : α), g (of x) = f x) {x : FreeAddCommGroup α} :
              g x = (lift f) x
              theorem FreeCommGroup.lift_ext {α : Type u} {β : Type v} [CommGroup β] (g h : FreeCommGroup α →* β) (H : ∀ (x : α), g (of x) = h (of x)) :
              g = h
              theorem FreeAddCommGroup.lift_ext {α : Type u} {β : Type v} [AddCommGroup β] (g h : FreeAddCommGroup α →+ β) (H : ∀ (x : α), g (of x) = h (of x)) :
              g = h
              theorem FreeAddCommGroup.lift_ext_iff {α : Type u} {β : Type v} [AddCommGroup β] {g h : FreeAddCommGroup α →+ β} :
              g = h ↔ ∀ (x : α), g (of x) = h (of x)
              theorem FreeCommGroup.lift_ext_iff {α : Type u} {β : Type v} [CommGroup β] {g h : FreeCommGroup α →* β} :
              g = h ↔ ∀ (x : α), g (of x) = h (of x)
              theorem FreeCommGroup.lift_comp_apply {α : Type u_2} {β : Type u_3} {γ : Type u_4} [CommGroup β] [CommGroup γ] (a : FreeCommGroup α) (f : α → β) (g : β →* γ) :
              (lift (⇑g ∘ f)) a = g ((lift f) a)
              theorem FreeAddCommGroup.lift_comp_apply {α : Type u_2} {β : Type u_3} {γ : Type u_4} [AddCommGroup β] [AddCommGroup γ] (a : FreeAddCommGroup α) (f : α → β) (g : β →+ γ) :
              (lift (⇑g ∘ f)) a = g ((lift f) a)

              Multiplicative free commutative groups are isomorphic to Multiplicative additive free commutative groups.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Additive free commutative groups are isomorphic to Additive multiplicative free commutative groups.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[simp]
                  theorem FreeAddCommGroup.of_ne_zero {α : Type u} (x : α) :
                  of x ≠ 0
                  @[simp]
                  theorem FreeAddCommGroup.zero_ne_of {α : Type u} (x : α) :
                  0 ≠ of x
                  theorem FreeCommGroup.induction_on {α : Type u} {motive : FreeCommGroup α → Prop} (z : FreeCommGroup α) (one : motive 1) (of : ∀ (x : α), motive (of x)) (inv : ∀ (x : α), motive (FreeCommGroup.of x) → motive (FreeCommGroup.of x)⁻¹) (mul : ∀ (x y : FreeCommGroup α), motive x → motive y → motive (x * y)) :
                  motive z
                  theorem FreeAddCommGroup.induction_on {α : Type u} {motive : FreeAddCommGroup α → Prop} (z : FreeAddCommGroup α) (zero : motive 0) (of : ∀ (x : α), motive (of x)) (neg : ∀ (x : α), motive (FreeAddCommGroup.of x) → motive (-FreeAddCommGroup.of x)) (add : ∀ (x y : FreeAddCommGroup α), motive x → motive y → motive (x + y)) :
                  motive z
                  theorem FreeCommGroup.lift_mul_apply {α : Type u} {G : Type u_1} [CommGroup G] (f g : α → G) (a : FreeCommGroup α) :
                  (lift (f * g)) a = (lift f) a * (lift g) a
                  theorem FreeAddCommGroup.lift_add_apply {α : Type u} {G : Type u_1} [AddCommGroup G] (f g : α → G) (a : FreeAddCommGroup α) :
                  (lift (f + g)) a = (lift f) a + (lift g) a
                  @[simp]
                  theorem FreeCommGroup.lift_mul {α : Type u} {G : Type u_1} [CommGroup G] (f g : α → G) :
                  lift (f * g) = lift f * lift g
                  @[simp]
                  theorem FreeAddCommGroup.lift_add {α : Type u} {G : Type u_1} [AddCommGroup G] (f g : α → G) :
                  lift (f + g) = lift f + lift g
                  def FreeCommGroup.liftMulEquiv {α : Type u} {G : Type u_1} [CommGroup G] :
                  (α → G) ≃* (FreeCommGroup α →* G)

                  FreeCommGroup.lift is an isomorphism of groups.

                  Equations
                  Instances For
                    def FreeAddCommGroup.liftAddEquiv {α : Type u} {G : Type u_1} [AddCommGroup G] :
                    (α → G) ≃+ (FreeAddCommGroup α →+ G)

                    FreeAddCommGroup.lift is an isomorphism of additive groups.

                    Equations
                    Instances For
                      @[simp]
                      theorem FreeCommGroup.liftMulEquiv_symm_apply {α : Type u} {G : Type u_1} [CommGroup G] (a✝ : FreeCommGroup α →* G) (a✝¹ : α) :
                      @[simp]
                      theorem FreeCommGroup.liftMulEquiv_apply_apply {α : Type u} {G : Type u_1} [CommGroup G] (a✝ : α → G) (x : (QuotientGroup.con (commutator (FreeGroup α))).Quotient) :
                      (liftMulEquiv a✝) x = Con.liftOn x ⇑(FreeGroup.lift a✝) ⋯
                      @[simp]
                      theorem FreeAddCommGroup.liftAddEquiv_symm_apply {α : Type u} {G : Type u_1} [AddCommGroup G] (a✝ : FreeAddCommGroup α →+ G) (a✝¹ : α) :
                      def FreeCommGroup.liftMonoidHom {α : Type u_2} (β : Type u_3) [CommGroup β] (a : FreeCommGroup α) :
                      (α → β) →* β

                      If g : FreeCommGroup X and A is an abelian group then liftMonoidHom g is the group homomorphism sending a function X → A to the term of type A corresponding to the evaluation of the induced map FreeCommGroup X → A at g.

                      Equations
                      Instances For
                        def FreeAddCommGroup.liftAddMonoidHom {α : Type u_2} (β : Type u_3) [AddCommGroup β] (a : FreeAddCommGroup α) :
                        (α → β) →+ β

                        If g : FreeAddCommGroup X and A is an additive abelian group then liftAddMonoidHom g is the additive group homomorphism sending a function X → A to the term of type A corresponding to the evaluation of the induced map FreeAddCommGroup X → A at g.

                        Equations
                        Instances For
                          @[simp]
                          theorem FreeCommGroup.liftMonoidHom_apply {α : Type u_2} (β : Type u_3) [CommGroup β] (a : FreeCommGroup α) (f : α → β) :
                          (liftMonoidHom β a) f = (lift f) a
                          @[simp]
                          theorem FreeAddCommGroup.liftAddMonoidHom_apply {α : Type u_2} (β : Type u_3) [AddCommGroup β] (a : FreeAddCommGroup α) (f : α → β) :
                          (liftAddMonoidHom β a) f = (lift f) a
                          @[simp]
                          theorem FreeCommGroup.lift_inv {α : Type u} {G : Type u_1} [CommGroup G] (f : α → G) :
                          @[simp]
                          theorem FreeAddCommGroup.lift_neg {α : Type u} {G : Type u_1} [AddCommGroup G] (f : α → G) :
                          lift (-f) = -lift f
                          theorem FreeCommGroup.lift_inv_apply {α : Type u} {G : Type u_1} [CommGroup G] (f : α → G) (a : FreeCommGroup α) :
                          (lift f⁻¹) a = ((lift f) a)⁻¹
                          theorem FreeAddCommGroup.lift_neg_apply {α : Type u} {G : Type u_1} [AddCommGroup G] (f : α → G) (a : FreeAddCommGroup α) :
                          (lift (-f)) a = -(lift f) a
                          @[instance_reducible, deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          Equations
                          • One or more equations did not get rendered due to their size.
                          @[instance_reducible, deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          Equations
                          • One or more equations did not get rendered due to their size.
                          @[deprecated "Use unprimed version." (since := "2026-11-17")]
                          theorem FreeCommGroup.induction_on' {α : Type u} {motive : FreeCommGroup α → Prop} (z : FreeCommGroup α) (one : motive 1) (pure : ∀ (x : α), motive (pure x)) (inv : ∀ (x : α), motive (Pure.pure x) → motive (Pure.pure x)⁻¹) (mul : ∀ (x y : FreeCommGroup α), motive x → motive y → motive (x * y)) :
                          motive z
                          @[deprecated "Use unprimed version." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.induction_on' {α : Type u} {motive : FreeAddCommGroup α → Prop} (z : FreeAddCommGroup α) (zero : motive 0) (pure : ∀ (x : α), motive (pure x)) (neg : ∀ (x : α), motive (Pure.pure x) → motive (-Pure.pure x)) (add : ∀ (x y : FreeAddCommGroup α), motive x → motive y → motive (x + y)) :
                          motive z
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.map_pure {α β : Type u} (f : α → β) (x : α) :
                          f <$> pure x = pure (f x)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.map_pure {α β : Type u} (f : α → β) (x : α) :
                          f <$> pure x = pure (f x)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.map_one {α β : Type u} (f : α → β) :
                          f <$> 1 = 1
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.map_zero {α β : Type u} (f : α → β) :
                          f <$> 0 = 0
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.map_mul {α β : Type u} (f : α → β) (x y : FreeCommGroup α) :
                          f <$> (x * y) = f <$> x * f <$> y
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.map_add {α β : Type u} (f : α → β) (x y : FreeAddCommGroup α) :
                          f <$> (x + y) = f <$> x + f <$> y
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.map_inv {α β : Type u} (f : α → β) (x : FreeCommGroup α) :
                          f <$> x⁻¹ = (f <$> x)⁻¹
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.map_neg {α β : Type u} (f : α → β) (x : FreeAddCommGroup α) :
                          f <$> (-x) = -f <$> x
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.map_div {α β : Type u} (f : α → β) (x y : FreeCommGroup α) :
                          f <$> (x / y) = f <$> x / f <$> y
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.map_sub {α β : Type u} (f : α → β) (x y : FreeAddCommGroup α) :
                          f <$> (x - y) = f <$> x - f <$> y
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.map_of {α β : Type u} (f : α → β) (y : α) :
                          f <$> of y = of (f y)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.map_of {α β : Type u} (f : α → β) (y : α) :
                          f <$> of y = of (f y)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.pure_bind {α β : Type u} (f : α → FreeCommGroup β) (x : α) :
                          pure x >>= f = f x
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.pure_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x : α) :
                          pure x >>= f = f x
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.one_bind {α β : Type u} (f : α → FreeCommGroup β) :
                          1 >>= f = 1
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.zero_bind {α β : Type u} (f : α → FreeAddCommGroup β) :
                          0 >>= f = 0
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.mul_bind {α β : Type u} (f : α → FreeCommGroup β) (x y : FreeCommGroup α) :
                          x * y >>= f = (x >>= f) * (y >>= f)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.add_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x y : FreeAddCommGroup α) :
                          x + y >>= f = (x >>= f) + (y >>= f)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.inv_bind {α β : Type u} (f : α → FreeCommGroup β) (x : FreeCommGroup α) :
                          x⁻¹ >>= f = (x >>= f)⁻¹
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.neg_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x : FreeAddCommGroup α) :
                          -x >>= f = -(x >>= f)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.div_bind {α β : Type u} (f : α → FreeCommGroup β) (x y : FreeCommGroup α) :
                          x / y >>= f = (x >>= f) / (y >>= f)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.sub_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x y : FreeAddCommGroup α) :
                          x - y >>= f = (x >>= f) - (y >>= f)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.pure_seq {α β : Type u} (f : α → β) (x : FreeCommGroup α) :
                          pure f <*> x = f <$> x
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.pure_seq {α β : Type u} (f : α → β) (x : FreeAddCommGroup α) :
                          pure f <*> x = f <$> x
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.one_seq {α β : Type u} (x : FreeCommGroup α) :
                          1 <*> x = 1
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.zero_seq {α β : Type u} (x : FreeAddCommGroup α) :
                          0 <*> x = 0
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.mul_seq {α β : Type u} (f g : FreeCommGroup (α → β)) (x : FreeCommGroup α) :
                          f * g <*> x = (f <*> x) * (g <*> x)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.add_seq {α β : Type u} (f g : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                          f + g <*> x = (f <*> x) + (g <*> x)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.inv_seq {α β : Type u} (f : FreeCommGroup (α → β)) (x : FreeCommGroup α) :
                          f⁻¹ <*> x = (f <*> x)⁻¹
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.neg_seq {α β : Type u} (f : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                          -f <*> x = -(f <*> x)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeCommGroup.div_seq {α β : Type u} (f g : FreeCommGroup (α → β)) (x : FreeCommGroup α) :
                          f / g <*> x = (f <*> x) / (g <*> x)
                          @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                          theorem FreeAddCommGroup.sub_seq {α β : Type u} (f g : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                          f - g <*> x = (f <*> x) - (g <*> x)
                          @[deprecated "Use `lift map` instead." (since := "2026-11-17")]

                          If f : FreeCommGroup (α → β), then f <*> is a multiplicative morphism FreeCommGroup α →* FreeCommGroup β.

                          Equations
                          Instances For
                            @[deprecated "Use `lift map` instead." (since := "2026-11-17")]

                            If f : FreeAddCommGroup (α → β), then f <*> is an additive morphism FreeAddCommGroup α →+ FreeAddCommGroup β.

                            Equations
                            Instances For
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeCommGroup.seq_one {α β : Type u} (f : FreeCommGroup (α → β)) :
                              f <*> 1 = 1
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeAddCommGroup.seq_zero {α β : Type u} (f : FreeAddCommGroup (α → β)) :
                              f <*> 0 = 0
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeCommGroup.seq_mul {α β : Type u} (f : FreeCommGroup (α → β)) (x y : FreeCommGroup α) :
                              f <*> x * y = (f <*> x) * (f <*> y)
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeAddCommGroup.seq_add {α β : Type u} (f : FreeAddCommGroup (α → β)) (x y : FreeAddCommGroup α) :
                              f <*> x + y = (f <*> x) + (f <*> y)
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeCommGroup.seq_inv {α β : Type u} (f : FreeCommGroup (α → β)) (x : FreeCommGroup α) :
                              f <*> x⁻¹ = (f <*> x)⁻¹
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeAddCommGroup.seq_neg {α β : Type u} (f : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                              f <*> -x = -(f <*> x)
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeCommGroup.seq_div {α β : Type u} (f : FreeCommGroup (α → β)) (x y : FreeCommGroup α) :
                              f <*> x / y = (f <*> x) / (f <*> y)
                              @[deprecated "Use `lift map` instead." (since := "2026-11-17")]
                              theorem FreeAddCommGroup.seq_sub {α β : Type u} (f : FreeAddCommGroup (α → β)) (x y : FreeAddCommGroup α) :
                              f <*> x - y = (f <*> x) - (f <*> y)
                              @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                              @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                              @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                              @[deprecated "Use `of`, `map`, and `lift` instead." (since := "2026-11-17")]
                              def FreeCommGroup.map {α : Type u} {β : Type v} (f : α → β) :

                              The group homomorphism FreeCommGroup α →+ FreeCommGroup β induced from a map α → β.

                              Equations
                              Instances For
                                def FreeAddCommGroup.map {α : Type u} {β : Type v} (f : α → β) :

                                The additive group homomorphism FreeAddCommGroup α →+ FreeAddCommGroup β induced from a map α → β.

                                Equations
                                Instances For
                                  theorem FreeCommGroup.lift_comp {α : Type u_2} {β : Type u_3} {γ : Type u_4} [CommGroup γ] (f : α → β) (g : β → γ) (x : FreeCommGroup α) :
                                  (lift (g ∘ f)) x = (lift g) ((map f) x)
                                  theorem FreeAddCommGroup.lift_comp {α : Type u_2} {β : Type u_3} {γ : Type u_4} [AddCommGroup γ] (f : α → β) (g : β → γ) (x : FreeAddCommGroup α) :
                                  (lift (g ∘ f)) x = (lift g) ((map f) x)
                                  theorem FreeCommGroup.map_id_apply {α : Type u} (x : FreeCommGroup α) :
                                  (map id) x = x
                                  theorem FreeCommGroup.map_comp {α : Type u} {β : Type v} {γ : Type w} {f : α → β} {g : β → γ} :
                                  map (g ∘ f) = (map g).comp (map f)
                                  theorem FreeAddCommGroup.map_comp {α : Type u} {β : Type v} {γ : Type w} {f : α → β} {g : β → γ} :
                                  map (g ∘ f) = (map g).comp (map f)
                                  theorem FreeCommGroup.map_comp_apply {α : Type u} {β : Type v} {γ : Type w} {f : α → β} {g : β → γ} (x : FreeCommGroup α) :
                                  (map (g ∘ f)) x = (map g) ((map f) x)
                                  theorem FreeAddCommGroup.map_comp_apply {α : Type u} {β : Type v} {γ : Type w} {f : α → β} {g : β → γ} (x : FreeAddCommGroup α) :
                                  (map (g ∘ f)) x = (map g) ((map f) x)
                                  @[simp]
                                  theorem FreeCommGroup.map_of_apply {α : Type u} {β : Type v} {f : α → β} (a : α) :
                                  (map f) (of a) = of (f a)
                                  @[simp]
                                  theorem FreeAddCommGroup.map_of_apply {α : Type u} {β : Type v} {f : α → β} (a : α) :
                                  (map f) (of a) = of (f a)
                                  def FreeCommGroup.equivOfEquiv {α : Type u_2} {β : Type u_3} (f : α ≃ β) :

                                  Isomorphic types have isomorphic free abelian groups.

                                  Equations
                                  Instances For
                                    def FreeAddCommGroup.equivOfEquiv {α : Type u_2} {β : Type u_3} (f : α ≃ β) :

                                    Isomorphic types have isomorphic free abelian groups.

                                    Equations
                                    Instances For

                                      The free abelian group on a type with one term is isomorphic to ℤ.

                                      Equations
                                      Instances For

                                        This section defines a ring structure on FreeAddCommGroup α when α is a monoid. It is deprecated in favor of using MonoidAlgebra ℤ α. MonoidAlgebra is defined in Mathlib.Algebra.MonoidAlgebra.Defs.

                                        Also deprecated is FreeAbelianGroup, as this is now FreeAddCommGroup. In particular, definitions that were under the FreeAbelianGroup namespace are now deprecated in favor of the corresponding ones in the FreeAddCommGroup namespace.

                                        @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                        Equations
                                        Instances For
                                          @[deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                          theorem FreeAbelianGroup.mul_def {α : Type u} [Mul α] (x y : FreeAddCommGroup α) :
                                          x * y = (FreeAddCommGroup.lift fun (x₂ : α) => (FreeAddCommGroup.lift fun (x₁ : α) => FreeAddCommGroup.of (x₁ * x₂)) x) y
                                          @[simp, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                          @[deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                          @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                              Equations
                                              Instances For
                                                @[deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                @[deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                Equations
                                                Instances For
                                                  @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    @[deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]

                                                    FreeAddCommGroup.of is a MonoidHom when α is a Monoid.

                                                    Equations
                                                    Instances For
                                                      @[simp, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                      @[deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                      def FreeAbelianGroup.liftMonoid {α : Type u} {R : Type u_2} [Monoid α] [Ring R] :

                                                      If f preserves multiplication, then so does lift f.

                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        @[simp, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                        theorem FreeAbelianGroup.toAddMonoidHom_liftMonoid {α : Type u} {R : Type u_2} [Monoid α] [Ring R] (f : α →* R) :
                                                        @[deprecated FreeAbelianGroup.toAddMonoidHom_liftMonoid (since := "2026-09-15")]
                                                        theorem FreeAbelianGroup.liftMonoid_coe_addMonoidHom {α : Type u} {R : Type u_2} [Monoid α] [Ring R] (f : α →* R) :

                                                        Alias of FreeAbelianGroup.toAddMonoidHom_liftMonoid.

                                                        @[simp, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                        theorem FreeAbelianGroup.liftMonoid_coe {α : Type u} {R : Type u_2} [Monoid α] [Ring R] (f : α →* R) :
                                                        @[simp, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                        @[instance_reducible, deprecated "use `MonoidAlgebra ℤ` instead" (since := "2026-07-29")]
                                                        Equations
                                                        Instances For
                                                          @[deprecated FreeAddCommGroup (since := "2026-11-11")]
                                                          def FreeAbelianGroup (α : Type u) :

                                                          Alias of FreeAddCommGroup.


                                                          If α is a type, then FreeAddCommGroup α is the free additive abelian group generated by α. This is an abelian group equipped with a function FreeAddCommGroup.of : α → FreeAddCommGroup α which has the following universal property: if G is any additive abelian group, and f : α → G is any function, then this function is the composite of FreeAddCommGroup.of and a unique group homomorphism FreeAddCommGroup.lift f : FreeAddCommGroup α →+ G.

                                                          A typical element of FreeAddCommGroup α is a formal sum of elements of α and their formal inverses. For example if x and y are terms of type α then x + x + x - y is a "typical" element of FreeAddCommGroup α. In particular if α is empty then FreeAddCommGroup α is isomorphic to the trivial group, and if α has one term then FreeAddCommGroup α is isomorphic to ℤ. One can think of FreeAddCommGroup α as the functions α →₀ ℤ with finite support, and addition given pointwise.

                                                          Equations
                                                          Instances For
                                                            @[deprecated FreeAddCommGroup.of (since := "2026-11-11")]
                                                            def FreeAbelianGroup.of {α : Type u} (x : α) :

                                                            Alias of FreeAddCommGroup.of.


                                                            The canonical map from α to FreeAddCommGroup α.

                                                            Equations
                                                            Instances For
                                                              @[deprecated FreeAddCommGroup.lift (since := "2026-11-11")]
                                                              def FreeAbelianGroup.lift {α : Type u} {β : Type v} [AddCommGroup β] :
                                                              (α → β) ≃ (FreeAddCommGroup α →+ β)

                                                              Alias of FreeAddCommGroup.lift.


                                                              The map FreeAdCommGroup α →+ A induced by a map of types α → A.

                                                              Equations
                                                              Instances For
                                                                @[deprecated FreeAddCommGroup.lift_apply_of (since := "2026-11-11")]
                                                                theorem FreeAbelianGroup.lift_apply_of {α : Type u} {β : Type v} [AddCommGroup β] (f : α → β) (x : α) :

                                                                Alias of FreeAddCommGroup.lift_apply_of.

                                                                @[deprecated FreeAddCommGroup.lift_unique (since := "2026-11-11")]
                                                                theorem FreeAbelianGroup.lift_unique {α : Type u} {β : Type v} [AddCommGroup β] (f : α → β) (g : FreeAddCommGroup α →+ β) (hg : ∀ (x : α), g (FreeAddCommGroup.of x) = f x) {x : FreeAddCommGroup α} :

                                                                Alias of FreeAddCommGroup.lift_unique.

                                                                @[deprecated FreeAddCommGroup.lift_ext (since := "2026-11-11")]
                                                                theorem FreeAbelianGroup.lift_ext {α : Type u} {β : Type v} [AddCommGroup β] (g h : FreeAddCommGroup α →+ β) (H : ∀ (x : α), g (FreeAddCommGroup.of x) = h (FreeAddCommGroup.of x)) :
                                                                g = h

                                                                Alias of FreeAddCommGroup.lift_ext.

                                                                @[deprecated FreeAddCommGroup.lift_comp_apply (since := "2026-11-11")]
                                                                theorem FreeAbelianGroup.lift_comp_apply {α : Type u_2} {β : Type u_3} {γ : Type u_4} [AddCommGroup β] [AddCommGroup γ] (a : FreeAddCommGroup α) (f : α → β) (g : β →+ γ) :

                                                                Alias of FreeAddCommGroup.lift_comp_apply.

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

                                                                Alias of FreeAddCommGroup.of_injective.

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

                                                                Alias of FreeAddCommGroup.of_ne_zero.

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

                                                                Alias of FreeAddCommGroup.zero_ne_of.

                                                                @[deprecated FreeAddCommGroup.induction_on (since := "2026-11-11")]
                                                                theorem FreeAbelianGroup.induction_on {α : Type u} {motive : FreeAddCommGroup α → Prop} (z : FreeAddCommGroup α) (zero : motive 0) (of : ∀ (x : α), motive (FreeAddCommGroup.of x)) (neg : ∀ (x : α), motive (FreeAddCommGroup.of x) → motive (-FreeAddCommGroup.of x)) (add : ∀ (x y : FreeAddCommGroup α), motive x → motive y → motive (x + y)) :
                                                                motive z

                                                                Alias of FreeAddCommGroup.induction_on.

                                                                @[deprecated FreeAddCommGroup.lift_add_apply (since := "2026-11-11")]
                                                                theorem FreeAbelianGroup.lift_add_apply {α : Type u} {G : Type u_1} [AddCommGroup G] (f g : α → G) (a : FreeAddCommGroup α) :

                                                                Alias of FreeAddCommGroup.lift_add_apply.

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

                                                                Alias of FreeAddCommGroup.lift_add.

                                                                @[deprecated FreeAddCommGroup.liftAddEquiv (since := "2026-11-11")]
                                                                def FreeAbelianGroup.liftAddEquiv {α : Type u} {G : Type u_1} [AddCommGroup G] :
                                                                (α → G) ≃+ (FreeAddCommGroup α →+ G)

                                                                Alias of FreeAddCommGroup.liftAddEquiv.


                                                                FreeAddCommGroup.lift is an isomorphism of additive groups.

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

                                                                  Alias of FreeAddCommGroup.liftAddEquiv_apply_apply.

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

                                                                  Alias of FreeAddCommGroup.liftAddEquiv_symm_apply.

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

                                                                  Alias of FreeAddCommGroup.liftAddMonoidHom_apply.

                                                                  @[deprecated FreeAddCommGroup.lift_ext_iff (since := "2026-11-11")]
                                                                  theorem FreeAbelianGroup.lift_ext_iff {α : Type u} {β : Type v} [AddCommGroup β] {g h : FreeAddCommGroup α →+ β} :
                                                                  g = h ↔ ∀ (x : α), g (FreeAddCommGroup.of x) = h (FreeAddCommGroup.of x)

                                                                  Alias of FreeAddCommGroup.lift_ext_iff.

                                                                  @[deprecated FreeAddCommGroup.liftAddMonoidHom (since := "2026-11-11")]
                                                                  def FreeAbelianGroup.liftAddGroupHom {α : Type u_2} (β : Type u_3) [AddCommGroup β] (a : FreeAddCommGroup α) :
                                                                  (α → β) →+ β

                                                                  Alias of FreeAddCommGroup.liftAddMonoidHom.


                                                                  If g : FreeAddCommGroup X and A is an additive abelian group then liftAddMonoidHom g is the additive group homomorphism sending a function X → A to the term of type A corresponding to the evaluation of the induced map FreeAddCommGroup X → A at g.

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

                                                                    Alias of FreeAddCommGroup.lift_neg.

                                                                    @[deprecated FreeAddCommGroup.lift_neg_apply (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.lift_neg_apply {α : Type u} {G : Type u_1} [AddCommGroup G] (f : α → G) (a : FreeAddCommGroup α) :

                                                                    Alias of FreeAddCommGroup.lift_neg_apply.

                                                                    @[deprecated FreeAddCommGroup.induction_on' (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.induction_on' {α : Type u} {motive : FreeAddCommGroup α → Prop} (z : FreeAddCommGroup α) (zero : motive 0) (pure : ∀ (x : α), motive (pure x)) (neg : ∀ (x : α), motive (Pure.pure x) → motive (-Pure.pure x)) (add : ∀ (x y : FreeAddCommGroup α), motive x → motive y → motive (x + y)) :
                                                                    motive z

                                                                    Alias of FreeAddCommGroup.induction_on'.

                                                                    @[deprecated FreeAddCommGroup.map_pure (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.map_pure {α β : Type u} (f : α → β) (x : α) :
                                                                    f <$> pure x = pure (f x)

                                                                    Alias of FreeAddCommGroup.map_pure.

                                                                    @[deprecated FreeAddCommGroup.map_zero (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.map_zero {α β : Type u} (f : α → β) :
                                                                    f <$> 0 = 0

                                                                    Alias of FreeAddCommGroup.map_zero.

                                                                    @[deprecated FreeAddCommGroup.map_add (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.map_add {α β : Type u} (f : α → β) (x y : FreeAddCommGroup α) :
                                                                    f <$> (x + y) = f <$> x + f <$> y

                                                                    Alias of FreeAddCommGroup.map_add.

                                                                    @[deprecated FreeAddCommGroup.map_neg (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.map_neg {α β : Type u} (f : α → β) (x : FreeAddCommGroup α) :
                                                                    f <$> (-x) = -f <$> x

                                                                    Alias of FreeAddCommGroup.map_neg.

                                                                    @[deprecated FreeAddCommGroup.map_sub (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.map_sub {α β : Type u} (f : α → β) (x y : FreeAddCommGroup α) :
                                                                    f <$> (x - y) = f <$> x - f <$> y

                                                                    Alias of FreeAddCommGroup.map_sub.

                                                                    @[deprecated FreeAddCommGroup.map_of (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.map_of {α β : Type u} (f : α → β) (y : α) :

                                                                    Alias of FreeAddCommGroup.map_of.

                                                                    @[deprecated FreeAddCommGroup.pure_bind (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.pure_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x : α) :
                                                                    pure x >>= f = f x

                                                                    Alias of FreeAddCommGroup.pure_bind.

                                                                    @[deprecated FreeAddCommGroup.zero_bind (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.zero_bind {α β : Type u} (f : α → FreeAddCommGroup β) :
                                                                    0 >>= f = 0

                                                                    Alias of FreeAddCommGroup.zero_bind.

                                                                    @[deprecated FreeAddCommGroup.add_bind (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.add_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x y : FreeAddCommGroup α) :
                                                                    x + y >>= f = (x >>= f) + (y >>= f)

                                                                    Alias of FreeAddCommGroup.add_bind.

                                                                    @[deprecated FreeAddCommGroup.neg_bind (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.neg_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x : FreeAddCommGroup α) :
                                                                    -x >>= f = -(x >>= f)

                                                                    Alias of FreeAddCommGroup.neg_bind.

                                                                    @[deprecated FreeAddCommGroup.sub_bind (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.sub_bind {α β : Type u} (f : α → FreeAddCommGroup β) (x y : FreeAddCommGroup α) :
                                                                    x - y >>= f = (x >>= f) - (y >>= f)

                                                                    Alias of FreeAddCommGroup.sub_bind.

                                                                    @[deprecated FreeAddCommGroup.pure_seq (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.pure_seq {α β : Type u} (f : α → β) (x : FreeAddCommGroup α) :
                                                                    pure f <*> x = f <$> x

                                                                    Alias of FreeAddCommGroup.pure_seq.

                                                                    @[deprecated FreeAddCommGroup.zero_seq (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.zero_seq {α β : Type u} (x : FreeAddCommGroup α) :
                                                                    0 <*> x = 0

                                                                    Alias of FreeAddCommGroup.zero_seq.

                                                                    @[deprecated FreeAddCommGroup.add_seq (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.add_seq {α β : Type u} (f g : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                                                                    f + g <*> x = (f <*> x) + (g <*> x)

                                                                    Alias of FreeAddCommGroup.add_seq.

                                                                    @[deprecated FreeAddCommGroup.neg_seq (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.neg_seq {α β : Type u} (f : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                                                                    -f <*> x = -(f <*> x)

                                                                    Alias of FreeAddCommGroup.neg_seq.

                                                                    @[deprecated FreeAddCommGroup.sub_seq (since := "2026-11-11")]
                                                                    theorem FreeAbelianGroup.sub_seq {α β : Type u} (f g : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                                                                    f - g <*> x = (f <*> x) - (g <*> x)

                                                                    Alias of FreeAddCommGroup.sub_seq.

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

                                                                    Alias of FreeAddCommGroup.seqAddGroupHom.


                                                                    If f : FreeAddCommGroup (α → β), then f <*> is an additive morphism FreeAddCommGroup α →+ FreeAddCommGroup β.

                                                                    Equations
                                                                    Instances For
                                                                      @[deprecated FreeAddCommGroup.seq_zero (since := "2026-11-11")]
                                                                      theorem FreeAbelianGroup.seq_zero {α β : Type u} (f : FreeAddCommGroup (α → β)) :
                                                                      f <*> 0 = 0

                                                                      Alias of FreeAddCommGroup.seq_zero.

                                                                      @[deprecated FreeAddCommGroup.seq_add (since := "2026-11-11")]
                                                                      theorem FreeAbelianGroup.seq_add {α β : Type u} (f : FreeAddCommGroup (α → β)) (x y : FreeAddCommGroup α) :
                                                                      f <*> x + y = (f <*> x) + (f <*> y)

                                                                      Alias of FreeAddCommGroup.seq_add.

                                                                      @[deprecated FreeAddCommGroup.seq_neg (since := "2026-11-11")]
                                                                      theorem FreeAbelianGroup.seq_neg {α β : Type u} (f : FreeAddCommGroup (α → β)) (x : FreeAddCommGroup α) :
                                                                      f <*> -x = -(f <*> x)

                                                                      Alias of FreeAddCommGroup.seq_neg.

                                                                      @[deprecated FreeAddCommGroup.seq_sub (since := "2026-11-11")]
                                                                      theorem FreeAbelianGroup.seq_sub {α β : Type u} (f : FreeAddCommGroup (α → β)) (x y : FreeAddCommGroup α) :
                                                                      f <*> x - y = (f <*> x) - (f <*> y)

                                                                      Alias of FreeAddCommGroup.seq_sub.

                                                                      @[deprecated FreeAddCommGroup.map (since := "2026-11-11")]
                                                                      def FreeAbelianGroup.map {α : Type u} {β : Type v} (f : α → β) :

                                                                      Alias of FreeAddCommGroup.map.


                                                                      The additive group homomorphism FreeAddCommGroup α →+ FreeAddCommGroup β induced from a map α → β.

                                                                      Equations
                                                                      Instances For
                                                                        @[deprecated FreeAddCommGroup.lift_comp (since := "2026-11-11")]
                                                                        theorem FreeAbelianGroup.lift_comp {α : Type u_2} {β : Type u_3} {γ : Type u_4} [AddCommGroup γ] (f : α → β) (g : β → γ) (x : FreeAddCommGroup α) :

                                                                        Alias of FreeAddCommGroup.lift_comp.

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

                                                                        Alias of FreeAddCommGroup.map_id.

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

                                                                        Alias of FreeAddCommGroup.map_id_apply.

                                                                        @[deprecated FreeAddCommGroup.map_comp (since := "2026-11-11")]
                                                                        theorem FreeAbelianGroup.map_comp {α : Type u} {β : Type v} {γ : Type w} {f : α → β} {g : β → γ} :

                                                                        Alias of FreeAddCommGroup.map_comp.

                                                                        @[deprecated FreeAddCommGroup.map_comp_apply (since := "2026-11-11")]
                                                                        theorem FreeAbelianGroup.map_comp_apply {α : Type u} {β : Type v} {γ : Type w} {f : α → β} {g : β → γ} (x : FreeAddCommGroup α) :

                                                                        Alias of FreeAddCommGroup.map_comp_apply.

                                                                        @[deprecated FreeAddCommGroup.map_of_apply (since := "2026-11-11")]
                                                                        theorem FreeAbelianGroup.map_of_apply {α : Type u} {β : Type v} {f : α → β} (a : α) :

                                                                        Alias of FreeAddCommGroup.map_of_apply.

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

                                                                        Alias of FreeAddCommGroup.uniqueEquiv.


                                                                        The free abelian group on a type with one term is isomorphic to ℤ.

                                                                        Equations
                                                                        Instances For
                                                                          @[deprecated FreeAddCommGroup.equivOfEquiv (since := "2026-11-11")]
                                                                          def FreeAbelianGroup.equivOfEquiv {α : Type u_2} {β : Type u_3} (f : α ≃ β) :

                                                                          Alias of FreeAddCommGroup.equivOfEquiv.


                                                                          Isomorphic types have isomorphic free abelian groups.

                                                                          Equations
                                                                          Instances For