paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Classical Sequent Calculus with Dependent Types

一个带依赖类型的经典相继式演算
TOPLAS 41(2)2019匹配度 1/10 · 论文属于纯类型论/证明论,研究依赖类型与经典逻辑控制算子的相继式演算及 CPS 翻译,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户当前核心研究方向无直接关联。引用 8 inbox
Étienne Miquey
crossref: 2026-09-10

AI 速览

一句话:给出带控制算子和依赖类型的 call-by-value 语言的相继式演算,并用 CPS 翻译证明其可靠性。

依赖类型是 Curry-Howard 对应下证明助手的核心特性。经典逻辑可通过控制算子扩展该对应,但依赖类型环境下控制算子通常行为异常,除非把依赖限制在值上;此外,依赖类型语言缺少相继式演算表示。本文从 call-by-value 的 λμ˜μ-演算出发,设计一个带 value restriction 与显式依赖列表的最小语言及类型系统,以保持类型安全;进而放松 value restriction、引入 delimited continuations,并通过 continuation-passing-style 翻译证明一致性。最后将系统与 Lepigre 的相似系统关联,提出迁移性质的方法。

问题
如何在保留控制算子的经典逻辑中为依赖类型语言建立相继式演算,同时避免依赖类型与控制算子交互导致的类型不安全或不一致?
方法
从 call-by-value 的 λμ˜μ-演算出发,设计带 value restriction 和显式依赖列表的最小语言与类型系统,再通过放松 value restriction、引入 delimited continuations 和 CPS 翻译来证明一致性,并建立与 Lepigre 系统的性质迁移方法。
评估
评估以理论证明为主:通过 CPS 翻译论证可靠性/一致性,并建立与 Lepigre 系统的关系以迁移性质。
原文摘要(Abstract)

Dependent types are a key feature of the proof assistants based on the Curry-Howard isomorphism. It is well known that this correspondence can be extended to classical logic by enriching the language of proofs with control operators. However, they are known to misbehave in the presence of dependent types, unless dependencies are restricted to values. Moreover, while sequent calculi naturally support continuation-passing-style interpretations, there is no such presentation of a language with dependent types. The main achievement of this article is to give a sequent calculus presentation of a call-by-value language with a control operator and dependent types, and to justify its soundness through a continuation-passing-style translation. We start from the call-by-value version of the λμ˜μ -calculus. We design a minimal language with a value restriction and a type system that includes a list of explicit dependencies to maintain type safety. We then show how to relax the value restriction and introduce delimited continuations to directly prove the consistency by means of a continuation-passing-style translation. Finally, we relate our calculus to a similar system by Lepigre and present a methodology to transfer properties from this system to our own.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot714,
  title = {A Classical Sequent Calculus with Dependent Types},
  author = {Étienne Miquey},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {41},
  number = {2},
  year = {2019},
  doi = {10.1145/3230625}
}