-types
-types internalize hypothetical judgements. -types generalize binary products to a product of a family of types indexed by another type.-types generalize functions so that the codomain can depend on the input.-types correspond to spaces of sections. -types correspond to universal quantification over elements of some type.
The core idea is that given a type family (fibration)
corresponds to a section
and vice versa.
Standard presentation
Here we give a formal presentation of
while we also have the substitution naturality rules2
and judgemental equality rules for β-computation and η-unicity
Meta-well-typed
Internalizing judgemental structure
In terms of Internalizing judgemental structure, we can formalize the correspondence described in the core idea with an operation
natural in
also natural in
with the naturality rule
and the judgemental equality rules
These are however more awkward to use since they restrict the shape of contexts.
The rules presented above are derivable from these by defining
Proof
#state/tidy | #lang/en | #SemBr
Footnotes
-
For brevity and laziness, the premisses of the
formation rule will be considered presuppositions. ↩ -
Where we invoke Substitution extension by a type. ↩