A.2 The second presentation
In this section, there are three kinds of judgments
{mathpar}
Ξ πΌππΞ β’a : A
Ξ β’a β‘aβ : A
which we specify by providing inference rules for deriving them. A typical inference rule
has the form
\inferrule*[right=Name]π₯1β―π₯kπ₯ |
It says that we may derive the conclusion π₯, provided that we have
already derived the hypotheses π₯1,β¦,π₯k.
(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 the
right we write the Name of the rule, and there may be extra side conditions that
need to be checked before the rule is applicable.
A derivation of a judgment is a tree constructed from such inference rules, with the judgment at the root of the tree. For example, with the rules given below, the following is a derivation of β β’Ξ»x.x:πβπ. {mathpar} \inferrule*[right=Ξ -intro] \inferrule*[right=π΅π»π πΎ] \inferrule*[right=πΌππ-ext] \inferrule*[right=π-form] \inferrule*[right=πΌππ-emp] β πΌππ β’π : π° _0 x : π πΌππ x : π β’x : π β β’Ξ»x.βx : π βπ
Title | A.2 The second presentation![]() |
---|---|
\metatable |