A Verified Compiler for Synchronous Programs with Local Declarations
Klaus Schneider, Jens Brandt, Tobias Schuele · Electronic Notes in Theoretical Computer Science · 2006
We describe the translation of Esterel-like programs with delayed actions to equivalent transition relations and equation systems. Potential schizophrenia problems arising from local declarations are solved by (1) generating copies of the surface of the statement and (2) renaming the local variables in these copies to allow them to have different values at the same point of time. The translation runs in polynomial time and has been formally verified with the HOL theorem prover.