Limits in the category of types. #
We show that the category of types has all limits, by providing the usual concrete models.
Given a section of a functor F into Type*
,
construct a cone over F with PUnit
as the cone point.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a cone over a functor F into Type*
and an element in the cone point,
construct a section of F.
Instances For
The equivalence between a limiting cone of F
in Type u
and the "concrete" definition as the
sections of F
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
We now provide two distinct implementations in the category of types.
The first, in the CategoryTheory.Limits.Types.Small
namespace,
assumes Small.{u} J
and constructs J
-indexed limits in Type u
.
The second, in the CategoryTheory.Limits.Types.TypeMax
namespace
constructs limits for functors F : J ⥤ Type max v u
, for J : Type v
.
This construction is slightly nicer, as the limit is definitionally just F.sections
,
rather than Shrink F.sections
, which makes an arbitrary choice of u
-small representative.
Hopefully we might be able to entirely remove the TypeMax
constructions,
but for now they are useful glue for the later parts of the library.
(internal implementation) the limit cone of a functor, implemented as flat sections of a pi type
Equations
- One or more equations did not get rendered due to their size.
Instances For
(internal implementation) the fact that the proposed limit cone is the limit
Equations
- One or more equations did not get rendered due to their size.
Instances For
(internal implementation) the limit cone of a functor, implemented as flat sections of a pi type
Equations
Instances For
(internal implementation) the fact that the proposed limit cone is the limit
Equations
- CategoryTheory.Limits.Types.limitConeIsLimit F = { lift := fun (s : CategoryTheory.Limits.Cone F) (v : s.pt) => ⟨fun (j : J) => s.π.app j v, ⋯⟩, fac := ⋯, uniq := ⋯ }
Instances For
The results in this section have a UnivLE.{v, u}
hypothesis,
but as they only use the constructions from the CategoryTheory.Limits.Types.UnivLE
namespace
in their definitions (rather than their statements),
we leave them in the main CategoryTheory.Limits.Types
namespace.
The category of types has all limits.
More specifically, when UnivLE.{v, u}
, the category Type u
has all v
-small limits.
The equivalence between the abstract limit of F
in Type max v u
and the "concrete" definition as the sections of F
.
Equations
Instances For
The limit of a functor F : J ⥤ Type _
is naturally isomorphic to F.sections
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct a term of limit F : Type u
from a family of terms x : Π j, F.obj j
which are "coherent": ∀ (j j') (f : j ⟶ j'), F.map f (x j) = x j'
.
Equations
Instances For
In this section we verify that instances are available as expected.