module Algebra.Group.Ab.Free where

Free abelian groupsπŸ”—

We have already constructed the free group on a set and the free abelian group on a group; Composing these adjunctions, we obtain the free abelian group on a set.

Free-abelian : βˆ€ {β„“} β†’ Type β„“ β†’ Abelian-group β„“
Free-abelian T = Abelianise (Free-Group T)
  Free-abelian⊣Forget
    : βˆ€ {β„“} β†’ Free-abelian-functor {β„“} ⊣ Abβ†ͺSets
  Free-abelian⊣Forget = LF⊣GR
    (free-objects→left-adjoint make-free-group)
    (free-objects→left-adjoint make-free-abelian)