English

Towards Formal Verification of Hybrid Synchronous Programs with Refinement Types

Programming Languages 2026-05-07 v1

Abstract

Cyber-physical systems (CPS) such as autonomous cars, aircraft, and robots are often also safety-critical; thus it is imperative that they operate as intended with a high degree of certainty. Formal verification has been employed to verify the software controlling these systems, but due to their complexity, is usually performed on an abstract model rather than the executable code. Synchronous programming languages extended with differential equations promise both rigorous modeling and sufficient expressiveness to implement executable controller code, and recent developments have introduced formal verification of strictly discrete-time programs. Extending these verification techniques to hybrid systems enables precise modeling of the environment for a wider variety of programs to be both verified and executed. We formalize the operational semantics of initial value problems and zero-crossing detection expressed in a synchronous programming language, extend its type system for verification thereof, and prove its soundness.

Keywords

Cite

@article{arxiv.2605.04377,
  title  = {Towards Formal Verification of Hybrid Synchronous Programs with Refinement Types},
  author = {Serra Z. Dane and Jiawei Chen and Marc Pouzet and Jean-Baptiste Jeannin},
  journal= {arXiv preprint arXiv:2605.04377},
  year   = {2026}
}

Comments

NASA Formal Methods

R2 v1 2026-07-01T12:51:58.636Z