mathlib documentation

algebra.category.Mon.filtered_colimits

The forgetful functor from (commutative) (additive) monoids preserves filtered colimits. #

Forgetful functors from algebraic categories usually don't preserve colimits. However, they tend to preserve filtered colimits.

In this file, we start with a small filtered category J and a functor F : J ⥤ Mon. We then construct a monoid structure on the colimit of F ⋙ forget Mon (in Type), thereby showing that the forgetful functor forget Mon preserves filtered colimits. Similarly for AddMon, CommMon and AddCommMon.

def AddMon.filtered_colimits.M {J : Type v} [category_theory.small_category J] (F : J AddMon) :
Type v

The colimit of F ⋙ forget AddMon in the category of types. In the following, we will construct an additive monoid structure on M.

def Mon.filtered_colimits.M {J : Type v} [category_theory.small_category J] (F : J Mon) :
Type v

The colimit of F ⋙ forget Mon in the category of types. In the following, we will construct a monoid structure on M.

The canonical projection into the colimit, as a quotient type.

def Mon.filtered_colimits.M.mk {J : Type v} [category_theory.small_category J] (F : J Mon) :
(Σ (j : J), (F.obj j))Mon.filtered_colimits.M F

The canonical projection into the colimit, as a quotient type.

theorem AddMon.filtered_colimits.M.mk_eq {J : Type v} [category_theory.small_category J] (F : J AddMon) (x y : Σ (j : J), (F.obj j)) (h : ∃ (k : J) (f : x.fst k) (g : y.fst k), (F.map f) x.snd = (F.map g) y.snd) :
theorem Mon.filtered_colimits.M.mk_eq {J : Type v} [category_theory.small_category J] (F : J Mon) (x y : Σ (j : J), (F.obj j)) (h : ∃ (k : J) (f : x.fst k) (g : y.fst k), (F.map f) x.snd = (F.map g) y.snd) :
@[instance]

As J is nonempty, we can pick an arbitrary object j₀ : J. We use this object to define the "one" in the colimit as the equivalence class of ⟨j₀, 1 : F.obj j₀⟩.

Equations
@[instance]

As J is nonempty, we can pick an arbitrary object j₀ : J. We use this object to define the "zero" in the colimit as the equivalence class of ⟨j₀, 0 : F.obj j₀⟩.

The definition of the "zero" in the colimit is independent of the chosen object of J. In particular, this lemma allows us to "unfold" the definition of colimit_zero at a custom chosen object j.

The definition of the "one" in the colimit is independent of the chosen object of J. In particular, this lemma allows us to "unfold" the definition of colimit_one at a custom chosen object j.

The "unlifted" version of addition in the colimit. To add two dependent pairs ⟨j₁, x⟩ and ⟨j₂, y⟩, we pass to a common successor of j₁ and j₂ (given by is_filtered.max) and add them there.

The "unlifted" version of multiplication in the colimit. To multiply two dependent pairs ⟨j₁, x⟩ and ⟨j₂, y⟩, we pass to a common successor of j₁ and j₂ (given by is_filtered.max) and multiply them there.

Equations
@[instance]

Addition in the colimit. See also colimit_add_aux.

Addition in the colimit is independent of the chosen "maximum" in the filtered category. In particular, this lemma allows us to "unfold" the definition of the addition of x and y, using a custom object k and morphisms f : x.1 ⟶ k and g : y.1 ⟶ k.

theorem Mon.filtered_colimits.colimit_mul_mk_eq {J : Type v} [category_theory.small_category J] (F : J Mon) [category_theory.is_filtered J] (x y : Σ (j : J), (F.obj j)) (k : J) (f : x.fst k) (g : y.fst k) :

Multiplication in the colimit is independent of the chosen "maximum" in the filtered category. In particular, this lemma allows us to "unfold" the definition of the multiplication of x and y, using a custom object k and morphisms f : x.1 ⟶ k and g : y.1 ⟶ k.

The bundled monoid giving the filtered colimit of a diagram.

Equations

The bundled additive monoid giving the filtered colimit of a diagram.

The additive monoid homomorphism from a given additive monoid in the diagram to the colimit additive monoid.

The monoid homomorphism from a given monoid in the diagram to the colimit monoid.

Equations

/-- The cocone over the proposed colimit additive monoid. -/

Given a cocone t of F, the induced monoid homomorphism from the colimit to the cocone point. As a function, this is simply given by the induced map of the corresponding cocone in Type. The only thing left to see is that it is a monoid homomorphism.

Equations

Given a cocone t of F, the induced additive monoid homomorphism from the colimit to the cocone point. As a function, this is simply given by the induced map of the corresponding cocone in Type. The only thing left to see is that it is an additive monoid homomorphism.

The colimit of F ⋙ forget₂ AddCommMon AddMon in the category AddMon. In the following, we will show that this has the structure of a commutative additive monoid.

The colimit of F ⋙ forget₂ CommMon Mon in the category Mon. In the following, we will show that this has the structure of a commutative monoid.

The bundled additive commutative monoid giving the filtered colimit of a diagram.

The bundled commutative monoid giving the filtered colimit of a diagram.

Equations

The cocone over the proposed colimit additive commutative monoid.