mathlib3 documentation


The category of graded objects #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

For any type β, a β-graded object over some category C is just a function β → C into the objects of C. We put the "pointwise" category structure on these, as the non-dependent specialization of category_theory.pi.

We describe the comap functors obtained by precomposing with functions β → γ.

As a consequence a fixed element (e.g. 1) in an additive group β provides a shift functor on β-graded objects

When C has coproducts we construct the total functor graded_object β C ⥤ C, show that it is faithful, and deduce that when C is concrete so is graded_object β C.

@[nolint, reducible]
def category_theory.graded_object_with_shift {β : Type w} [add_comm_group β] (s : β) (C : Type u) :
Type (max w u)

A type synonym for β → C, used for β-graded objects in a category C with a shift functor given by translation by s.

The projection of a graded object to its i-th component.

theorem category_theory.graded_object.comap_eq_hom_app (C : Type u) [category_theory.category C] {β γ : Type w} {f g : β γ} (h : f = g) (X : γ C) (b : β) :
def category_theory.graded_object.comap_eq (C : Type u) [category_theory.category C] {β γ : Type w} {f g : β γ} (h : f = g) :
category_theory.pi.comap (λ (_x : γ), C) f category_theory.pi.comap (λ (_x : γ), C) g

The natural isomorphism comparing between pulling back along two propositionally equal functions.

theorem category_theory.graded_object.comap_eq_inv_app (C : Type u) [category_theory.category C] {β γ : Type w} {f g : β γ} (h : f = g) (X : γ C) (b : β) :

The equivalence between β-graded objects and γ-graded objects, given an equivalence between β and γ.


The total object of a graded object is the coproduct of the graded components.

Instances for
@[protected, instance]

The total functor taking a graded object to the coproduct of its graded components is faithful. To prove this, we need to know that the coprojections into the coproduct are monomorphisms, which follows from the fact we have zero morphisms and decidable equality for the grading.