HELIX: Verified compilation of cyber-physical control systems to LLVM IR
Vadim Zaliva, Yannick Zakowski, Ilia Zaichuk, Valerii Huhnin, Calvin Beck, Irene Yoon, and Steve Zdancewic

TL;DR
HELIX is a verified code generation system that transforms high-level mathematical models of cyber-physical systems into efficient, correct LLVM IR code with formal guarantees, supporting high-performance numerical computing.
Contribution
It introduces a novel verified compilation pipeline from high-level models to LLVM IR, combining algebraic transformations and formal verification in Coq.
Findings
Successfully verified semantic preservation from high-level models to LLVM IR.
Generated efficient code for a cyber-physical robot system.
Demonstrated algebraic transformations enable parallel and vectorized processing.
Abstract
This paper presents the design of HELIX, an end-to-end verified code generation system with a focus on the intersection of high-performance and high-assurance numerical computing. The code generation can be fine-tuned to generate efficient code for a broad set of computer architectures while providing formal guarantees of the correctness of such generated code. Using a real-life example of a cyber-physical robot system, this paper demonstrates how, by using HELIX, one can start from a high-level mathematical formulation of the problem, apply a series of algebraic transformations that target intermediate languages, and generate an efficient imperative implementation. This is done while formally verifying semantic preservation from the original formulation down to LLVM IR. The method we used for high-performance code compilation is the algebraic transformation of vector and matrix…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
