𝚷 -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
Meta-well-typed
To show that
and by ^P2,
Now ^P2 gives
To see that
where
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
The derivation
gives
Noting that
gives
The derivation
gives
Noting
gives
#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. ↩