arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.05848cs.LO
收藏

GRINGO输入语言中的程序补全

Program Completionin the Input Language of GRINGO

Amelia Harrison, Vladimir Lifschitz, Dhananjay Raju

摘要:

我们认为,把一个逻辑程序转换成一组完整的定义,有时可以被认为是"逆向工程"的过程中产生的一组条件,可以作为一个specification为it.相应地,它可能是有用的定义完成了一个大类的ASP程序和自动化的过程中产生和简化的完成公式。检查这类软件产生的输出可以帮助程序员更清楚地看到他们的程序做了什么,以及它的行为在多大程度上符合他们的期望。作为实现这一目标的一步,我们在这里提出了一个大型类的程序在输入语言的ASP地面GRINGO的程序完成的定义,并研究其性质。这篇笔记正在考虑发表在《逻辑程序设计的理论与实践》上。

英文摘要:

We argue that turning a logic program into a set of completed definitions can be sometimes thought of as the "reverse engineering" process of generating a set of conditions that could serve as a specification for it. Accordingly, it may be useful to define completion for a large class of ASP programs and to automate the process of generating and simplifying completion formulas. Examining the output produced by this kind of software may help programmers to see more clearly what their program does, and to what degree its behavior conforms with their expectations. As a step toward this goal, we propose here a definition of program completion for a large class of programs in the input language of the ASP grounder GRINGO, and study its properties. This note is under consideration for publication in Theory and Practice of Logic Programming.

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

↑