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 imperative counterpart of HybCore, whose semantics is simpler and runnable, and yet intimately related with the semantics of HybCore at the level of hybrid monads. We then establish a corresponding soundness and adequacy theorem. To attest that the resulting semantics can serve as a firm basis for the implementation of typical tools of programming oriented to the hybrid domain, we present a web-based prototype implementation to evaluate and inspect hybrid programs, in the spirit of GHCi for Haskell and UTop for OCaml. The major asset of our implementation is that it formally follows the operational semantic rules.
Original language | English |
---|---|
Title of host publication | Theoretical Aspects of Computing – ICTAC 2020 - 17th International Colloquium, 2020, Proceedings |
Editors | Violet Ka Pun, Volker Stolz, Adenilso Simao |
Publisher | Springer |
Pages | 262-282 |
Number of pages | 21 |
ISBN (Print) | 9783030642754 |
DOIs | |
Publication status | Published - 2020 |
Event | 17th International Colloquium on Theoretical Aspects of Computing, ICTAC 2020 - Macau, China Duration: 30 Nov 2020 → 4 Dec 2020 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 12545 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 17th International Colloquium on Theoretical Aspects of Computing, ICTAC 2020 |
---|---|
Country/Territory | China |
City | Macau |
Period | 30/11/20 → 4/12/20 |
Bibliographical note
Publisher Copyright:© 2020, Springer Nature Switzerland AG.
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science