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

LF规范的推理框架

A Framework for Reasoning About LF Specifications

Mary Southern

摘要:

本论文发展了一个框架,以形式化推理的系统规格说明写在LF。这种形式化的核心是推理逻辑的发展,这种推理逻辑可以表达在对这种规范进行推理时出现的各种属性。在这种逻辑中,LF中的类型栖息判断充当原子公式,并且在这些判断中的上下文和术语上都允许量化。该逻辑允许任意关系的LF判断的推导使用逻辑连接词的集合来表示,与其他系统的推理LF规范。定义这些公式的语义提出了我们必须解决的问题,如如何解释术语和上下文量化以及原子公式和LF判断之间的关系,它们是为了编码。本论文亦发展一个证明系统,将非正式推理步骤捕捉为逻辑的合理推理规则。为了实现这一目标,我们开发了一个收集的证据规则,包括机制的情况下,分析和归纳推理的推导LF的判断。证明系统还支持通过证明规则应用LF元定理,这些规则强制执行不能在逻辑中表达的LF元定理的要求。我们还实现了一个称为Adelfa的证明助手,它提供了一种方法,用于机械化这种方法来推理LF中编写的规范。这个证明助手的一个特点是,它使用补充逻辑的证明规则来描述用于以目标驱动的方式开发证明的策略集合。Adelfa系统被用来开发一系列的例子,证明了框架的有效性,并展示了如何用LF编写的规范的非正式推理可以使用逻辑和相关的证明系统进行形式化。

英文摘要:

This thesis develops a framework for formalizing reasoning about specifications of systems written in LF. This formalization centers around the development of a reasoning logic that can express the sorts of properties which arise in reasoning about such specifications. In this logic, type inhabitation judgements in LF serve as atomic formulas, and quantification is permitted over both contexts and terms in these judgements. The logic permits arbitrary relations over derivations of LF judgements to be expressed using a collection of logical connectives, in contrast to other systems for reasoning about LF specifications. Defining a semantics for these formulas raises issues which we must address, such as how to interpret both term and context quantification as well as the relation between atomic formulas and the LF judgements they are meant to encode. This thesis also develops a proof system which captures informal reasoning steps as sound inference rules for the logic. To achieve this we develop a collection of proof rules including mechanisms for both case analysis and inductive reasoning over the derivations of judgements in LF. The proof system also supports applying LF meta-theorems through proof rules that enforce requirements of the LF meta-theorem that cannot be expressed in the logic. We also implement a proof assistant called Adelfa that provides a means for mechanizing this approach to reasoning about specifications written in LF. A characteristic of this proof assistant is that it uses the proof rules that complement the logic to describe a collection of tactics that are used to develop proofs in goal-driven fashion. The Adelfa system is used to develop a collection of examples which demonstrate the effectiveness of the framework and showcase how informal reasoning about specifications written in LF can be formalized using the logic and associated proof system.

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

↑