- Research Article
1
- 10.1145/3609393
Equation-Directed Axiomatization of Lustre Semantics to Enable Optimized Code Validation
- Sep 09, 2023
- ACM Transactions on Embedded Computing Systems
- Lélio Brun + 3 more +3
Model-based design tools like SCADE Suite and Simulink are often used to design safety-critical embedded software. Consequently, generating correct code from such models is crucial. We tackle this challenge on Lustre, a dataflow synchronous language that embodies the concepts that base such tools. Instead of proving correct a whole code generator, we turn an existing compiler into a certifying compiler from Lustre to C, following a translation validation approach. We propose a solution that generates both C code and an attached specification expressing a correctness result for the generated and optionally optimized code. The specification yields proof obligations that are discharged by external solvers through the Frama-C platform.
Read more