Docsity

Lambda Calculus: Properties, Fixed Point Combinators, and Böhm Trees, Exams of Mathematics

Partial preview of the text

Download Lambda Calculus: Properties, Fixed Point Combinators, and Böhm Trees and more Exams Mathematics in PDF only on Docsity!

MATHEMATICAL TRIPOS Part III

Tuesday 4 June 2002 1.30 to 4.

PAPER 76

THE LAMBDA CALCULUS

Attempt FIVE questions

There are eight questions in total The questions carry equal weight

You may not start to read the questions

printed on the subsequent pages until

instructed to do so by the Invigilator.

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