paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CRIS: The Power of Imagination in Hybrid Verification

CRIS:混合验证中的想象力
PLDI 10(PLDI)2026匹配度 3/10 · 该论文属于程序验证、分离逻辑与精化类型的形式化方法工作,与形式化验证有间接关联;但未涉及 LLM/Agent、静态分析在 ML/Agentic 程序中的应用,也不涉及浮点或贝叶斯程序分析,因此与用户画像的核心交叉方向匹配度低。引用 1 inbox
Yonghee Kim, Taeyoung Yoon, Sanghyun Yi, Jaehyung Lee, Soonwon Moon, Yeji Han, Seonho Lee, Taeyoung Rhee, Yujin Im, Donghyun Nam, Jieung Kim, Chung-Kil Hur
crossref: 2026-09-10

AI 速览

一句话:提出 imaginary specifications,将可执行代码与所有权断言自由混合,并构建 CRIS 框架推广 CCR,支持对未验证代码副作用的模块化推理。

CCR 框架统一了 refinement 与分离逻辑,可在包含未验证代码的开放环境中提供基于所有权的模块化推理与传递式增量推理。然而,在推理函数调用时,客户端可用的推理原则仍局限于前后条件,难以刻画 I/O 动作或与任意未验证代码交互等 effectful 行为,这一问题在混合验证中尤为尖锐——不同验证技术混用,部分代码从未被形式验证而仅经测试或模型检测。为此,论文提出 imaginary specifications:一种将可执行代码与所有权断言自由混合的新概念,并给出其使用所需的推理原则。通过若干关键技术发展,作者提出 CRIS(Contextual Refinement with Imaginary Specifications),将 CCR 推广至支持 imaginary specifications。论文用涉及未验证代码、含 I/O 或发散等任意副作用的混合验证示例展示了 CRIS 的表达力与推理能力,并在 Rocq 中完成完整机器化。

问题
现有 CCR 等 refinement 与分离逻辑框架对函数调用只能依赖前后条件,难以刻画 I/O、发散等 effectful 行为,尤其在代码未经形式验证而仅被测试或模型检测的混合验证场景中限制明显。
方法
提出 imaginary specifications,将可执行代码与所有权断言自由混合,并设计配套推理原则;在此基础上构建 CRIS 框架,将 CCR 推广为支持 imaginary specifications 的上下文精化逻辑。
评估
通过包含任意副作用(如 I/O 与发散)的未验证代码的混合验证示例,展示 CRIS 的表达力与推理能力,并在 Rocq 证明助手中完成完整机器化。
原文摘要(Abstract)

The CCR framework unifies refinement and separation logic to provide ownership-based modular reasoning and transitive incremental reasoning in open settings that involve unverified code. However, when reasoning about function invocations, the reasoning principles available to clients remain confined to pre- and postconditions, which struggle to capture effectful behaviors such as I/O actions or interactions with arbitrary unverified code. This limitation becomes particularly acute in hybrid verification , where a mixture of different verification techniques is applied and some code is never formally verified but instead tested or model-checked. To overcome this limitation, we introduce imaginary specifications —a novel notion that freely mixes executable code with ownership assertions—and reasoning principles for their use. Through key technical developments, we present CRIS (Contextual Refinement with Imaginary Specifications), a framework that generalizes CCR with support for imaginary specifications. We demonstrate CRIS’s expressiveness and reasoning power through examples involving hybrid verification with unverified code exhibiting arbitrary side effects such as I/O or divergence, with complete mechanization in Rocq.

链接与引用

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

BibTeX
@article{KimYYLMHLRINKH26,
  title = {CRIS: The Power of Imagination in Hybrid Verification},
  author = {Yonghee Kim and Taeyoung Yoon and Sanghyun Yi and Jaehyung Lee and Soonwon Moon and Yeji Han and Seonho Lee and Taeyoung Rhee and Yujin Im and Donghyun Nam and Jieung Kim and Chung-Kil Hur},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {PLDI},
  year = {2026},
  doi = {10.1145/3808317}
}