Documentation

CategorialAlgebras.Preliminaries.Grothendieck

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.

structure CategorialAlgebras.LaxIndexedCategory (I : Type u) [CategoryTheory.Category.{v, u} I] :
Type (max (max (max u (u₁ + 1)) v) (v₁ + 1))

A contravariant category assignment with invertible units and coherent lax composition. The unit identifies each object with its identity reindexing.

Instances For

    An object of the total category: a base object and an object of its fiber.

    • base : I

      The base object.

    • fiber : ↑(F.fiber self.base)

      The object in the fiber.

    Instances For

      An arrow of the total category, given by a base arrow and a reindexed fiber arrow.

      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
            @[instance_reducible]

            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.
            @[simp]

            The fiber component of an identity is the component of the unit isomorphism.

            The projection from the total category to its base.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              structure CategorialAlgebras.NormalLaxIndexedCategory (I : Type u) [CategoryTheory.Category.{v, u} I] :
              Type (max (max (max u (u₁ + 1)) v) (v₁ + 1))

              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.

              Instances For

                An object of the total category: a base object and an object of its fiber.

                • base : I

                  The base object.

                • fiber : ↑(F.fiber self.base)

                  The object in the fiber.

                Instances For

                  An arrow of the total category, given by a base arrow and a reindexed fiber arrow.

                  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
                    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
                        @[instance_reducible]

                        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 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
                            @[simp]

                            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
                              theorem CategorialAlgebras.NormalLaxIndexedCategory.ofFunctor_toFunctor {I : Type u} [CategoryTheory.Category.{v, u} I] (F : NormalLaxIndexedCategory I) (hc : ∀ {i j k : I} (f : i ⟶ j) (g : j ⟶ k), (F.map g).comp (F.map f) = F.map (CategoryTheory.CategoryStruct.comp f g)) (hκ : ∀ {i j k : I} (f : i ⟶ j) (g : j ⟶ k), F.mapComp f g = CategoryTheory.eqToHom ⋯) :

                              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

                                      An ordinary contravariant functor is a special case with equality comparisons and equality unit isomorphisms.

                                      Equations
                                      Instances For
                                        @[reducible, inline]

                                        The total category of a split indexed category, as the special case of the lax construction.

                                        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
                                            @[simp]

                                            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