paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Normalisation by Evaluation for Type Theory, in Type Theory

在类型论中实现类型论的正规化求值
LMCS vol.Volume 13, Issue 42017匹配度 3/10 · 论文属于类型论与形式语义中的 NBE 及定义相等可判定性研究,并在 Agda 中形式化,与用户核心关注的 PL 与 LLM/Agent 交叉、浮点程序分析或贝叶斯程序分析没有直接关系,仅可作为形式验证/类型论背景参考。引用 36 inbox
Thorsten Altenkirch, Ambrus Kaposi
dblp: 2026-09-10crossref: 2026-09-10arxiv: 2026-09-10

AI 速览

一句话:在类型论内部用商归纳类型构造依赖类型的正规化求值,并证明定义相等可判定。

本文为依赖类型发展基于预层范畴的正规化求值(NBE)。构造完全在类型论元语言中表述,使用商归纳类型,并采用类型化呈现,因此不引入前项或 realizer,所有构造都尊重转换关系。对于简单类型,NBE 通常依赖语法与预层解释之间的逻辑关系;作者将预层解释与逻辑关系合并为一个证明相关的逻辑谓词。基于此证明正规化、完备性、稳定性以及定义相等性的可判定性。大部分构造已在 Agda 中形式化。

问题
如何为依赖类型理论给出一个在类型论内部表述、无需前项且与转换关系相容的正规化求值构造,并证明定义相等可判定。
方法
采用基于预层范畴的语义解释,在类型论元语言中用商归纳类型形式化,并将预层解释与逻辑关系合并为证明相关的逻辑谓词。
评估
证明正规化、完备性、稳定性与定义相等性的可判定性,并在 Agda 中形式化大部分构造。
原文摘要(Abstract)

We develop normalisation by evaluation (NBE) for dependent types based on presheaf categories. Our construction is formulated in the metalanguage of type theory using quotient inductive types. We use a typed presentation hence there are no preterms or realizers in our construction, and every construction respects the conversion relation. NBE for simple types uses a logical relation between the syntax and the presheaf interpretation. In our construction, we merge the presheaf interpretation and the logical relation into a proof-relevant logical predicate. We prove normalisation, completeness, stability and decidability of definitional equality. Most of the constructions were formalized in Agda.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{AltenkirchK16,
  title = {Normalisation by Evaluation for Type Theory, in Type Theory},
  author = {Thorsten Altenkirch and Ambrus Kaposi},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 13, Issue 4},
  year = {2017},
  doi = {10.23638/lmcs-13(4:1)2017}
}