Formally Verified Semidefinite Programming
Perry Hart
Abstract
We present a formally verified Rust implementation of a first-order semidefinite programming solver, a nontrivial piece of numerical software. We wrote the solver by hand and then directed Claude to generate the entire verification in Verus, an automated theorem prover for Rust programs. We discuss the algorithm underlying the solver, its implementation in Rust, and our pragmatic approach to proving it correct in Verus.
Create a lesson
Related papers
Verify the Verifier: Specification-Grounded LLM Cross-Checking for Bugs That Escape UVM Scoreboards
Shared title terminology · Ana E. Sanchez Villalobos, Michael D. Quinn, Aakash Tyagi et al.
BehaVerify: A Formal Verification Tool for Behavior Trees
Shared title terminology · Serena S. Serbinowska, Ben Wooding, Diego Manzanas Lopez et al.
Formal Analysis of a Fault-Tolerant Extension of the ROSACE Flight Controller
Shared title terminology · Marco Bozzano, Alessandro Cimatti, Moussa Fall et al.
AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions
Shared title terminology · Haocheng Wang, Weixuan Yuan, Florian Hübler et al.
Synapse: Optimizing Natural-Language Agent Skills through Program Repair
Shared title terminology · Lijuan Li, Zhenpeng Chen, Chenxi Zhang et al.
Live Noise Fingerprints for Quantum Program Analysis
Shared title terminology · Avner Bensoussan, Karine Even-Mendoza, Debalina Banerjee et al.