Paperlane

no. 19 · Friday 20 November 2026

Formally Verified Semidefinite Programming

Perry Hart

math.OC · via cs.SE · 9 pp

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.

comments
9 pages. Comments welcome
fields
Optimization and Control