A.2 The second presentation
In this section, there are three kinds of judgments{mathpar}Γ Γ ⊢a : AΓ ⊢a ≡a’ : Awhich we specify by providing inference rules for deriving them. A typical inference rulehas the form
It says that we may derive the conclusion![]()
, provided that we havealready derived the hypotheses .(Note that, being judgments rather than types, these are not hypotheses internal to the type theory
in the sense of §1.1 (http://planetmath.org/11typetheoryversussettheory); they are instead hypotheses in the deductive system, i.e. the metatheory
![]()
.)On theright we write the Name of the rule, and there may be extra side conditions thatneed to be checked before the rule is applicable.
A derivationof a judgment is a tree constructed from such inferencerules, with the judgment at the root of the tree. For example, with the rules given below, the following is a derivation of.{mathpar}\\inferrule*[right=-intro]\\inferrule*[right=]\\inferrule*[right=-ext]\\inferrule*[right=-form]\\inferrule*[right=-emp] ⊢ : _0x : x : ⊢x : ⊢λx. x : →