Complete Dynamic Logic of Communicating Hybrid Programs

Marvin Brieger,Stefan Mitsch,André Platzer
2024-08-09
Abstract:This article presents a relatively complete proof calculus for the dynamic logic of communicating hybrid programs dLCHP. Beyond traditional hybrid systems mixing discrete and continuous dynamics, communicating hybrid programs feature parallel interactions of hybrid systems. This not only compounds the subtleties of hybrid and parallel systems but adds the truly simultaneous synchronized evolution of parallel hybrid dynamics as a new challenge. To enable compositional reasoning about communicating hybrid programs nevertheless, dLCHP combines differential dynamic logic dL and assumption-commitment reasoning. To maintain the logical essence of dynamic logic axiomatizations, dLCHP's proof calculus presents a new modal logic view onto ac-reasoning. This modal view drives a decomposition of classical monolithic proof rules for parallel systems reasoning into new modular axioms, which yields better flexibility and simplifies soundness arguments. Adequacy of the proof calculus is shown by two completeness results: First, dLCHP is complete relative to the logic of communication traces and differential equation properties. This result proves the new modular modal view sufficient for reasoning about parallel hybrid systems, and captures modular strategies for reasoning about concrete parallel hybrid systems. The second result proof-theoretically aligns dLCHP and dL by proving that reasoning about parallel hybrid systems is exactly as hard as reasoning about hybrid systems, continuous systems, or discrete systems. This completeness result reveals the possibility of representational succinctness in parallel hybrid systems proofs.
Logic in Computer Science
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to develop a relatively complete proof calculus for the dynamic logic dLCHP (the dynamic logic of communicating hybrid programs). Specifically, the paper aims to deal with the complexity in parallel hybrid programs, which combine discrete and continuous dynamics and introduce truly synchronous parallel interactions. The main challenges include: 1. **Complexity of Parallel and Hybrid Systems**: Traditional hybrid systems have already combined discrete and continuous dynamics, while parallel hybrid programs further introduce parallel interactions of multiple subsystems. This not only increases the complexity of the system but also brings new challenges, such as how to ensure the truly synchronous evolution of all subsystems within global time. 2. **Verification of Parallel Hybrid Systems**: The safety verification of parallel hybrid systems is an important issue because many real - world systems (such as cyber - physical systems CPS) are essentially parallel hybrid systems. Therefore, an effective logical framework is required to reason about the correctness and safety of these systems. 3. **Compositional Reasoning**: In order to simplify the verification task of parallel hybrid systems, the paper proposes a modular, compositional and sound Hilbert - type proof calculus. This calculus allows compositional reasoning based on specifications rather than internal implementation details, thus truly reducing the complexity of the verification task. 4. **Modal Logic Perspective**: The paper introduces a new modal logic perspective, which elegantly embeds assumption - commitment reasoning (ac - reasoning) into the dynamic logic. This method not only improves flexibility but also simplifies the soundness argument. 5. **Completeness Results**: The paper proves two completeness results, indicating that the proposed proof calculus is relatively complete. This proves that the new modular modal view is sufficient to reason about parallel hybrid systems, and the difficulty of reasoning about parallel hybrid systems is the same as that of reasoning about hybrid systems, continuous systems or discrete systems. In summary, the main goal of this paper is to provide an effective, compositional and sound proof calculus by developing the dynamic logic of dLCHP to address the complexity and verification challenges of parallel hybrid systems.