The λ-calculus, 2: the Church-Rosser theorem

from blog lawrencecpaulson.github.io, | ↗ original
A well-known technique to speed up computer code is to re-order some steps, for example to lift a costly operation out of a loop. In logic, when we can choose what inference to do next, making the right choices yields an exponentially shorter proof. Also in the λ-calculus we sometimes have a choice of reduction steps: the possible outcomes...