Hostname: page-component-cd9895bd7-dk4vv Total loading time: 0 Render date: 2024-12-26T06:39:10.478Z Has data issue: false hasContentIssue false

Higher-order narrowing with definitional trees

Published online by Cambridge University Press:  01 January 1999

MICHAEL HANUS
Affiliation:
Informatik II, RWTH Aachen, D-52056 Aachen, Germany (e-mail: hanus@informatik.rwth-aachen.de)
CHRISTIAN PREHOFER
Affiliation:
IC Networks, Siemens AG, Hofmannstr. 51, Germany (e-mail: Christian.Prehofer@icn.siemens.de)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

Functional logic languages with a sound and complete operational semantics are mainly based on an inference rule called narrowing. Narrowing extends functional evaluation by goal solving capabilities, as in logic programming. Due to the huge search space of simple narrowing, steadily improved narrowing strategies have been developed in the past. Needed narrowing is currently the best narrowing strategy for first-order functional logic programs due to its optimality properties wrt the length of derivations and the number of computed solutions. In this paper, we extend the needed narrowing strategy to higher-order functions and λ-terms as data structures. By the use of definitional trees, our strategy computes only independent solutions. Thus, it is the first calculus for higher-order functional logic programming which provides for such an optimality result. Since we allow higher-order logical variables denoting λ-terms, applications go beyond current functional and logic programming languages. We show soundness and completeness of our strategy with respect to LNT reductions, a particular form of higher-order reductions defined via definitional trees. A general completeness result is only provided for terminating rewrite systems due to the lack of an overall theory of higher-order reduction which is outside the scope of this paper.

Type
Research Article
Copyright
© 1999 Cambridge University Press

Footnotes

A preliminary short version of this paper appeared in the Proceedings of the Seventh International Conference on Rewriting Techniques and Applications (RTA’96), Springer LNCS 1103, pp. 138–152, 1996. This work has been partially supported by the German Research Council (DFG) under grant Ha 2457/1-1.
Submit a response

Discussions

No Discussions have been published for this article.