-types
-types internalize context extension. -types generize binary coproducts to a coproduct of a family of types indexed by another type.-types generalize binary products so that the type of the right element can depend on the type of the left input.-types correspond to total spaces of a fibration. -types correspond to existential quantification over elements of some type.
The core idea is that given a type family (fibration)
corresponds to a pair of terms
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
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
#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. ↩