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.
翻译:这样的理论发展了一个框架, 用于正式推理以LF为单位的系统规格的推理。 这个正规化中心围绕一种推理逻辑的发展, 能够表达在推理这些规格过程中产生的各种属性。 在这个逻辑中, 将LF的居住判断作为原子公式, 并且允许在这些判断的上下文和术语中进行量化。 逻辑允许在LF判断的推理中, 使用一系列逻辑连接论来表达LF推理的推理。 为这些公式界定一个语义, 提出我们必须解决的问题, 例如如何解释术语和上下文量化以及原子公式和LF的判断之间的关系。 在这个逻辑中, 将LF的常识性判断作为逻辑的推断规则。 为了实现这个逻辑, 我们开发了一套证据规则的集成, 包括案件分析机制, 和LFLF的推理推理的其他推理。 证据系统还支持通过检验规则来展示LF, 执行LF 和上下文的公式和LF 公式的计算方法的精度之间的关系, 在逻辑的集中, 也用一个逻辑的精度规则中, 使用这个逻辑的精度的精度规则的精度的精度的精度的精度, 的精度的精度的精度的精度, 的精度的精度, 用来用在逻辑的精度的精度的精度的精度的精度的精度的精度的精度的精度的精度, 。