Next: Problem 4 - Sorting
Up: Information Science I
Previous: Problem 2 - Cache
Answer the following questions on -calculus.
- 1.
- Give a -term (-expression) which has its normal
form, but may not reach its normal form depending on the order of reduction.
- 2.
- Give the definition of the Church-Rosser property.
- 3.
- Using the Church-Rosser property, prove that every -term
has at most one normal form, where mutually -convertible
-terms are regarded as the same.
- 1.
- Let us consider the -expression
where
. If we
subsitute
for
in
first then:
where
is a variable (that contains no -redexes) and therefore a normal form: the normal form of .
But, if we choose a different order for the reduction, then
may not reach its normal form, such as in:
where we have first substituted
for
in
.
- 2.
- Here is the Church-Rosser theorem for -reduction. It says that if
and
, then there exists
such that
and
.
- 3.
- Let us suppose that the -expression
has two -normal forms
and . We can also
write this:
As
and
are -normal forms, they do not contain any redexes. According to the Church-Rosser
theorem for -reduction, there exists
such that:
But, as
and
contain no redexes, it means that the -reduction has just involved changes of
bound variables. In other words, , , and
are -congruent, i.e. mutually -convertible
-terms inside these expression are regarded as being the same.
Next: Problem 4 - Sorting
Up: Information Science I
Previous: Problem 2 - Cache
Reynald AFFELDT
2000-06-08