Type theory MOC

Empty type

The empty type, which we denote by ,1 is motivated in several ways:

  1. is the definitionally false proposition under propositions as types, i.e. a proposition with no proof (in the empty context)
  2. is an empty type, analogous to the empty set in set theory.
  3. is an initial type.

A slight wrinkle: We can declare a variable of type as part of a context, therefore it is incorrect to say is empty in all contexts. It is better to have a type-theoretic equivalent of Ex falso quodlibet. This leads naturally to ^E3: In any context, is the smallest type.

Standard presentation

Here we give a formal presentation of in the cartesian calculus of substitutions, following Principles of dependent type theory. #m/def/type/ind The formation rule along is

ΓΓ()Δ𝛾:ΓΔ[𝛾]=(-N).

is an inductive type with no constructors. Thus there are no introduction rules, and the induction principle gives the elimination rule

Γ𝑏:Γ.𝐴Γ𝐚𝐛𝐬𝐮𝐫𝐝(𝑏):𝐴[𝐢𝐝𝑏](E). Δ𝛾:ΓΓ𝑏:Γ.𝐴Δ𝐚𝐛𝐬𝐮𝐫𝐝(𝑏)[𝛾]=𝐚𝐛𝐬𝐮𝐫𝐝(𝑏[𝛾]):𝐴[𝛾.𝑏[𝛾]](E-N).

We omit an 𝜂-unicity rule in the standard presentation, since it can be shown given an Extensional equality type.

Internalizing judgemental structure

In terms of Internalizing judgemental structure, we have for any context Γ

ΓTy(Γ),

and for any dependent type Γ. 𝐴 we have

𝜌Γ,𝐴:Tm(Γ.,𝐴){}.


#state/develop | #lang/en | #SemBr

Footnotes

  1. Pronounced “bottom.”