Mechanized semantics and verified compilation for a dataflow synchronous language with reset

Timothy Bourke, Lélio Brun, Marc Pouzet

Research output: Contribution to journalArticlepeer-review

Abstract

Specifications based on block diagrams and state machines are used to design control software, especially in the certified development of safety-critical applications. Tools like SCADE Suite and Simulink/Stateflow are equipped with compilers that translate such specifications into executable code. They provide programming languages for composing functions over streams as typified by Dataflow Synchronous Languages like Lustre. Recent work builds on CompCert to specify and verify a compiler for the core of Lustre in the Coq Interactive Theorem Prover. It formally links the stream-based semantics of the source language to the sequential memory manipulations of generated assembly code. We extend this work to treat a primitive for resetting subsystems. Our contributions include new semantic rules that are suitable for mechanized reasoning, a novel intermediate language for generating optimized code, and proofs of correctness for the associated compilation passes.

Original languageEnglish
Article number44
JournalProceedings of the ACM on Programming Languages
Volume4
Issue numberPOPL
DOIs
Publication statusPublished - 1 Jan 2020
Externally publishedYes

Keywords

  • Interactive theorem proving
  • Stream languages
  • Verified compilation

Fingerprint

Dive into the research topics of 'Mechanized semantics and verified compilation for a dataflow synchronous language with reset'. Together they form a unique fingerprint.

Cite this