Dependent types I › Rules of inference › The usual schema for type formers [01D8]
A type former is something like “the booleans” or “the function space”; type formers are described by rules of inference that govern how they and their elements can be formed and used.
The rules of a type former \mathbf {T} to be arranged into a few groups:
- The formation rules specify how to describe an instance of the type former \mathbf {T}.
- The introduction rules specify how to describe elements of instances of \mathbf {T}.
- The elimination rules specify how to describe elements of other types that depend on elements of instances of \mathbf {T}.
- The large elimination rule specifies how to define a type that depends on an element of an instance of \mathbf {T}.
- The computation rules describe what happens when an elimination rule is applied to the result of an introduction rule.
- The uniqueness rules describe either a strategy to equate the result of the introduction rule to other elements, or (more rarely) a strategy to equate the result of the elimination rule to other elements.
Large elimination rules are often omitted (or redundant). We won’t take a position either way, but some examples might involve them.
Not all type formers come with uniqueness rules; there are both practical and semantic reasons to omit them at times, but we will not get into that. We will not consider any types that have uniqueness rules on the elimination side, but many of the type formers that we look at will have uniqueness rules on the introduction side.