Numerical certification
Numerical certification is the process of verifying the correctness of a candidate solution to a system of equations, often a result of algorithmic calculation. In numerical computational mathematics, such as numerical algebraic geometry, candidate solutions are computed, but there is the possibility that errors have been introduced. Beyond the inexactness of candidates, they may also simply be grossly incorrect as the result of any of a number of modes of failure. The goal of numerical certification is to provide a certificate which proves which of these candidates indeed approximate solutions.
Methods for certification can be divided into two flavors: a priori certification and a posteriori certification. A posteriori certification confirms the correctness of the final answers (regardless of how they are generated), while a priori certification confirms the correctness of each step of a specific computation. A typical example of a posteriori certification is Smale's alpha theory, while a typical example of a priori certification is interval arithmetic.
Certificates
A certificate is a computational proof of the correctness of a candidate solution.
A certificate in this context for a candidate solution is similar to a certificate for correctness in computer science. Whereas a computer science certificate proves that a function produces the correct result, numerical certification operates on solutions. Between the two flavors, a priori numerical certification bears the greatest similarity to certification of an algorithm, in that the results are mathematically guaranteed to be correct -- much like total correctness. On the other hand, a posteriori numerical certification operates on solution candidates, regardless of how they are computed, and hence is rather different from algorithmic correctness -- for an extreme example, one could randomly generate candidates and attempt to certify them a posteriori.
A posteriori certification methods
There are a variety of methods for a posteriori certification, including
- Alpha theory (Smale)
- Krawczyk's method/Interval Newton (Moore)
- Miranda Test (Yap, Vegter, Sharma)
Alpha theory
The cornerstone of Smale's alpha theory is error bounding for Newton's method. Smale's 1986 work[1] introduced the quantity , a measurement on the distance to a true solution.
More precisely, let be a system of polynomials with variables , with the derivative operator, a Newton step. The quantities and can be computed and used to certify a candidate solution, since if then is an approximate solution for , meaning that the candidate is in the domain of quadratic convergence for Newton's method.[2]
Interval Newton
The fixed points of the Newton operator Newton's method for a square system of functions correspond to the roots of . In more generality, suppose that is a function whose fixed points correspond to the roots of . Interval Newton [citation needed], Krawczyk [citation needed], and related methods use such functions to establish the existence and uniqueness of roots within a region using topological methods:
- 1 If maps a region into itself, then by Brouwer fixed-point theorem, has at least one fixed point in , and, hence has at least one root in .
- 2 If is a contraction mapping in a region , then there is at most one root of in .
The basic form of Newton's method replaces the input in the iterator with an interval approximation. In other words
is contained within , where is the midpoint of and is an over-approximation to the set-image of the JacobianJacobian matrix and determinant of on .
Miranda test
A priori certification methods
- Interval arithmetic (Moore, Arb, Mezzarobba)
- Condition numbers (Beltran-Leykin)
Interval arithmetic
Interval arithmetic can be used to provide an a priori numerical certificate by computing intervals containing unique solutions.
Condition numbers
Numerical algebraic geometry solves polynomial systems using homotopy continuation and path tracking methods. By monitoring the condition number for a tracked homotopy at every step, and ensuring that no two solution paths ever intersect, one can compute a numerical certificate along with a solution. This scheme is called a priori path tracking.[3]
Non-certified numerical path tracking relies on heuristic methods for controlling time step size and precision.[4] In contrast, a priori certified path tracking goes beyond heuristics to provide step size control that guarantees that for every step along the path, the current point is within the domain of quadratic convergence for the current path.
See also
Category:Algebraic geometry Category:Nonlinear algebra
- ^ Smale, Steve (1986). "Newton's method estimates from data at one point". The merging of disciplines: new directions in pure, applied, and computational mathematics: 185–196.
- ^ Hauenstein, Jonathan; Sottile, Frank (2012). "Algorithm 921: alphaCertified: certifying solutions to polynomial systems". ACM Transactions on Mathematical Software (TOMS). 38 (4): 28. doi:10.1145/2331130.2331136.
- ^ Beltran, Carlos; Leykin, Anton (2012). "Certified numerical homotopy tracking". Experimental Mathematics. 21 (1): 69–83.
- ^ Bates, Daniel; Hauenstein, Jonathan; Sommese, Andrew; Wampler, Charles (2009). "Stepsize control for path tracking". Contemporary Mathematics. 496 (21).