Predicate Specialization for Definitional Higher-order Logic Programs
release_ijmtfxjsxbdxrlgr7wxr5ytv24
by
Antonis Troumpoukis, Angelos Charalambidis
2018
Abstract
Higher-order logic programming is an interesting extension of traditional
logic programming that allows predicates to appear as arguments and variables
to be used where predicates typically occur. Higher-order characteristics are
indeed desirable but on the other hand they are also usually more expensive to
support. In this paper we propose a program specialization technique based on
partial evaluation that can be applied to a modest but useful class of
higher-order logic programs and can transform them into first-order programs
without introducing additional data structures. The resulting first-order
programs can be executed by conventional logic programming interpreters and
benefit from other optimizations that might be available. We provide an
implementation and experimental results that suggest the efficiency of the
transformation.
In text/plain
format
Archived Files and Locations
application/pdf 203.4 kB
file_ix6dakjqsnhvnbersdll4wjtve
|
arxiv.org (repository) web.archive.org (webarchive) |
access all versions, variants, and formats of this works (eg, pre-prints)