[Paper Review] Dynamic Logic of Communicating Hybrid Programs
This paper introduces dLCHP, a dynamic logic for compositional verification of communicating hybrid programs (CHPs) that extends differential dynamic logic (dL) with CSP-style parallel composition and communication primitives. By integrating assumption-commitment reasoning with symbolic execution via recorder variables, dLCHP enables sound, modular verification of hybrid systems with concurrent, communicating components, inheriting dL’s complete axiomatization for differential equation invariants and proving soundness as a conservative extension.
This paper presents a dynamic logic $d\mathcal{L}_ ext{CHP}$ for compositional deductive verification of communicating hybrid programs (CHPs). CHPs go beyond the traditional mixed discrete and continuous dynamics of hybrid systems by adding CSP-style operators for communication and parallelism. A compositional proof calculus is presented that modularly verifies CHPs including their parallel compositions from proofs of their subprograms by assumption-commitment reasoning in dynamic logic. Unlike Hoare-style assumption-commitments, $d\mathcal{L}_ ext{CHP}$ supports intuitive symbolic execution via explicit recorder variables for communication primitives. Since $d\mathcal{L}_ ext{CHP}$ is a conservative extension of differential dynamic logic $d\mathcal{L}$, it can be used soundly along with the $d\mathcal{L}$ proof calculus and $d\mathcal{L}$'s complete axiomatization for differential equation invariants.
Motivation & Objective
- To address the challenge of verifying complex, safety-critical cyber-physical systems (CPS) with concurrent, communicating, hybrid components.
- To overcome limitations in existing deductive verification approaches that lack compositionality, generality, or support for symbolic execution.
- To enable modular verification of parallel hybrid programs by separating reasoning about discrete, continuous, and communication behaviors.
- To support intuitive symbolic execution of communication primitives through explicit recorder variables in a dynamic logic framework.
- To provide a sound, conservative extension of differential dynamic logic (dL) that supports parallel composition and communication via assumption-commitment reasoning.
Proposed method
- Extends differential dynamic logic (dL) with a new ac-modality [α]{A,C}ψ to express assumption-commitment contracts for communication and parallel execution.
- Introduces recorder variables to track communication history, enabling symbolic execution of message-passing operations without backtracking.
- Employs a compositional proof calculus where subprograms are verified independently under assumptions, with commitments ensuring consistency in parallel composition.
- Uses a denotational semantics for parallelism that avoids state space explosion by avoiding explicit interleaving of traces.
- Embeds CSP-style operators for parallel composition and message passing into the dynamic logic framework, preserving modularity.
- Proves dLCHP is a conservative extension of dL, inheriting dL’s complete axiomatization for differential equation invariants.
Experimental results
Research questions
- RQ1Can a dynamic logic be designed to support compositional verification of communicating hybrid programs with both discrete and continuous dynamics?
- RQ2How can assumption-commitment reasoning be integrated into a dynamic logic to support modular verification of parallel hybrid systems?
- RQ3Can symbolic execution of communication primitives be supported in a way that maintains soundness and modularity?
- RQ4What is the formal semantics of parallel composition in hybrid programs with message passing and shared global time?
- RQ5How can the logic be made a conservative extension of dL to preserve existing verification infrastructure?
Key findings
- dLCHP provides the first truly compositional verification framework for communicating hybrid programs, enabling modular reasoning about discrete, continuous, and communication behaviors.
- The logic supports symbolic execution of communication primitives via recorder variables, avoiding the need for backward execution and enabling forward reasoning.
- The ac-modality [α]{A,C}ψ allows explicit specification of communication contracts, with assumptions and commitments ensuring consistency in parallel compositions.
- dLCHP is a conservative extension of dL, meaning it inherits dL’s complete axiomatization for differential equation invariants, ensuring soundness and expressiveness.
- The proof calculus supports verification of complex hybrid systems such as autonomous vehicles with communication, using realistic models involving velocity control, distance monitoring, and message passing.
- Case studies demonstrate the feasibility of verifying systems with unreliable, delayed, or noisy communication using the logic’s symbolic execution and contract-based reasoning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.