A Compiled Implementation

of Normalization by Evaluation

Klaus Aehlig, Florian Haftmann (itestra GmbH), Tobias Nipkow

A Compiled Implementation of Normalization by Evaluation

Theorem Proving in Higher Order Logics, 21st International Conference, TPHOLs 2008, Montreal, Canada, August 18-21, 2008

Abstract

We present a novel compiled approach to Normalization by Evaluation (NBE) for ML-like languages. It supports efficient normalization of open λ-terms w.r.t. β-reduction and rewrite rules. We have implemented NBE and show both a detailed formal model of our implementation and its verification in Isabelle. Finally we discuss how NBE is turned into a proof rule in Isabelle.