在您选择的交互式定理证明器中进行组合式神经-信息物理系统验证
Compositional Neural-Cyber-Physical System Verification in the Interactive Theorem Prover of Your Choice
AI总结:
提出一种组合式方法,通过Vehicle框架将神经组件规范转换为中间表示,并集成到多个交互式定理证明器中,实现带神经网络控制器的信息物理系统的无限时域安全验证。
摘要:
神经符号信息物理系统(如无人机、医疗设备和机器人)的形式化验证非常复杂。神经组件必须针对可用数据和安全性规范进行优化训练,然后使用专门的求解器进行验证。系统的“信息”和“物理”行为的符号模型必须在交互式定理证明器(ITP)中构建和验证,通常需要成熟的数学库来推理离散和连续动力学的相互作用,最好能获得无限时域保证。最后,这两个已经具有挑战性的验证任务的结果需要以连贯一致的方式整合到一个证明中,同时保持所得模型的可部署性。本文提出了一种用于构建此类证明的组合式方法。Vehicle框架提供了一种函数式领域特定语言,用于指定、训练和验证神经组件。我们扩展了Vehicle,使其能够以最小的工作量集成到任何ITP中。首先,我们描述了如何重用Vehicle的标准双向类型检查器,将神经规范转译成针对多个定理证明器的中间表示。其次,我们将Vehicle与Rocq、Isabelle/HOL、Agda和工业证明器Imandra集成;并在每个ITP中展示了一个带有神经网络控制器的离散信息物理系统的通用无限时域安全证明。最后,我们使用Rocq中的Mathematical Components库验证了一个医疗设备的无限时域安全性,该设备被建模为带有神经控制器的连续信息物理系统。据我们所知,这是在通用ITP中首次获得此类结果;并且由于Vehicle函数式接口提供的组合性,这一结果才得以实现。
英文摘要:
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. 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, 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。