Cartesian lifts #
We introduce the structures Display.Cartesian
and Display.CoCartesian
carrying data witnessing that a given lift is cartesian and cocartesian, respectively.
Specialized to the display category structure of a functor P : E ⥤ C
,
we obtain the class CartMor
of cartesian morphisms in E
.
The type CartMor P
is defined in terms of the predicate isCartesianMorphism
.
Given a displayed category structure on a type family F : C → Type
, and an object I : C
, we shall refer to
the type F I
as the "fiber" of F
at I
. For a morphism f : I ⟶ J
in C
, and objects
X : F I
and Y : F J
, we shall refer to a hom-over g : X ⟶[f] Y
as a "lift" of f
to X
and Y
.
We prove the following closure properties of the class CartMor
of cartesian morphisms:
cart_id
proves that the identity morphism is cartesian.cart_comp
proves that the composition of cartesian morphisms is cartesian.cart_iso_closed
proves that the class of cartesian morphisms is closed under isomorphisms.cart_pullback
proves that, ifP
preserves pullbacks, then the pullback of a cartesian morphism is cartesian.
instCatCart
provides a category instance for the class of cartesian morphisms,
and Cart.forget
provides the forgetful functor from the category of cartesian morphisms
to the domain category E
.
Main declarations #
CartLift f Y
is the type of cartesian lifts of a morphismf
with fixed targetY
.CoCartLift f X
is the type of cocartesian lifts of a morphismf
with fixed sourceX
.
Given g : CartLift f Y
, we have
g.1
is the lift off
toY
.g.homOver : CartLift.toLift.src ⟶[f] Y
is a morphism overf
.g.homOver.hom
is the underlying morphism ofg.homOver
.g.is_cart
is the proof thatg.homOver
is cartesian.
Similarly, given g : CoCartLift f X
, we have
g.1
is the lift off
fromX
.g.homOver : X ⟶[f] CoCartLift.toCoLift.tgt
is a morphism overf
.g.homOver.hom
is the underlying morphism ofg.homOver
.g.is_cocart
is the proof thatg.homOver
is cocartesian.
A lift g : X ⟶[f] Y
is cartesian if for every morphism u : K ⟶ I
in the base and every hom-over g' : Z ⟶[u ≫ f] Y
over the composite
u ≫ f
, there is a unique morphism k : Z ⟶[u] X
over u
such that
k ≫ g = g'
.
_ _ _ _ _ _ _ _ _ _ _
/ g' \
| v
Z - - - - > X --------> Y
_ ∃!k _ g _
| | |
| | |
v v v
K --------> I --------> J
u f
- uniq_lift : ⦃K : C⦄ → ⦃Z : F K⦄ → (u : K ⟶ I) → (g' : Z ⟶[CategoryTheory.CategoryStruct.comp u f] Y) → Unique { k : Z ⟶[u] X // CategoryTheory.DisplayStruct.comp_over k g = g' }
Instances
Instances
A lift g : X ⟶[f] Y
is cocartesian if for all morphisms u
in the
base and g' : X ⟶[f ≫ u] Z
, there is a unique morphism
k : Y ⟶[u] Z
over u
such that g ≫ k = g'
.
_ _ _ _ _ _ _ _ _ _ _
/ g' \
| v
X ------- > Y - - - - > Z
_ g _ ∃!k _
| | |
| | |
v v v
I --------> J --------> K
f u
- uniq_lift : ⦃K : C⦄ → ⦃Z : F K⦄ → (u : J ⟶ K) → (g' : X ⟶[CategoryTheory.CategoryStruct.comp f u] Z) → Unique { k : Y ⟶[u] Z // CategoryTheory.DisplayStruct.comp_over g k = g' }
Instances
gap g u g'
is the canonical map from a lift g' : Z ⟶[u ≫ f] X
to a
cartesian lift g
of f
.
Equations
- CategoryTheory.Display.Cartesian.gap g g' = ↑default
Instances For
A variant of gaplift
for g' : Z ⟶[f'] Y
with casting along f' = u ≫ f
baked into the definition.
Equations
- CategoryTheory.Display.Cartesian.gapCast g u g' w = ↑default
Instances For
The composition of the gap lift and the cartesian hom-over is the given hom-over.
The uniqueness part of the universal property of the gap lift.
The identity hom-over is cartesian.
Equations
- One or more equations did not get rendered due to their size.
Cartesian based-lifts are closed under composition.
Equations
- One or more equations did not get rendered due to their size.
The type of cartesian lifts of a morphism f
with fixed target.
- src : F I
- is_cart : CategoryTheory.Display.Cartesian CategoryTheory.Display.CartLift.toLift.homOver
Instances
Mere existence of a cartesian lift with fixed target.
Equations
Instances For
The type of cocartesian lifts of a morphism f
with fixed source.
- tgt : F J
- is_cocart : CategoryTheory.Display.CoCartesian CategoryTheory.Display.CoCartLift.toCoLift.homOver