paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Compositional Neural-Cyber-Physical System Verification in the Interactive Theorem Prover of Your Choice

在你选择的交互式定理证明器中进行组合式神经-信息物理系统验证
ICFP 10(ICFP)2026匹配度 4/10 · 论文聚焦神经符号CPS的形式化验证与ITP集成,属于形式化方法与神经网络的交叉,但未涉及LLM/Agent、静态分析、浮点或贝叶斯程序分析,与用户核心研究方向匹配有限。引用 0 inbox
Matthew L. Daggitt, Ekaterina Komendantskaya, Alistair Sirman, Alessandro Bruni, Samuel Teuber, Josh Smart, Grant Passmore
crossref: 2026-09-10

AI 速览

一句话:提出 Vehicle 的组合式方法,将神经网络验证与符号证明集成到任意交互式定理证明器中。

神经符号信息物理系统(无人机、医疗设备、机器人)的形式验证十分困难:神经组件需在数据与安全规范下训练并用专用求解器验证;符号的“信息”与“物理”行为需在交互式定理证明器(ITP)中建模验证,常依赖成熟数学库处理离散与连续动态,并希望获得无限时间范围保证;两类结果还需一致整合且保持可部署。本文提出组合式方法:Vehicle 是用于指定、训练和验证神经组件的函数式 DSL,作者扩展它以极小代价与任意 ITP 集成。通过复用其标准双向类型检查器,将神经规范转译为面向多证明器的中间表示,集成 Rocq、Isabelle/HOL、Agda 和 Imandra,展示带神经网络控制器的离散 CPS 的通用无限时间范围安全证明。最后在 Rocq 中用 Mathematical Components 库验证了建模为连续 CPS 的神经控制器医疗设备的无限时间范围安全性。据作者所知,这是通用 ITP 中首个此类结果。

问题
神经符号信息物理系统中神经组件与符号模型的验证彼此割裂,且难以在交互式定理证明器中一致、可组合地整合,同时保持模型可部署。
方法
提出 Vehicle 组合式验证框架,提供函数式 DSL 用于指定、训练和验证神经组件,并扩展其双向类型检查器,将神经规范转译为面向多个交互式定理证明器的中间表示。
评估
集成到 Rocq、Isabelle/HOL、Agda 与 Imandra;在各 ITP 中完成带神经控制器的离散 CPS 的无限时间范围安全证明,并在 Rocq/Mathematical Components 中验证连续 CPS 医疗设备的无限时间范围安全性。
原文摘要(Abstract)

Formal verification of neuro-symbolic cyber-physical systems, such as drones, medical devices and robots, is complicated. Neural components must be trained to be optimal with respect to the available data as well as the safety specifications, and then verified using specialised solvers. Symbolic models of the "cyber" and "physical" behaviour of the system must be constructed and verified in interactive theorem provers (ITPs), often requiring mature mathematical libraries to reason about the interplay of discrete and continuous dynamics, preferably obtaining infinite time-horizon guarantees. Finally, the results of the two already challenging verification tasks need to be integrated into a single proof in a coherent and consistent way, whilst preserving deployability of the resulting model. In this paper we present a compositional methodology for constructing such proofs. The Vehicle framework provides a functional, domain-specific language for specifying, training, and verifying neural components. We extend Vehicle to allow integration with any ITP with minimal effort, thereby bridging the gap between the neural and symbolic proofs. First, we describe how Vehicle’s standard bidirectional type checker can be reused to transpile neural specifications into an intermediate representation targeting multiple theorem provers. Second, we integrate Vehicle with Rocq, Isabelle/HOL, Agda and the industrial prover Imandra; and showcase a generic infinite time-horizon safety proof of a discrete cyber-physical system with a neural network controller in each ITP. Finally, to put the idea of compositional neural-cyber-physical system verification to the test, we use the Mathematical Components libraries in Rocq to verify infinite time-horizon safety of a medical device, modelled as a continuous cyber-physical system with a neural controller. To our knowledge, this is the first result of this kind in a general purpose ITP; and a result that was only feasible thanks to the compositionality provided by Vehicle's functional interface.

链接与引用

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

BibTeX
@article{abs-2605-02790,
  title = {Compositional Neural-Cyber-Physical System Verification in the Interactive Theorem Prover of Your Choice},
  author = {Matthew L. Daggitt and Ekaterina Komendantskaya and Alistair Sirman and Alessandro Bruni and Samuel Teuber and Josh Smart and Grant Passmore},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {ICFP},
  year = {2026},
  doi = {10.1145/3828680}
}