# Numerical algebraic geometry

(Redirected from Homotopy continuation)

Numerical algebraic geometry is a field of computational mathematics, particularly computational algebraic geometry, which uses methods from numerical analysis to study and manipulate algebraic varieties on a computer.[1][2][3]

## Homotopy continuation

The primary computational method used in numerical algebraic geometry is homotopy continuation, in which a homotopy is formed between two polynomial systems, and the isolated solutions (points) of one are continued to the other. This is a specification of the more general method of numerical continuation.

Let ${\displaystyle z}$  represent the variables of the system. By abuse of notation, and to facilitate the spectrum of ambient spaces over which one can solve system, we do not use vector notation for ${\displaystyle z}$ . Similarly for the polynomial systems ${\displaystyle f}$  and ${\displaystyle g}$ .

Current canonical notation calls the start system ${\displaystyle g}$ , and the target system, i.e., the system to solve, ${\displaystyle f}$ .[4][5] A very common homotopy, the straight-line homotopy, between ${\displaystyle f}$  and ${\displaystyle g}$  is

${\displaystyle H(z,t)=(1-t)f(z)+tg(z).}$

In the above homotopy, one starts the path variable at ${\displaystyle t_{\text{start}}=1}$  and continues toward ${\displaystyle t_{\text{end}}=0}$ . Another common choice is to run from ${\displaystyle 0}$  to ${\displaystyle 1}$ . In principle, the choice is completely arbitrary. In practice, regarding endgame methods for computing singular solutions using homotopy continuation, the target time being ${\displaystyle 0}$  can significantly ease analysis, so this perspective is here taken.[citation needed]

Regardless of the choice of start and target times, the ${\displaystyle H}$  ought to be formulated such that ${\displaystyle H(z,t_{\text{start}})=g(z)}$ , and ${\displaystyle H(z,t_{\text{end}})=f(z)}$ .

One has a choice in ${\displaystyle g(z)}$ , including

• Roots of unity
• Total degree
• Polyhedral
• Multi-homogeneous

and beyond these, specific start systems that closely mirror the structure of ${\displaystyle f}$  may be formed for particular systems. The choice of start system impacts the computational time it takes to solve ${\displaystyle f}$ , in that those that are easy to formulate (such as total degree) tend to have higher numbers of paths to track, and those that take significant effort (such as the polyhedral method) are much sharper. There is currently no good way to predict which will lead to the quickest time to solve.[citation needed]

Actual continuation is typically done using predictor–corrector methods, with additional features as implemented. Predicting is done using a standard ODE predictor method, such as Runge–Kutta, and correction often uses Newton–Raphson iteration.

Because ${\displaystyle f}$  and ${\displaystyle g}$  are polynomial, homotopy continuation in this context is theoretically guaranteed to compute all solutions of ${\displaystyle f}$ , due to Bertini's theorem. However, this guarantee is not always achieved in practice, because of issues arising from limitations of the modern computer, most namely finite precision. That is, despite the strength of the probability-1 argument underlying this theory, without using a priori certified tracking methods, some paths may fail to track perfectly for various reasons.

## Witness set

A witness set ${\displaystyle W}$  is a data structure used to describe algebraic varieties. The witness set for an affine variety that is equidimensional consists of three pieces of information. The first piece of information is a system of equations ${\displaystyle F}$ . These equations define the algebraic variety ${\displaystyle {\mathbf {V} }(F)}$  that is being studied. The second piece of information is a linear space ${\displaystyle {\mathcal {L}}}$ . The dimension of ${\displaystyle {\mathcal {L}}}$  is the codimension of ${\displaystyle {\mathbf {V} }(F)}$ , and chosen to intersect ${\displaystyle {\mathbf {V} }(F)}$  transversely. The third piece of information is the list of points in the intersection ${\displaystyle {\mathcal {L}}\cap {\mathbf {V} }(F)}$ . This intersection has finitely many points and the number of points is the degree of the algebraic variety ${\displaystyle {\mathbf {V} }(F)}$ . Thus, witness sets encode the answer to the first two questions one asks about an algebraic variety: What is the dimension, and what is the degree? Witness sets also allow one to perform a numerical irreducible decomposition, component membership tests, and component sampling. This makes witness sets a good description of an algebraic variety.

## Certification

Solutions to polynomial systems computed using numerical algebraic geometric methods can be certified, meaning that the approximate solution is "correct". This can be achieved in several ways, either a priori using a certified tracker,[6][7] or a posteriori by showing that the point is, say, in the basin of convergence for Newton's method.[8]

## Software

Several software packages implement portions of the theoretical body of numerical algebraic geometry. These include, in alphabetic order:

• alphaCertified[8]
• Bertini [9]
• Hom4PS [10]
• HomotopyContinuation.jl [11]
• Macaulay2 (core implementation of homotopy tracking and NumericalAlgebraicGeometry[3] package)
• PHCPack[12]

## Theorem Star

Often researchers use results from both probabilistic symbolic computations and numerical computations to prove theorems. The notation Theorem Star is often used to indicate the reliance on such computations.

    Our methods include probabilistic symbolic computations and numerical computations. Though they have been carefully tested and produce completely reproducible results, they are technically only true with high probability, or up to the numerical precision of the computers we use. To indicate reliance on such computations, we designate those theorems, corollaries, and propositions with a star.[13]


## References

1. ^ Jonathan D. Hauenstein, Andrew J. Sommese, What is numerical algebraic geometry?, Journal of Symbolic Computation, Volume 79, Part 3, March–April 2017, pages 499–507
2. ^ Sommese, Andrew J.; Verschelde, Jan; Wampler, Charles W. "Introduction to Numerical Algebraic Geometry" (PDF).
3. ^ a b Leykin, Anton (2000-01-01). "Numerical algebraic geometry". Journal of Software for Algebra and Geometry. 3 (1): 5–10. doi:10.2140/jsag.2011.3.5. ISSN 1948-7916.
4. ^ Andrew J. Sommese, Charles W. Wampler, The Numerical Solution of Systems of Polynomials Arising in Engineering and Science, World Scientific, 2005
5. ^ Daniel J. Bates, Jonathan D. Hauenstein, Andrew J. Sommese, Charles W. Wampler, Numerically solving polynomial systems with Bertini, SIAM, 2013
6. ^ Beltrán, Carlos; Leykin, Anton (2012-03-01). "Certified Numerical Homotopy Tracking". Experimental Mathematics. 21 (1): 69–83. arXiv:0912.0920. doi:10.1080/10586458.2011.606184. ISSN 1058-6458.
7. ^ Beltrán, Carlos; Leykin, Anton (2013-02-01). "Robust Certified Numerical Homotopy Tracking". Foundations of Computational Mathematics. 13 (2): 253–295. arXiv:1105.5992. doi:10.1007/s10208-013-9143-2. ISSN 1615-3375.
8. ^ a b Hauenstein, Jonathan D., and Sottile, Frank. "Algorithm 921: alphaCertified: certifying solutions to polynomial systems." ACM Transactions on Mathematical Software (TOMS) 38.4 (2012): 28.
9. ^ Available at http://bertini.nd.edu
10. ^
11. ^ Available at https://www.JuliaHomotopyContinuation.org
12. ^ Verschelde, Jan. "PHCPACK: A general-purpose solver for polynomial systems by homotopy continuation." Preprint (1997).
13. ^ Oeding, Luke; Sam, Steven (2016). "Equations for the fifth secant variety of Segre products of projective spaces". Experimental Mathematics. 25 (1): 94–99. arXiv:1502.00203. doi:10.1080/10586458.2015.1037872.