Implementing Hybrid Semantics: From Functional to Imperative
Sergey Goncharov, Renato Neves, Jos\'e Proen\c{c}a

TL;DR
This paper introduces an imperative version of a hybrid programming language with a simpler, executable semantics, enabling practical hybrid system simulation and tool development while maintaining formal soundness and adequacy.
Contribution
It presents an imperative counterpart to the existing functional hybrid language HybCore, with a simpler, executable semantics closely related to the original, facilitating implementation and simulation.
Findings
Developed an imperative hybrid language with executable semantics.
Established soundness and adequacy of the semantics.
Created a web-based prototype for hybrid program evaluation.
Abstract
Hybrid programs combine digital control with differential equations, and naturally appear in a wide range of application domains, from biology and control theory to real-time software engineering. The entanglement of discrete and continuous behaviour inherent to such programs goes beyond the established computer science foundations, producing challenges related to e.g. infinite iteration and combination of hybrid behaviour with other effects. A systematic treatment of hybridness as a dedicated computational effect has emerged recently. In particular, a generic idealized functional language HybCore with a sound and adequate operational semantics has been proposed. The latter semantics however did not provide hints to implementing HybCore as a runnable language, suitable for hybrid system simulation (e.g. the semantics features rules with uncountably many premises). We introduce an…
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.
