Content deleted Content added
m Extra words left by mistake |
m Misc minor edits |
||
Line 8:
* A constant <math>a \in A</math> is an expression,
* A variable, from some fixed, countably infinite set of variables
* If <math>e_1</math> and <math>e_2</math> are expressions, then <math>e_1 e_2</math> is an expression.
(In other words, they form the [[free magma]] over the disjoint union <math>A + V</math> where <math>V</math> is the set of varaibles.)
A term is ''closed''
A substitution operation is also defined in the natural way: if <math>t</math> is a term, <math>x</math> is a variable and <math>u</math> is another term, <math>t[u/x]</math> denotes the term <math>t</math> with all occurrences of <math>x</math> replaced by <math>u</math>.
The partial applicative structure ''A'' is said to be ''combinatory complete'' or ''functionally complete'' if, for every term <math>t(x_0, \dots, x_n)</math> (that is, a term <math>t</math> whose variables are among <math>x_0, \dots, x_n</math>), there exists an element <math>a \in A</math> such that:
|