[Paper Review] Certification of Real Inequalities -- Templates and Sums of Squares
This paper presents a certified global optimization method for real-valued multivariate transcendental functions by combining maxplus approximations and nonlinear templates with sparse sums of squares relaxations. The approach enables scalable, precise certification of tight nonlinear inequalities—such as those in the Flyspeck project—by balancing approximation coarseness with computational tractability, outperforming interval arithmetic and standard polynomial solvers on medium-scale problems.
We consider the problem of certifying lower bounds for real-valued multivariate transcendental functions. The functions we are dealing with are nonlinear and involve semialgebraic operations as well as some transcendental functions like $\cos$, $\arctan$, $\exp$, etc. Our general framework is to use different approximation methods to relax the original problem into polynomial optimization problems, which we solve by sparse sums of squares relaxations. In particular, we combine the ideas of the maxplus estimators (originally introduced in optimal control) and of the linear templates (originally introduced in static analysis by abstract interpretation). The nonlinear templates control the complexity of the semialgebraic relaxations at the price of coarsening the maxplus approximations. In that way, we arrive at a new - template based - certified global optimization method, which exploits both the precision of sums of squares relaxations and the scalability of abstraction methods. We analyze the performance of the method on problems from the global optimization literature, as well as medium-size inequalities issued from the Flyspeck project.
Motivation & Objective
- To develop a scalable and certified method for verifying lower bounds of multivariate transcendental functions involving semialgebraic and transcendental operations.
- To address the limitations of interval arithmetic and high-degree polynomial approximations in handling correlated, tight inequalities with moderate dimensionality.
- To integrate maxplus approximations and linear templates into a hybrid framework that reduces lifting variables and polynomial constraints in polynomial optimization problems.
- To enable formal verification of numerical certificates via proof assistants like Coq by generating machine-checkable sums-of-squares proofs.
- To improve performance on challenging global optimization problems from the Flyspeck project and the literature, particularly those with correlated arctangent terms and tight bounds.
Proposed method
- The method uses nonlinear templates to abstract complex transcendental functions into piecewise semialgebraic approximations, reducing the complexity of subsequent polynomial optimization.
- Maxplus approximations are employed to construct coarse but precise lower bounds on the original functions, which are then refined via template-based abstraction.
- The resulting relaxed polynomial optimization problems are solved using sparse sums of squares (SOS) relaxations, enabling certified lower bounds via semidefinite programming.
- A reduction technique, `reduce_lift`, is introduced to minimize the number of lifting variables when approximating semialgebraic functions, such as ratios involving square roots.
- The framework supports composition with functions from a dictionary including exp, log, trigonometric, and power functions, and extends to semiconvex/semiconcave functions with bounded Hessian.
- The method is implemented in a toolchain that generates formal certificates for verification in proof assistants like Coq, ensuring end-to-end trustworthiness.
Experimental results
Research questions
- RQ1Can a hybrid method combining maxplus approximation and nonlinear templates achieve both scalability and precision in certifying global lower bounds for transcendental functions?
- RQ2How does the template-based abstraction compare to interval arithmetic and high-degree polynomial approximation in terms of bound quality and computational cost on medium-scale problems?
- RQ3To what extent can the number of lifting variables and polynomial constraints be reduced in SOS relaxations without sacrificing bound quality?
- RQ4Can this framework effectively handle tight, correlated inequalities involving arctangent and square root functions, as found in the Flyspeck project?
- RQ5Is the resulting numerical certificate amenable to formal verification in proof assistants like Coq?
Key findings
- The template-based method outperforms interval arithmetic on Flyspeck inequalities: for example, it achieves a certified lower bound of 0 for inequality 9922699028, while interval arithmetic yields only -0.87.
- For inequality 9922699028, using 3 lifting variables and 4 square root approximations, the method computes a certified lower bound in 241 seconds, significantly faster than the 1080 seconds required by a coarser approximation with 1 lifting variable.
- On random test problems involving arctan of polynomials, the method with SOS relaxation of order 4 and 3 template nodes achieved a lower bound in 3.8 seconds (n=3), compared to 15.5 seconds using the MATLAB toolbox intsolver.
- For a 6-variable problem (OXLZLEZ6346351218_2_0), the method computed a certified lower bound in 20,520 seconds with 24 boxes and 3 template nodes, while the same problem took over 12,000 seconds with the intsolver tool.
- The `reduce_lift` variant successfully reduced lifting variables by two in one case, demonstrating a systematic way to generate polynomial templates, albeit at increased computational cost for high-order SOS relaxations.
- The method achieves tight certification for problems with infimum values below 10⁻³, confirming its effectiveness on highly constrained, tight inequalities common in formal mathematical proofs.
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.