Partial evaluation of order-sorted equational programs modulo axioms

11Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Partial evaluation (PE) is a powerful and general program optimization technique with many successful applications. However, it has never been investigated in the context of expressive rule-based languages like Maude, CafeOBJ, OBJ, ASF+SDF, and ELAN, which support: rich type structures with sorts, subsorts and overloading; and equational rewriting modulo axioms such as commutativity, associativity– commutativity, and associativity–commutativity–identity. In this paper, we illustrate the key concepts by showing how they apply to partial evaluation of expressive rule-based programs written in Maude. Our partial evaluation scheme is based on an automatic unfolding algorithm that computes term variants and relies on equational least general generalization for ensuring global termination. We demonstrate the use of the resulting partial evaluator for program optimization on several examples where it shows significant speed-ups.

Cite

CITATION STYLE

APA

Alpuente, M., Cuenca-Ortega, A., Escobar, S., & Meseguer, J. (2017). Partial evaluation of order-sorted equational programs modulo axioms. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 10184 LNCS, pp. 3–20). Springer Verlag. https://doi.org/10.1007/978-3-319-63139-4_1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free