Classical Call-by-Need Sequent Calculi: The Unity of Semantic Artifacts
- Cite this paper as:
- Ariola Z.M., Downen P., Herbelin H., Nakata K., Saurin A. (2012) Classical Call-by-Need Sequent Calculi: The Unity of Semantic Artifacts. In: Schrijvers T., Thiemann P. (eds) Functional and Logic Programming. FLOPS 2012. Lecture Notes in Computer Science, vol 7294. Springer, Berlin, Heidelberg
We systematically derive a classical call-by-need sequent calculus, which does not require an unbounded search for the standard redex, by using the unity of semantic artifacts proposed by Danvy et al. The calculus serves as an intermediate step toward the generation of an environment-based abstract machine. The resulting abstract machine is context-free, so that each step is parametric in all but one component. The context-free machine elegantly leads to an environment-based CPS transformation. This transformation is observationally different from a natural classical extension of the transformation of Okasaki et al., due to duplication of un-evaluated bindings.
Keywordscall-by-need lazy evaluation duality of computation sequent calculus λμ-calculus classical logic control
Unable to display preview. Download preview PDF.