类型论中的受控展开
Controlling unfolding in type theory
AI总结:
针对依赖类型论中证明助理定义展开易致证明脆弱、目标过大的问题,提出默认不展开、可局部选择性展开的新机制,通过带外延类型的核心理论精化及规范化定理论证合理性,已在cooltt实现并启发Agda的独立实现。
摘要:
我们提出了一种在依赖类型论中控制定义展开的新方法。传统上,证明助理要求用户预先确定每个定义在后续开发过程中是否会被展开;展开定义通常是对其进行推理的必要条件,但过度展开会导致证明脆弱且证明目标规模过大难以处理。在我们的系统中,定义默认不展开,但用户可以在局部范围内选择性地展开它们。我们通过将机制 elaboration(精化)到带有外延类型的核心理论来论证其合理性——外延类型是最初在同伦类型论语境中引入的一种连接词——并为核心演算建立了规范化定理。我们已在 cooltt 证明助理中实现了受控展开功能,这也启发了 Agda 中的独立实现。
英文摘要:
We present a new way to control the unfolding of definitions in dependent type theory. Traditionally, proof assistants require users to fix whether each definition will or will not be unfolded in the remainder of a development; unfolding definitions is often necessary in order to reason about them, but an excess of unfolding can result in brittle proofs and intractably large proof goals. In our system, definitions are by default not unfolded, but users can selectively unfold them in a local manner. We justify our mechanism by means of elaboration to a core theory with extension types -- a connective first introduced in the context of homotopy type theory -- and by establishing a normalization theorem for our core calculus. We have implemented controlled unfolding in the cooltt proof assistant, inspiring an independent implementation in Agda.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。