

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Tuesday 4 June 2002 1.30 to 4.
Attempt FIVE questions
There are eight questions in total The questions carry equal weight
1 Define the diamond property and the Church-Rosser property of a reduction relation. Show that one-step β-reduction does not have the diamond property. Sketch a proof that it does have the Church-Rosser property.
2 What is a fixed point combinator? Exhibit a term G of the λ-calculus such that Z is a fixed point combinator if and only if Z is a fixed point of G. Show that your G has the property claimed.
Exhibit two distinct fixed point combinators, and explain why they are distinct.
Let K ≡ λxy.x and Z a fixed point combinator. Show that ZK is unsolvable.
3 What does it mean for a λ-term to be solvable? What does it mean for a λ-term to have head normal form? Show that M is solvable if and only if M has head normal form. (The Standardization Theorem may be assumed.)
A closed term E is easy just when for any other closed term M , the equation E = M is consistent with the λ-calculus.
(i) Show that I is not easy. (You may quote any general form of B¨ohm’s Theorem which you may require.)
(ii) Show that if S is easy then so is ST for any T. Deduce that easy terms are unsolvable.
4 Define a system of numerals giving explicit terms for sucessor, predecessor and test for zero. Prove that for your numeral system the total λ-definable functions are closed under primitive recursion.
State carefully a result concerning closure under minimization, and sketch the proof. What can you now deduce about the λ-definable functions?
Paper 76