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

在依赖类型理论中实现 inhabit 和 unification

Implementing Dependent Type Theory Inhabitation and Unification

Carnegie Mellon University(卡内基梅隆大学)

Chase Norman, Jeremy Avigad

AI总结:

本文提出 Canonical-min,一种在依赖类型理论中求解 inhabit 和 unification 的高效方法,并引入 DTTBench 作为相关基准测试。

摘要:

依赖类型理论是许多现代证明助手的基础。inhabitation 和 unification 是不可判定的问题,对定理证明和程序合成有帮助。我们引入了 Canonical-min,这是一个在依赖类型理论中求解 inhabit 和 unification 的声和完备求解器,用 185 行 Lean 代码实现。本文描述了一种新型的依赖类型理论实现以及一个单调框架,将类型检查器转换为高效的求解器。最后,我们介绍了 DTTBench,一个用于依赖类型理论中类型 inhabit 的基准测试。

英文摘要:

Dependent type theory is the foundation of many modern proof assistants. Inhabitation and unification are undecidable problems that are useful for theorem proving and program synthesis. We introduce Canonical-min, a sound and complete solver for inhabitation and unification in dependent type theory, implemented in 185 lines of Lean code. This paper describes a novel implementation of dependent type theory and a monadic framework to transform the type checker into a performant solver. Finally, we introduce DTTBench, a benchmark for type inhabitation in dependent type theory.

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

↑