PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
July 1, 20260 citationsOpen Access

Heterogeneous Dynamic Logic: Provability Modulo Program Theories

STSamuel TeuberMUMattias UlbrichAPAndré Platzer

Key Points

  • This research aims to introduce Heterogeneous Dynamic Logic (HDL) to improve the verification of systems built with different programming languages.
  • Developed a framework for combining distinct dynamic program logics in a modular way.
  • Formalized operations of lifting and combination for dynamic theories and their calculi.
  • Proved soundness of proof rules in Isabelle and demonstrated HDL with an automotive case study.
  • HDL allows reasoning about heterogeneous systems with combined dynamic languages and sound calculus.
  • Successfully verified an automotive case study where Java controlled a plant model using differential logic.
  • Proved completeness theorems, ensuring ease of reasoning for lifted or combined theories.

Abstract

Formally specifying, let alone verifying, properties of systems involving multiple programming languages is inherently challenging. We introduce Heterogeneous Dynamic Logic (HDL), a framework for combining reasoning principles from distinct (dynamic) program logics in a modular and compositional way. HDL mirrors the architecture of satisfiability modulo theories (SMT): Individual dynamic logics, along with their calculi, are treated as dynamic theories that can be combined to reason about heterogeneous systems whose components are verified using different program logics. HDL provides two key operations: Lifting extends an individual dynamic theory with new program constructs (e.g., the havoc operation or regular programs) and automatically augments its calculus with sound reasoning principles for the new constructs; and Combination enables cross-language reasoning in a single modality via Heterogeneous Dynamic Theories, facilitating the reuse of existing proof infrastructure. By lifting combined theories with regular programs, we obtain heterogeneous control structures that allow us to reason about intertwined cross-language behavior. We formalize dynamic theories, their lifting and combination, and prove the soundness of all proof rules in Isabelle. We also introduce a proof rule combining deductive DL-based reasoning with reasoning principles from Kleene Algebras with Tests. Furthermore, we prove relative completeness theorems for lifting and combination: Under usual assumptions, reasoning about lifted or combined theories is no harder than reasoning about the constituent dynamic theories and their common first-order structure (i.e., the data theory). We demonstrate HDL's value by verifying an automotive case study where a Java controller (formalized in Java dynamic logic) steers a plant model (formalized in differential dynamic logic).

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Teuber et al. (2026) studied this question.

synapsesocial.com/papers/6a44ae8c5cd2549c8bc43b7ehttps://doi.org/10.5445/ir/1000194683
Ask AI
Helpful
Bookmark
Share
View Full Paper