Preventing variable capture

A symbolic evaluator must reduce (λs.λt.s t) t(\lambda s.\lambda t.s\,t)\,t without capturing the argument's free variable. First rename the inner bound variable from tt to the fresh name ww, then perform exactly one beta reduction. Enter the resulting lambda term, retaining ww as the bound name.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Lambda Calculus Questions: