Grothendieck Topology and Sheaves on the Category of Types #
In this file we define a Grothendieck topology on the category of types, and construct the canonical functor that sends a type to a sheaf over the category of types, and make this an equivalence of categories.
Then we prove that the topology defined is the canonical topology.
A Grothendieck topology associated to the category of all types. A sieve is a covering iff it is jointly surjective.
Instances For
The discrete sieve on a type, which only includes arrows whose image is a subsingleton.
Instances For
The discrete presieve on a type, which only includes arrows whose domain is a singleton.
Instances For
The yoneda functor that sends a type to a sheaf over the category of types.
Instances For
Given a presheaf P
on the category of types, construct
a map P(α) → (α → P(*))
for all type α
.
Instances For
Given a sheaf S
on the category of types, construct a map
(α → S(*)) → S(α)
that is inverse to eval
.
Instances For
Given a sheaf S
, construct an equivalence S(α) ≃ (α → S(*))
.
Instances For
Given a sheaf S
, construct an isomorphism S ≅ [-, S(*)]
.
Instances For
Given a sheaf S
, construct an isomorphism S ≅ [-, S(*)]
.
Instances For
yoneda'
induces an equivalence of category between Type u
and
SheafOfTypes typesGrothendieckTopology
.