Cohesive categories #
A topos C
is called cohesive over another topos D
(typically Type
) if it is equipped with
a quadruple π₀ ⊣ disc ⊣ Γ ⊣ codisc
of adjoint functors between them, the first of which
preserves finite products, and the second and fourth of which are fully faithful. We formalise this
here by defining a typeclass CohesiveStructure C D
carrying such a quadruple between arbitrary
categories C
and D
, since mathlib does not much on topoi yet.
See https://ncatlab.org/nlab/show/cohesive+topos for cohesive topoi, and also the paper "Axiomatic Cohesion" by Lawvere for more general cohesive categories.
Typeclass equipping a category with the adjoint quadruple of functors that is also used to define e.g. cohesive topoi. Since topoi are not in mathlib yet I am stating this for general categories, but it should probably be changed to something more specific like cohesive topoi or "categories of cohesion" in the sense of Lawvere.
- π₀ : Functor C D
- disc : Functor D C
- Γ : Functor C D
- codisc : Functor D C
- preservesFiniteProducts_π₀ : Limits.PreservesFiniteProducts π₀
- fullyFaithfulDisc : disc.FullyFaithful
- fullyFaithfulCodisc : codisc.FullyFaithful
Instances
The shape modality on a cohesive category.
Instances For
The flat modality on a cohesive category.
Instances For
The sharp modality on a cohesive category.
Instances For
The shape modality is adjoint to the flat modality.
Equations
Instances For
The flat modality is adjoint to the sharp modality.
Equations
Instances For
The points-to-pieces transform Γ ⟶ π₀
. The other natural transformation that is also
often called the points to pieces transform is the image of this under disc
.
Equations
Instances For
Formula for pointsToPieces C D
in terms of the whiskered units of the adjunctions.
Formula for pointsToPieces C D
in terms of the whiskered counits of the adjunctions.
The points-to-pieces transform flat C D ⟶ shape C D
in C
- since flat C D
and
shape C D
are the compositions of Γ
and π₀
with disc
, we add the prefix "disc" to
distinguish it from the points-to-pieces transform pointsToPieces C D : Γ ⟶ π₀
in D
.
Equations
Instances For
The components of discPointsToPieces C D
are discΓAdj
-adjunct to the image of the unit
components of shape C D
under Γ
.
The components of discPointsToPieces C D
are π₀DiscAdj
-adjunct to the image of the
counit components of flat C D
under π₀
.
The points-to-pieces transform flat C D ⟶ shape C D
in C
is the image of the
points-to-pieces transform Γ ⟶ π₀
in D
under disc : D ⥤ C
.
The points-to-pieces transform flat C D ⟶ shape C D
in C
is the image of the
points-to-pieces transform Γ ⟶ π₀
in D
under disc : D ⥤ C
.
The canonical natural transformation disc ⟶ codisc
.
Equations
Instances For
Formula for discToCodisc C D
in terms of the whiskered units of the adjunctions.
Equations
- ⋯ = ⋯
Instances For
Formula for discToCodisc C D
in terms of the whiskered counits of the adjunctions.
Equations
- ⋯ = ⋯
Instances For
The canonical natural transformation flat C D ⟶ sharp C D
.
Equations
Instances For
The components of flatToSharp C D
are discΓAdj
-adjunct to the image of the unit
components of sharp C D
under Γ
.
The components of flatToSharp C D
are ΓCodiscAdj
-adjunct to the image of the
counit components of flat C D
under Γ
.
The components of the natural transformation flat C D ⟶ shape C D
are simply the
components of the discrete-to-codiscrete transform disc ⟶ codisc
at Γ
.
The points-to-pieces transform flat C D ⟶ shape C D
in C
is the image of the
points-to-pieces transform Γ ⟶ π₀
in D
under disc : D ⥤ C
.
Cohesion of C
over D
is said to satisfy pieces have points if the components of the
points-to-pieces transformation in D
are epimorphisms.
Equations
- CategoryTheory.Cohesive.PiecesHavePoints C D = ∀ (X : C), CategoryTheory.Epi ((CategoryTheory.Cohesive.pointsToPieces C D).app X)
Instances For
Cohesion of C
over D
satisfies pieces have points iff the components of the
points-to-pieces transformation in C
are epimorphisms.
Cohesion of C
over D
satisfies pieces have points iff the unit components of
shape C D
are mapped to epimorphisms by Γ
.
Cohesion of C
over D
satisfies pieces have points iff the components of the
discrete-to-codiscrete transformation are monomorphisms.
Cohesion of C
over D
satisfies pieces have points iff the components of the
flat-to-sharp transformation are monomorphisms.
Cohesion of C
over D
satisfies pieces have points iff the unit components of
sharp C D
on discrete objects are monomorphisms.