paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Bisimulation as path type for guarded recursive types

双模拟作为守卫递归类型的路径类型
POPL 3(POPL)2019匹配度 2/10 · 该论文属于类型论与形式语义,研究守卫递归类型、双模拟与路径相等,未涉及静态分析、ML/Agentic 程序、LLM 辅助验证、浮点程序分析或贝叶斯程序分析等用户核心方向。虽然与形式验证有微弱关联,但与研究画像中的交叉点和问题意识基本不符。引用 16 inbox
Rasmus Ejlers Møgelberg, Niccolò Veltri
crossref: 2026-09-10

AI 速览

一句话:在 Ticked Cubical Type Theory 中证明,任意函子的终守卫余代数的双模拟等价于路径相等。

共归纳类型可用于表示进程,是证明助手中验证非终止反应式程序的关键,但生产率要求以及内置同一性与双相似性不一致,使其编程与推理困难。带守卫递归和时钟量化可编码共归纳类型。本文在 Ticked Cubical Type Theory 中研究守卫递归类型的双相似性,证明对任意函子,终守卫余代数的范畴论抽象双相似性在同伦类型论意义下等价于路径相等。以带守卫的标记迁移系统为例,证明路径相等与进程通常的双模拟概念一致,从而可用简单等式推理证明双相似性。该工作朝由编码获得共归纳类型的双相似性即路径相等迈进一步。

问题
共归纳类型表示进程时,生产率约束和内置同一性与双相似性不重合,导致在证明助手中编程与推理困难;带守卫递归虽可编码共归纳类型,但其双相似性与路径相等的关系尚不明确。
方法
在 Ticked Cubical Type Theory 中为守卫递归类型定义范畴论式双相似性,证明终守卫余代数的双相似性在同伦类型论意义下等价于 cubical 路径相等,并以带守卫标记迁移系统为实例。
评估
通过一般性定理的证明和带守卫标记迁移系统的案例研究,表明路径相等与通常进程双模拟一致,进而支持用等式推理证明双相似性。
原文摘要(Abstract)

In type theory, coinductive types are used to represent processes, and are thus crucial for the formal verification of non-terminating reactive programs in proof assistants based on type theory, such as Coq and Agda. Currently, programming and reasoning about coinductive types is difficult for two reasons: The need for recursive definitions to be productive, and the lack of coincidence of the built-in identity types and the important notion of bisimilarity. Guarded recursion in the sense of Nakano has recently been suggested as a possible approach to dealing with the problem of productivity, allowing this to be encoded in types. Indeed, coinductive types can be encoded using a combination of guarded recursion and universal quantification over clocks. This paper studies the notion of bisimilarity for guarded recursive types in Ticked Cubical Type Theory, an extension of Cubical Type Theory with guarded recursion. We prove that, for any functor, an abstract, category theoretic notion of bisimilarity for the final guarded coalgebra is equivalent (in the sense of homotopy type theory) to path equality (the primitive notion of equality in cubical type theory). As a worked example we study a guarded notion of labelled transition systems, and show that, as a special case of the general theorem, path equality coincides with an adaptation of the usual notion of bisimulation for processes. In particular, this implies that guarded recursion can be used to give simple equational reasoning proofs of bisimilarity. This work should be seen as a step towards obtaining bisimilarity as path equality for coinductive types using the encodings mentioned above.

链接与引用

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

BibTeX
@article{paperbot664,
  title = {Bisimulation as path type for guarded recursive types},
  author = {Rasmus Ejlers Møgelberg and Niccolò Veltri},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {3},
  number = {POPL},
  year = {2019},
  doi = {10.1145/3290317}
}