A Semantic Account of Type-Directed Partial Evaluation

Andrzej Filinski

BRICS Report Series · 1999 · 43 citations · 10 references

DOIFull text

Open access

Concepts

Abstract

We formally characterize partial evaluation of functional programs<br /> as a normalization problem in an equational theory, and derive<br />a type-based normalization-by-evaluation algorithm for computing<br />normal forms in this setting. We then establish the correctness<br /> of this algorithm using a semantic argument based on Kripke<br />logical relations. For simplicity, the results are stated for a non-<br />strict, purely functional language; but the methods are directly<br />applicable to stating and proving correctness of type-directed partial<br />evaluation in ML-like languages as well.

References

10