Lax indexed categories and the Grothendieck construction #
A lax indexed category assigns a category to each base object and a contravariant reindexing functor to each base arrow. Its composition comparison need not be invertible. Units may be natural isomorphisms. Strict normal data remain available as a special case with equality units. The coherence law includes transport along base associativity.
The total category has arrows $(\varphi,f)$ with $f : x \to F_\varphi(y)$. Split indexed categories are ordinary functors to $\mathsf{Cat}$ on the opposite base.
A contravariant category assignment with invertible units and coherent lax composition. The unit identifies each object with its identity reindexing.
- fiber : I → CategoryTheory.Cat
The category over each base object.
- map {i j : I} : (i ⟶ j) → CategoryTheory.Functor ↑(self.fiber j) ↑(self.fiber i)
Contravariant reindexing along a base arrow.
- mapId (i : I) : CategoryTheory.Functor.id ↑(self.fiber i) ≅ self.map (CategoryTheory.CategoryStruct.id i)
The invertible unit of reindexing.
- mapComp {i j k : I} (f : i ⟶ j) (g : j ⟶ k) : (self.map g).comp (self.map f) ⟶ self.map (CategoryTheory.CategoryStruct.comp f g)
The comparison from successive reindexing to composite reindexing.
- mapComp_id_left {i j : I} (f : i ⟶ j) (x : ↑(self.fiber j)) : CategoryTheory.CategoryStruct.comp ((self.mapId i).hom.app ((self.map f).obj x)) ((self.mapComp (CategoryTheory.CategoryStruct.id i) f).app x) = CategoryTheory.eqToHom ⋯
Compatibility of the comparison with the unit at the source.
- mapComp_id_right {i j : I} (f : i ⟶ j) (x : ↑(self.fiber j)) : CategoryTheory.CategoryStruct.comp ((self.map f).map ((self.mapId j).hom.app x)) ((self.mapComp f (CategoryTheory.CategoryStruct.id j)).app x) = CategoryTheory.eqToHom ⋯
Compatibility of the comparison with the unit at the target.
- mapComp_assoc {i j k l : I} (f : i ⟶ j) (g : j ⟶ k) (h : k ⟶ l) (x : ↑(self.fiber l)) : CategoryTheory.CategoryStruct.comp ((self.map f).map ((self.mapComp g h).app x)) ((self.mapComp f (CategoryTheory.CategoryStruct.comp g h)).app x) = CategoryTheory.CategoryStruct.comp ((self.mapComp f g).app ((self.map h).obj x)) (CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.comp f g) h).app x) (CategoryTheory.eqToHom ⋯))
Associativity of comparisons, transported along associativity in the base.
Instances For
An object of the total category: a base object and an object of its fiber.
- base : I
The base object.
The object in the fiber.
Instances For
An arrow of the total category, given by a base arrow and a reindexed fiber arrow.
The base arrow.
The arrow to the reindexed target.
Instances For
Extensionality with transport of the fiber codomain along the base equality.
Identity in the total category, using the invertible unit.
Equations
Instances For
Composition in the total category, with the lax comparison after reindexing.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The lax coherence and unit laws make the total construction a category.
Equations
- One or more equations did not get rendered due to their size.
The base component of an identity is the base identity.
The fiber component of an identity is the component of the unit isomorphism.
Composition projects to composition in the base.
The explicit fiber formula for composition in the total category.
The projection from the total category to its base.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A contravariant category assignment with strict units and coherent lax composition.
mapComp f g has components $F_f(F_g(x)) \to F_{f\,\gg\,g}(x)$.
All equality transformations below transport only along equalities of functors or base arrows.
- fiber : I → CategoryTheory.Cat
The category over each base object.
- map {i j : I} : (i ⟶ j) → CategoryTheory.Functor ↑(self.fiber j) ↑(self.fiber i)
Contravariant reindexing along a base arrow.
- map_id (i : I) : self.map (CategoryTheory.CategoryStruct.id i) = CategoryTheory.Functor.id ↑(self.fiber i)
Reindexing along an identity is the identity functor.
- mapComp {i j k : I} (f : i ⟶ j) (g : j ⟶ k) : (self.map g).comp (self.map f) ⟶ self.map (CategoryTheory.CategoryStruct.comp f g)
The lax comparison from iterated reindexing to composite reindexing.
- mapComp_id_left {i j : I} (f : i ⟶ j) : self.mapComp (CategoryTheory.CategoryStruct.id i) f = CategoryTheory.eqToHom ⋯
The comparison with an identity first arrow is an equality transformation.
- mapComp_id_right {i j : I} (f : i ⟶ j) : self.mapComp f (CategoryTheory.CategoryStruct.id j) = CategoryTheory.eqToHom ⋯
The comparison with an identity second arrow is an equality transformation.
- mapComp_assoc {i j k l : I} (f : i ⟶ j) (g : j ⟶ k) (h : k ⟶ l) (x : ↑(self.fiber l)) : CategoryTheory.CategoryStruct.comp ((self.map f).map ((self.mapComp g h).app x)) ((self.mapComp f (CategoryTheory.CategoryStruct.comp g h)).app x) = CategoryTheory.CategoryStruct.comp ((self.mapComp f g).app ((self.map h).obj x)) (CategoryTheory.CategoryStruct.comp ((self.mapComp (CategoryTheory.CategoryStruct.comp f g) h).app x) (CategoryTheory.eqToHom ⋯))
Associativity of the lax comparisons, transported along base associativity.
Instances For
An object of the total category: a base object and an object of its fiber.
- base : I
The base object.
The object in the fiber.
Instances For
An arrow of the total category, given by a base arrow and a reindexed fiber arrow.
The base arrow.
The arrow to the reindexed target.
Instances For
Extensionality with transport of the fiber codomain along the base equality.
Identity in the total category, using normality to identify its fiber codomain.
Equations
- X.id = { base := CategoryTheory.CategoryStruct.id X.base, fiber := CategoryTheory.eqToHom ⋯ }
Instances For
Composition in the total category, with the lax comparison after reindexing.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The lax coherence and normality laws make the total construction a category.
Equations
- One or more equations did not get rendered due to their size.
The base component of an identity is the base identity.
The fiber component of an identity is the normality transport.
Composition projects to composition in the base.
The explicit fiber formula for composition in the total category.
The projection from the total category to its base.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Split indexed categories #
An ordinary contravariant functor gives normal lax data whose comparisons are only equality transformations. Thus its total category uses the same construction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The split composition comparison is exactly the transport supplied by functoriality.
Strictly compositional reindexing data assemble into an ordinary contravariant functor. To recover the lax comparisons as well, require them to be equality transformations.
Equations
Instances For
When every comparison is the equality transformation for strict composition, conversion to an ordinary functor and back recovers all the normal lax data.
Strict normal data give invertible-unit lax data by equality isomorphisms.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Embed the strict-normal total construction in the invertible-unit construction. Both components of every object and arrow are retained.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recover the strict-normal total construction from its invertible-unit version.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Strict normal data have equivalent total categories under the generalized construction, with identity maps on all base and fiber components.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The embedding of strict-normal total categories preserves projection strictly.
The inverse embedding also preserves projection strictly.
An ordinary contravariant functor is a special case with equality comparisons and equality unit isomorphisms.
Equations
Instances For
The total category of a split indexed category, as the special case of the lax construction.
Equations
Instances For
Projection from the split total category to the base.
Equations
Instances For
Naturality of a transformation of split indexed categories, as equality of reindexing functors followed by its fiber functors.
A natural transformation induces a functor between total categories. On a fiber arrow it applies the component functor, then transports along naturality.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The induced total functor commutes strictly with the projections.
A transformation of split indexed categories also acts on their total categories formed with invertible units. This agrees with the strict construction under the canonical equivalences.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The induced functor on generalized split total categories preserves projection.