Inspecting terms without evaluating

A parser reports structural counts for three unreduced lambda terms. Complete the table with exact integers: count free variable occurrences, including repeated uses separately, and count all beta redexes currently present, including inside lambda bodies. Do not perform reductions before counting.

TermFree variable occurrencesBeta redexes
λa.a b
(λb.b b) (c c)
λc.((λd.d c) ((λe.e) c))

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: