Mechanically Proving Determinacy of Hierarchical Block Diagram Translations
Viorel Preoteasa, Iulia Dragomir, Stavros Tripakis

TL;DR
This paper introduces the first mechanically verified translation algorithm for hierarchical block diagrams, ensuring semantic equivalence across different translation strategies using formal proof in Isabelle.
Contribution
It presents a nondeterministic translation algorithm for HBDs with proven semantic determinacy, formalized and verified in Isabelle theorem prover.
Findings
The translation algorithm is semantically deterministic for all inputs.
Different translation strategies produce semantically equivalent results.
All proofs are formalized in the Isabelle theorem prover.
Abstract
Hierarchical block diagrams (HBDs) are at the heart of embedded system design tools, including Simulink. Numerous translations exist from HBDs into languages with formal semantics, amenable to formal verification. However, none of these translations has been proven correct, to our knowledge. We present in this paper the first mechanically proven HBD translation algorithm. The algorithm translates HBDs into an algebra of terms with three basic composition operations (serial, parallel, and feedback). In order to capture various translation strategies resulting in different terms achieving different tradeoffs, the algorithm is nondeterministic. Despite this, we prove its semantic determinacy: for every input HBD, all possible terms that can be generated by the algorithm are semantically equivalent. We apply this result to show how three Simulink translation strategies introduced previously…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Logic, programming, and type systems · Model-Driven Software Engineering Techniques
