The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V26. Homological algebra

Mathlib.Algebra.Category.Grp.Ulift

31 declarations. Mathlib docs · Source

Properties of the universe lift functor for groups

This file shows that the functors GrpCat.uliftFunctor and CommGrpCat.uliftFunctor (as well as the additive versions) are fully faithful, preserve all limits and create small limits.

Full faithfulness is pretty obvious. To prove that the functors preserve limits, we use the fact that the forgetful functor from GrpCat or CommGrpCat into Type creates all limits (because of the way limits are constructed in GrpCat and CommGrpCat), and that the universe lift functor on Type preserves all limits. Once we know that GrpCat.uliftFunctor preserves all limits and is fully faithful, it will automatically create all limits that exist, i.e. all small ones.

We then switch to AddCommGrpCat and show that AddCommGrpCat.uliftFunctor preserves zero morphisms and is an additive functor, which again is pretty obvious.

The last result is a proof that AddCommGrpCat.uliftFunctor preserves all colimits (and hence creates small colimits). This is the only non-formal part of this file, as we follow the same strategy as for the categories Type.

Suppose that we have a functor K : J ⥤ AddCommGrpCat.{u} (with J any category), a colimit cocone c of K and a cocone lc of K ⋙ uliftFunctor.{u v}. We want to construct a morphism of cocones uliftFunctor.mapCocone c → lc witnessing the fact that uliftFunctor.mapCocone c is also a colimit cocone, but we have no direct way to do this. The idea is to use that AddCommGrpCat.{max v u} has a small cogenerator, which is just the additive (rational) circle ℚ / ℤ, so any abelian group of any size can be recovered from its morphisms into ℚ / ℤ. More precisely, the functor sending an abelian group A to its dual A →+ ℚ / ℤ is fully faithful, if we consider the dual as a (right) module over the endomorphism ring of ℚ / ℤ. So an abelian group C is totally determined by the restriction of the coyoneda functor A ↦ (C →+ A) to the category of abelian groups at a smaller universe level. We do not develop this totally here but do a direct construction. Every time we have a morphism from lc.pt into ℚ / ℤ, or more generally into any small abelian group A, we can construct a cocone of K ⋙ uliftFunctor by sticking ULift A at the cocone point (this is CategoryTheory.Limits.Cocone.extensions), and this cocone is actually made up of u-small abelian groups, hence gives a cocone of K. Using the universal property of c, we get a morphism c.pt →+ A. So we have constructed a map (lc.pt →+ A) → (c.pt →+ A), and it is easy to prove that it is compatible with postcomposition of morphisms of small abelian groups. To actually get the morphism c.pt →+ lc.pt, we apply this to the canonical embedding of lc.pt into Π (_ : lc.pt →+ ℚ / ℤ), ℚ / ℤ (this group is not small but is a product of small groups, so our construction extends). To show that the image of c.pt in this product is contained in that of lc.pt, we use the compatibility with postcomposition and the fact that we can detect elements of the image just by applying morphisms from Π (_ : lc.pt →+ ℚ / ℤ), ℚ / ℤ to ℚ / ℤ.

Note that this does not work for noncommutative groups, because the existence of simple groups of arbitrary size implies that a general object G of GrpCat is not determined by the restriction of coyoneda.obj G to the category of groups at a smaller universe level. Indeed, the functor GrpCat.uliftFunctor does not commute with arbitrary colimits: if we take an increasing family K of simple groups in GrpCat.{u} of unbounded cardinality indexed by a linearly ordered type (for example finitary alternating groups on a family of types in u of unbounded cardinality), then the colimit of K in GrpCat.{u} exists and is the trivial group; meanwhile, the colimit of K ⋙ GrpCat.uliftFunctor.{u + 1} is nontrivial (it is the "union" of all the K j, which is too big to be in GrpCat.{u}).

def GrpCat.uliftFunctorFullyFaithful E1 #

GrpCat.uliftFunctor.FullyFaithful

The universe lift functor for groups is fully faithful.

def AddGrpCat.uliftFunctorFullyFaithful E1 #

AddGrpCat.uliftFunctor.FullyFaithful

The universe lift functor for additive groups is fully faithful.

instance GrpCat.instFaithfulUliftFunctor E0 #

GrpCat.uliftFunctor.Faithful

The universe lift functor for groups is faithful.

instance AddGrpCat.instFaithfulUliftFunctor E0 #

AddGrpCat.uliftFunctor.Faithful

The universe lift functor for additive groups is faithful.

instance GrpCat.instFullUliftFunctor E0 #

GrpCat.uliftFunctor.Full

The universe lift functor for groups is full.

instance AddGrpCat.instFullUliftFunctor E0 #

AddGrpCat.uliftFunctor.Full

The universe lift functor for additive groups is full.

instance AddGrpCat.uliftFunctor_preservesLimit E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J AddGrpCat),
  CategoryTheory.Limits.PreservesLimit K AddGrpCat.uliftFunctor

instance GrpCat.uliftFunctor_preservesLimit E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J GrpCat),
  CategoryTheory.Limits.PreservesLimit K GrpCat.uliftFunctor

instance AddGrpCat.uliftFunctor_preservesLimitsOfShape E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J],
  CategoryTheory.Limits.PreservesLimitsOfShape J AddGrpCat.uliftFunctor

instance GrpCat.uliftFunctor_preservesLimitsOfShape E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J],
  CategoryTheory.Limits.PreservesLimitsOfShape J GrpCat.uliftFunctor

