CS430/530 Assignment 5

Due: October 26, Wednesday, 2011

  1. In the language $L\{\mu_i\mu_f\}$ of chapter 17, write the following terms: Notes:
  2. Show the evaluation steps (as defined from the operational semantics) for PRED (SUCC (SUCC ZERO)).
  3. How would we define lists in the untyped lambda-calculus? (Hint: Read chapter 22.2.2 to understand the intuition behind the Church encodings of natural numbers, and do something similar for lists.)

Sample Solutions

(Coq source file)