arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.00111cs.LOcs.PL
收藏

关于LF规范的推理逻辑

A Logic for Reasoning About LF Specifications

Gopalan Nadathur, Mary Southern

摘要:

我们提出了一个逻辑名为L_{LF},其目的是正式的依赖类型的λ演算LF中开发的规范的属性。逻辑由构成规范的LF签名参数化。原子公式对应于相对于此签名的类型化派生。该逻辑包括命题连接词和量词的集合。量化范围在表示LF项和LF上下文的表达式上。第一种类型的量词由简单类型限定,这些类型描述与它们绑定的变量相关联的函数结构;更深层次的依赖相关属性由公式的主体表示。上下文级别的量词由上下文模式限定,上下文模式标识可以从中构造实际上下文的声明模式。无变量原子公式的语义通过它们编码的判断在LF中的可导性来表达。命题常量和连接词以通常的方式理解,量词的意义通过遵循类型限定的表达式替换来阐明。该逻辑由证明系统补充,该证明系统使得推理相对于所描述的语义是合理的。证明系统的主要新颖之处是提供了LF判断的案例分析式推理,支持LF推导高度的归纳推理和LF元定理的编码。该逻辑的动机是简单类型的λ演算中的类型分配的范例和证明系统说明通过形式化的类型唯一性证明这种演算。

英文摘要:

We present a logic named L_{LF} whose intended use is to formalize properties of specifications developed in the dependently typed lambda calculus LF. The logic is parameterized by the LF signature that constitutes the specification. Atomic formulas correspond to typing derivations relative to this signature. The logic includes a collection of propositional connectives and quantifiers. Quantification ranges over expressions that denote LF terms and LF contexts. Quantifiers of the first variety are qualified by simple types that describe the functional structure associated with the variables they bind; deeper, dependency related properties are expressed by the body of the formula. Context-level quantifiers are qualified by context schemas that identify patterns of declarations out of which actual contexts may be constructed. The semantics of variable-free atomic formulas is articulated via the derivability in LF of the judgements they encode. Propositional constants and connectives are understood in the usual manner and the meaning of quantifiers is explicated through substitutions of expressions that adhere to the type qualifications. The logic is complemented by a proof system that enables reasoning that is sound with respect to the described semantics. The main novelties of the proof system are the provision for case-analysis style reasoning about LF judgements, support for inductive reasoning over the heights of LF derivations and the encoding of LF meta-theorems. The logic is motivated by the paradigmatic example of type assignment in the simply-typed lambda calculus and the proof system is illustrated through the formalization of a proof of type uniqueness for this calculus.

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

↑