Definition 1.2.1 (Simply typed lambda-term).
The set
of simply
typed -terms
is defined by the grammar
|
A context is a set of pairs
where the
are (distinct) variables and each .
We write
for the set of all possible contexts. Given a context ,
we also write
for the context
(if
does not appear in ).
The domain of
is the set of variables that occur in it, and the range
is the set of types that it manifests.