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

用线性逻辑推理命令程序的性质

Towards Reasoning About Properties of Imperative Programs using Linear Logic

Daniel DaCosta

摘要:

在本文中,我们提出了一种方法来推理的性质的命令式程序。我们假设在这种情况下,程序构造的含义是使用自然语义风格的规则来描述的,并额外观察到这些规则可能涉及状态的处理。我们的方法涉及建模的逻辑内的自然语义风格的规则,然后推理的特定程序的行为,推理证明在该逻辑。我们建议的一个关键方面是使用一个称为Lolli(由Hodas和Miller发明)的线性逻辑片段来建模自然语义风格描述。Lolli基于线性逻辑,可以为状态等资源提供逻辑表达。Lolli还拥有证明理论的属性,允许它以这样一种方式对自然语义风格描述进行编码,即Lolli中的证明模仿基于自然语义规则的派生结构。我们将讨论这些属性的Lolli和演示如何利用它们在建模的语义的命令式程序和推理等模型。

英文摘要:

In this paper we propose an approach to reasoning about properties of imperative programs. We assume in this context that the meanings of program constructs are described using rules in the natural semantics style with the additional observation that these rules may involve the treatment of state. Our approach involves modeling natural semantics style rules within a logic and then reasoning about the behavior of particular programs by reasoning about proofs in that logic. A key aspect of our proposal is to use a fragment of linear logic called Lolli (invented by Hodas and Miller) to model natural semantics style descriptions. Being based on linear logic, Lolli can provide logical expression to resources such as state. Lolli additionally possesses proof-theoretic properties that allow it to encode natural semantics style descriptions in such a way that proofs in Lolli mimic the structure of derivations based on the natural semantics rules. We will discuss these properties of Lolli and demonstrate how they can be exploited in modeling the semantics of imperative programs and in reasoning about such models.

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

↑