arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.12827cs.LO
收藏

在集合论中依赖类型是否可行?

Are Dependent Types in Set Theory Feasible?

EPFL(洛桑联邦理工学院);KTH Royal Institute of Technology(瑞典皇家理工学院)

Yunsong Yang, Simon Guilloud, Viktor Kunčak

AI总结:

本文提出在集合论中机械嵌入依赖函数类型的方法,通过Lisa证明助手实现,并展示如何利用集合论公理进行依赖类型的自动推理。

摘要:

基于类型作为集合的范式,我们提出了一种将依赖函数类型及其宇宙层级嵌入到带有等式的 schematic 第一阶逻辑中的机械嵌入方法,并在 Lisa 证明助手中实现了这一嵌入。在此基础上,我们实现了生成证明的双向类型检查战术,用于计算类型判断的证明,并部分支持子类型。我们通过示例展示了我们的方法如何使依赖类型的自动化推理成为可能,该推理完全基于集合论公理和带有等式的 schematic 第一阶逻辑的推导规则进行验证。由于类型仅仅是集合,所得到的形式化支持所有类型和值上的相等性,并允许通常的替换规则。

英文摘要:

Following the types-as-sets paradigm, we present a mechanized embedding of dependent function types with a hierarchy of universes into schematic first-order logic with equality, with axiom schemas of Tarski-Grothendieck set theory. We carry this embedding in the Lisa proof assistant. On top of this foundation, we implement a proof-producing bidirectional type-checking tactic to compute proofs for typing judgements, with partial support for subtyping. We present examples showing how our approach enables automated reasoning for dependent types that is fully verified from set-theoretic axioms and deduction rules for schematic first-order logic with equality. Because types are merely sets, the resulting formalism supports equality that applies to all types and values and permits the usual substitution rules.

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

↑