paperbot · PL 论文追踪

全部论文 待读 收藏

P2 RefinedProsa: Connecting Response-Time Analysis with C Verification for Interrupt-Free Schedulers

RefinedProsa:将响应时间分析与 C 验证连接起来用于无中断调度器
PLDI 9(PLDI)2025匹配度 2/10 · 该论文属于纯形式化验证与定理证明工作,虽与用户关注的形式化验证有间接交集,但未涉及 LLM/Agent 改进静态分析/形式化验证,也未涉及 ML/Agentic 程序静态分析、浮点程序分析或贝叶斯程序分析。引用 2 inbox
Kimaya Bedarkar, Laila Elbeheiry, Michael Sammler, Lennard Gäher, Björn Brandenburg, Derek Dreyer, Deepak Garg
crossref: 2026-09-10

AI 速览

一句话:在 Rocq 中连接 RefinedC 的 C 验证与 Prosa 的响应时间分析,首次机器验证无中断 C 调度器的时序保证。

本文关注实时系统调度器实现时序保证的机器检验验证。此前工作仅处理基于 tick 的调度器,因为这类调度器有明确的时间量子概念;而广泛用于深度嵌入式和资源受限系统的无中断(interrupt-free)调度器缺乏自然的周期时间概念,其验证尚未被覆盖。作者提出一套新方法,基于并连接两个已有的 Rocq 系统:用于基础 C 验证的 RefinedC 和用于已验证响应时间分析的 Prosa,将前者扩展为可推理带时间的 trace,将后者扩展为可推理开销(overheads)。由此得到的系统称为 RefinedProsa。作者将其应用于 Rössl——一个简单但有代表性的、以 C 实现的固定优先级、非抢占、无中断调度器,完成了端到端验证。该工作把底层 C 代码验证与高层响应时间分析打通,为无中断实时调度器的时序正确性提供了机器检验的保证。

问题
如何对以 C 实现的无中断实时调度器进行机器检验的时序(响应时间)保证验证;此前的方法只适用于具有明确时间量子概念的基于 tick 的调度器。
方法
在 Rocq 中连接并扩展两个系统:把 RefinedC(基础 C 验证)扩展为可推理 timed traces,把 Prosa(已验证响应时间分析)扩展为可推理开销,从而得到 RefinedProsa。
评估
用 RefinedProsa 对一个代表性 C 实现的无中断调度器 Rössl(固定优先级、非抢占)进行端到端的形式化验证。
原文摘要(Abstract)

There has been a recent upsurge of interest in formal, machine-checked verification of timing guarantees for C implementations of real-time system schedulers. However, prior work has only considered tick-based schedulers, which enjoy a clearly defined notion of time: the time “quantum”. In this work, we present a new approach to real-time systems verification for interrupt-free schedulers , which are commonly used in deeply embedded and resource-constrained systems but which do not enjoy a natural notion of periodic time. Our approach builds on and connects two recently developed Rocq-based systems—RefinedC (for foundational C verification) and Prosa (for verified response-time analysis)—adapting the former to reason about timed traces and the latter to reason about overheads. We apply the resulting system, which we call RefinedProsa , to verify Rössl, a simple yet representative, fixed-priority, non-preemptive, interrupt-free scheduler implemented in C.

链接与引用

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

BibTeX
@article{paperbot3139,
  title = {RefinedProsa: Connecting Response-Time Analysis with C Verification for Interrupt-Free Schedulers},
  author = {Kimaya Bedarkar and Laila Elbeheiry and Michael Sammler and Lennard Gäher and Björn Brandenburg and Derek Dreyer and Deepak Garg},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {PLDI},
  year = {2025},
  doi = {10.1145/3729249}
}