[Paper Review] Formal Proofs for Nonlinear Optimization
This paper presents a formally verified global optimization framework that combines semialgebraic maxplus template approximations with sums-of-squares relaxations to compute certified lower bounds for nonlinear functions over compact domains. By interfacing with the Coq proof assistant, it generates machine-checkable certificates ensuring correctness, enabling formal verification of complex inequalities—such as those in Hales' proof of Kepler's conjecture—while maintaining precision and scalability for multivariate transcendental functions.
We present a formally verified global optimization framework. Given a semialgebraic or transcendental function f and a compact semialgebraic domain K, we use the nonlinear maxplus template approximation algorithm to provide a certified lower bound of f over K. This method allows to bound in a modular way some of the constituents of f by suprema of quadratic forms with a well chosen curvature. Thus, we reduce the initial goal to a hierarchy of semialgebraic optimization problems, solved by sums of squares relaxations. Our implementation tool interleaves semialgebraic approximations with sums of squares witnesses to form certificates. It is interfaced with Coq and thus benefits from the trusted arithmetic available inside the proof assistant. This feature is used to produce, from the certificates, both valid underestimators and lower bounds for each approximated constituent. The application range for such a tool is widespread; for instance Hales' proof of Kepler's conjecture yields thousands of multivariate transcendental inequalities. We illustrate the performance of our formal framework on some of these inequalities as well as on examples from the global optimization literature.
Motivation & Objective
- To develop an automated, formally verified method for computing certified lower bounds of multivariate nonlinear functions over compact semialgebraic domains.
- To address the challenge of certifying numerical bounds in large-scale proofs involving nonlinear inequalities, such as those in Hales' proof of Kepler's conjecture.
- To integrate semialgebraic approximations with sums-of-squares (SOS) relaxations in a way that ensures formal correctness via Coq's trusted computation environment.
- To improve scalability and precision in global optimization by reducing nonlinear problems to hierarchical semialgebraic relaxations with certified error bounds.
- To enable formal verification of complex inequalities arising in mathematical proofs involving transcendental functions and high-dimensional domains.
Proposed method
- The method uses the nonlinear maxplus template approximation to bound constituents of a function f by suprema of quadratic forms with controlled curvature, reducing the original problem to a hierarchy of semialgebraic optimization problems.
- It employs a modular decomposition where each component of f is approximated using piecewise quadratic majorants derived from control points, enabling efficient relaxation.
- The framework combines informal computation (via SDP solvers) with formal verification in Coq, using the interval tactic and custom procedures to validate bounds and SOS certificates.
- Sums-of-squares (SOS) relaxations are used to verify nonnegativity of polynomial remainders, with certificates checked via Coq’s trusted arithmetic and ring tactics.
- The implementation uses a projection procedure to generate SOS polynomials with rational coefficients, optimized for efficient formal checking in Coq.
- A branch-and-bound refinement is applied when initial approximations yield insufficiently tight bounds, with domain partitioning guided by error estimation.
Experimental results
Research questions
- RQ1Can a hybrid symbolic-numeric approach produce certified lower bounds for multivariate nonlinear functions over compact domains with formal proof guarantees?
- RQ2How can maxplus template approximations be systematically combined with sums-of-squares relaxations to ensure both precision and formal verifiability?
- RQ3To what extent can this framework scale to high-dimensional or high-degree polynomial and transcendental optimization problems?
- RQ4Can this method formally verify the thousands of nonlinear inequalities present in Hales’ proof of Kepler’s conjecture?
- RQ5What is the performance overhead of formal verification compared to informal computation, and how can it be minimized?
Key findings
- The framework successfully computed formally verified lower bounds for two 6-variable Flyspeck inequalities, with formal verification times 8.5× and 9.4× slower than informal computation, respectively.
- For the MC problem, the method achieved a lower bound of −1.92 with only 17 domain subdivisions, outperforming interval Taylor methods that required 9,370 and 25,994 subdivisions.
- The formal verification of SOS certificates was the primary performance bottleneck, accounting for ~7% of total time, but the overall ratio of formal to informal time remained under 10, significantly better than prior work (e.g., ~2000–4000 in [SH13]).
- The method produced concise, machine-checkable certificates in Coq, leveraging trusted arithmetic and the interval tactic to validate bounds on semialgebraic relaxations.
- The approach demonstrated scalability and precision on global optimization benchmarks, including the SWF problem (5 variables, lower bound −2150, 78 subdivisions).
- The authors identify polynomial arithmetic in Coq as a current bottleneck, and propose using interval coefficients to improve performance for larger problems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.