Reading about lambda calculus I got the impression that normalization is evaluation.
So I don't understand what is meant by Normalization by Evaluation (used e.g. in several publications of A. Abel).
Can you explain what are the alternative paths to the goals achieved by NbE?
t = (λ x ((λ y y) x))
, evaluation will get stuck, since there is no outer redex. NBE will evaluate the inner redex of(λ y y) x)
to the normal formx
. This normalizes the termt
intot -> (λ x x)
. Intuitively, NBE extends the evaluation rules of lambda calculus to work "inside stuck terms" as well. $\endgroup$