paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Later credits: resourceful reasoning for the later modality

Later Credits:面向 later 模态的资源化推理
ICFP 6(ICFP)2022匹配度 2/10 · 该论文是分离逻辑/Iris中later模态的纯形式验证理论工作,未涉及LLM/Agent、面向ML系统的静态分析、浮点程序分析或贝叶斯程序分析,与用户画像中AI与PL交叉的核心方向无直接关联。虽属形式验证基础,但并非利用LLM改进验证或验证LLM系统的工作。引用 21 inbox
Simon Spies, Lennard Gäher, Joseph Tassarotti, Ralf Jung, Robbert Krebbers, Lars Birkedal, Derek Dreyer
crossref: 2026-09-10

AI 速览

一句话:提出 later credits,将“消除 later 的权利”变为分离逻辑可拥有资源,以突破 later 模态证明困境。

过去二十年,步进索引逻辑关系与分离逻辑在语义和验证研究中作用重大;VST、iCAP、Iris 等步进索引分离逻辑将二者结合,用步进索引模型解释命题,并通过“later”模态将步进推理反映到逻辑中。later 模态提供了优雅的高层步进推理,但在足够复杂的证明中,它会把自然策略变成死胡同。本文提出 later credits:把“消除一个 later 的权利”变成可由分离逻辑拥有的资源,从而可像普通资源一样遵循分离逻辑的模块化推理原则。作者在 Iris 语境中发展该理论,并给出若干此前无法在 Iris 中完成或不自然的困难证明与证明模式,表明 later credits 能有效规避 later 模态困境。

问题
步进索引分离逻辑中的 later 模态虽然提供了优雅的高层步进推理,但在复杂证明中会使自然证明策略走入死胡同,限制可验证性。
方法
将“消除一个 later 的权利”建模为分离逻辑资源,即 later credits,并在 Iris 中建立其理论,使 later 消去服从资源所有权与分离推理原则。
评估
在 Iris 语境中发展 later credits 理论,并通过多个具有挑战性的证明与证明模式展示其能力,这些证明此前在 Iris 中无法完成或不自然。
原文摘要(Abstract)

In the past two decades, step-indexed logical relations and separation logics have both come to play a major role in semantics and verification research. More recently, they have been married together in the form of step-indexed separation logics like VST, iCAP, and Iris, which provide powerful tools for (among other things) building semantic models of richly typed languages like Rust. In these logics, propositions are given semantics using a step-indexed model, and step-indexed reasoning is reflected into the logic through the so-called “later” modality. On the one hand, this modality provides an elegant, high-level account of step-indexed reasoning; on the other hand, when used in sufficiently sophisticated ways, it can become a nuisance, turning perfectly natural proof strategies into dead ends. In this work, we introduce later credits , a new technique for escaping later-modality quagmires. By leveraging the second ancestor of these logics—separation logic—later credits turn “the right to eliminate a later” into an ownable resource, which is subject to all the traditional modular reasoning principles of separation logic. We develop the theory of later credits in the context of Iris, and present several challenging examples of proofs and proof patterns which were previously not possible in Iris but are now possible due to later credits.

链接与引用

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

BibTeX
@article{paperbot1479,
  title = {Later credits: resourceful reasoning for the later modality},
  author = {Simon Spies and Lennard Gäher and Joseph Tassarotti and Ralf Jung and Robbert Krebbers and Lars Birkedal and Derek Dreyer},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {6},
  number = {ICFP},
  year = {2022},
  doi = {10.1145/3547631}
}