Proofs: Homotopy continuation
These are the human proofs of Homotopy continuation, at full length.
Correctness of homotopy continuation full
This proof shows: correctness, termination, convergence-rate.
This page proves the probability one statement in full for a single polynomial, proves termination of the tracker, and states the local rates. The statement for systems and the guarantee against path jumping are cited.
Setting
Let be monic of degree , which is what the reference code produces after dividing by and scaling . Let and, for with ,
Lemma 1 (finitely many bad directions)
There is a finite set of angles such that, if , then for every the polynomial has degree exactly and distinct roots.
Proof. For put . Then , so and have the same roots. Write , so that .
The leading coefficient of is , so it vanishes only at , which means . For this requires , which is one bad angle.
For , let be the discriminant of . Its coefficients are rational functions of , so is a rational function of , and because has distinct roots. So is not identically zero and has finitely many zeros . A multiple root occurs at some only if for some . Since gives , this means and modulo . So is finite.
Theorem 1 (the paths)
If , there are continuous functions on , analytic in , with , such that for each the values are the distinct roots of . As , the paths converge, and the multiset of limits is the multiset of roots of . So a root of multiplicity is the limit of exactly paths.
Proof. At a simple root, , so by the implicit function theorem each root continues analytically in , and the continuations stay distinct by Lemma 1. Since is connected and the roots never collide or escape to infinity (the degree stays ), the continuations are defined on all of . For the limit, the coefficients of are continuous in on , and the leading coefficient does not vanish on for . The roots of a monic polynomial depend continuously on its coefficients as a multiset, for example by Rouché's theorem on small circles around each root of . So for near 1, exactly of the lie in a small disc around a root of multiplicity , and each path has a limit.
Since is finite, a with uniform on avoids it with probability one. This is the gamma trick.
Systems (cited)
For a square system with , and outside a finite set of angles, the statement of Sommese and Wampler is as follows. The solution paths are smooth and disjoint on . Every isolated solution of of multiplicity is the limit of exactly paths. The remaining paths diverge to infinity or converge to positive-dimensional solution sets. The proof follows the same pattern as Lemma 1: the bad parameter values form a proper algebraic subset of , which a real ray from 0 misses for all but finitely many directions. The new ingredient is that the start system has no solutions at infinity, which bounds the paths in projective space. We cite it and do not prove it.
Termination of TRACK
Each pass of the loop L2 either accepts a step, which increases by , or halves . In the first case the step count increases by one. In the second it also increases, and the return at L7 fires once . Line L9 returns after passes, so TRACK makes at most passes. When would exceed 1, line L3 sets , and the code sets to exactly 1 in that case, so the loop condition at L2 becomes false. The refinement of the end point is a Newton iteration with an iteration cap, so it terminates as well.
Local rates
Along a nonsingular path, is analytic and solves . The classical Runge-Kutta method has local error on such an equation, which the tests check: the ratio of the errors for and is about 32. Newton's method on converges quadratically from a predicted point close enough to the path, by the standard Newton theorem (Kantorovich), with a basin whose radius is proportional to . Near a root of multiplicity , grows without bound as . The basin shrinks, the step size collapses, and the reference code reports "singular-end". The end point is then accurate to about in the observed runs.
What is not proved
The step control of L5 to L7 is a heuristic. A small first correction and fast contraction make path jumping unlikely, but they do not exclude it, and on very ill conditioned problems the observed failures are real. Certified path tracking, which chooses steps by Smale's alpha theory or by interval enclosures, removes this gap and is cited on the page.