arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1808.04176cs.PLcs.LO
收藏

高阶逻辑程序的谓词特化

Predicate Specialization for Definitional Higher-order Logic Programs

Antonis Troumpoukis, Angelos Charalambidis

摘要:

高阶逻辑编程是传统逻辑编程的一个有趣的扩展,它允许谓词作为参数出现,并在谓词通常出现的地方使用变量。高阶特性确实是理想的,但另一方面,它们的支持通常也更昂贵。在本文中,我们提出了一个程序专业化技术的基础上,部分评估,可以适用于一个温和的,但有用的类高阶逻辑程序,并可以将它们转换为一阶程序,而无需引入额外的数据结构。由此产生的一阶程序可以由传统的逻辑编程解释器执行,并受益于其他可能可用的优化。我们提供了一个实施和实验结果,表明转换的效率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