instance GrpCat.uliftFunctor_preservesLimitsOfSize E0 #

CategoryTheory.Limits.PreservesLimitsOfSize.{w', w, u, max u v, u + 1, max (u + 1) (v + 1)} GrpCat.uliftFunctor

The universe lift for groups preserves limits of arbitrary size.

instance AddGrpCat.uliftFunctor_preservesLimitsOfSize E0 #

CategoryTheory.Limits.PreservesLimitsOfSize.{w', w, u, max u v, u + 1, max (u + 1) (v + 1)} AddGrpCat.uliftFunctor

The universe lift functor for additive groups preserves limits of arbitrary size.

instance GrpCat.instCreatesLimitsOfSizeUliftFunctor E0 #

CategoryTheory.CreatesLimitsOfSize.{w, u, u, max u v, u + 1, max (u + 1) (v + 1)} GrpCat.uliftFunctor

The universe lift functor on GrpCat.{u} creates u-small limits.

instance AddGrpCat.instCreatesLimitsOfSizeUliftFunctor E0 #

CategoryTheory.CreatesLimitsOfSize.{w, u, u, max u v, u + 1, max (u + 1) (v + 1)} AddGrpCat.uliftFunctor

The universe lift functor on AddGrpCat.{u} creates u-small limits.

def CommGrpCat.uliftFunctorFullyFaithful E1 #

CommGrpCat.uliftFunctor.FullyFaithful

The universe lift functor for commutative groups is fully faithful.

def AddCommGrpCat.uliftFunctorFullyFaithful E1 #

AddCommGrpCat.uliftFunctor.FullyFaithful

The universe lift functor for commutative additive groups is fully faithful.

instance CommGrpCat.instFaithfulUliftFunctor E0 #

CommGrpCat.uliftFunctor.Faithful

The universe lift functor for commutative groups is faithful.

instance AddCommGrpCat.instFaithfulUliftFunctor E0 #

AddCommGrpCat.uliftFunctor.Faithful

The universe lift functor for commutative additive groups is faithful.

instance CommGrpCat.instFullUliftFunctor E0 #

CommGrpCat.uliftFunctor.Full

The universe lift functor for commutative groups is full.

instance AddCommGrpCat.instFullUliftFunctor E0 #

AddCommGrpCat.uliftFunctor.Full

The universe lift functor for commutative additive groups is full.

instance CommGrpCat.uliftFunctor_preservesLimit E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J CommGrpCat),
  CategoryTheory.Limits.PreservesLimit K CommGrpCat.uliftFunctor

instance AddCommGrpCat.uliftFunctor_preservesLimit E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J AddCommGrpCat),
  CategoryTheory.Limits.PreservesLimit K AddCommGrpCat.uliftFunctor

instance CommGrpCat.uliftFunctor_preservesLimitsOfShape E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J],
  CategoryTheory.Limits.PreservesLimitsOfShape J CommGrpCat.uliftFunctor

instance AddCommGrpCat.uliftFunctor_preservesLimitsOfShape E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{w', w} J],
  CategoryTheory.Limits.PreservesLimitsOfShape J AddCommGrpCat.uliftFunctor

instance CommGrpCat.uliftFunctor_preservesLimitsOfSize E0 #

CategoryTheory.Limits.PreservesLimitsOfSize.{w', w, u, max u v, u + 1, max (u + 1) (v + 1)} CommGrpCat.uliftFunctor

The universe lift for commutative groups preserves limits of arbitrary size.

instance AddCommGrpCat.uliftFunctor_preservesLimitsOfSize E0 #

CategoryTheory.Limits.PreservesLimitsOfSize.{w', w, u, max u v, u + 1, max (u + 1) (v + 1)} AddCommGrpCat.uliftFunctor

The universe lift functor for commutative additive groups preserves limits of arbitrary size.

instance CommGrpCat.instCreatesLimitsOfSizeUliftFunctor E0 #

CategoryTheory.CreatesLimitsOfSize.{w, u, u, max u v, u + 1, max (u + 1) (v + 1)} CommGrpCat.uliftFunctor

The universe lift functor on CommGrpCat.{u} creates u-small limits.

instance AddCommGrpCat.instCreatesLimitsOfSizeUliftFunctor E0 #

CategoryTheory.CreatesLimitsOfSize.{w, u, u, max u v, u + 1, max (u + 1) (v + 1)} AddCommGrpCat.uliftFunctor

The universe lift functor on AddCommGrpCat.{u} creates u-small limits.

instance AddCommGrpCat.uliftFunctor_additive E0 #

AddCommGrpCat.uliftFunctor.Additive

The universe lift for commutative additive groups is additive.

instance AddCommGrpCat.instPreservesColimitsOfSizeUliftFunctor E0 #

CategoryTheory.Limits.PreservesColimitsOfSize.{w', w, u, max u v, u + 1, max (u + 1) (v + 1)} AddCommGrpCat.uliftFunctor

The functor uliftFunctor : AddCommGrpCat.{u} ⥤ AddCommGrpCat.{max u v} preserves colimits of arbitrary size.

instance AddCommGrpCat.instCreatesColimitsOfSizeUliftFunctor E0 #

CategoryTheory.CreatesColimitsOfSize.{w, u, u, max u v, u + 1, max (u + 1) (v + 1)} AddCommGrpCat.uliftFunctor

The functor uliftFunctor : AddCommGrpCat.{u} ⥤ AddCommGrpCat.{max u v} creates u-small colimits.