POPL 2027
Sun 10 - Sat 16 January 2027 Mexico City, Mexico

Developing an abstract interpretation-based DNN certifier requires mathematical analysis design, soundness reasoning, and efficient implementation. We present ConstraintFlow, a programming languages framework in which a common mathematical specification supports soundness verification, tensor compilation, structured sparsity, architecture specialization, and transformer synthesis. Formal results connect verification and execution to the specification under stated assumptions. ConstraintFlow supports a variety of DNN certifiers with different abstract domains and propagation strategies. We specify four existing certifiers and four new certifiers, each in just 11–67 lines of code. We automatically compile these specifications into optimized tensor-level code. The generated programs achieve a $7.1\times$ geometric-mean GPU runtime speedup over auto_LiRPA, a state-of-the-art hand-optimized library, for DeepPoly, a widely used DNN certifier. The code is available at \url{https://github.com/uiuc-focal-lab/constraintflow/tree/main}.