Computing over the Reals: Where Turing Meets Newton Lenore Blum
he classical (Turing) theory of computation been a powerful tool in classical complexity theory. has been extraordinarily successful in pro- But now, in addition, the transfer of complexity re- Tviding the foundations and framework for sults from one domain to another becomes a real theoretical computer science. Yet its dependence possibility. For example, we can ask: Suppose we on 0s and 1s is fundamentally inadequate for pro- can show P = NP over C (using all the mathemat- viding such a foundation for modern scientific ics that is natural here). Then, can we conclude that computation, in which most algorithms—with ori- P = NP over another field, such as the algebraic gins in Newton, Euler, Gauss, et al.—are real num- numbers, or even over Z2? (Answer: Yes and es- ber algorithms. sentially yes.) In 1989, Mike Shub, Steve Smale, and I introduced In this article, I discuss these results and indi- a theory of computation and complexity over an cate how basic notions from numerical analysis arbitrary ring or field R [BSS89]. If R is such as condition, round-off, and approximation are Z2 = ({0, 1}, +, ·), the classical computer science being introduced into complexity theory, bringing theory is recovered. If R is the field of real num- together ideas germinating from the real calculus bers R, Newton’s algorithm, the paradigm algo- of Newton and the discrete computation of com- rithm of numerical analysis, fits naturally into our puter science. The canonical reference for this ma- model of computation. terial is the book Complexity and Real Computation Complexity classes P, NP and the fundamental [BCSS98]. question “Does P = NP?” can be formulated natu- rally over an arbitrary ring R. The answer to the fun- Two Traditions of Computation damental question depends in general on the com- The two major traditions of the theory of compu- plexity of deciding feasibility of polynomial systems tation have, for the most part, run a parallel non- over R. When R is Z2, this becomes the classical sat- intersecting course. On the one hand, we have nu- isfiability problem of Cook–Levin [Cook71, Levin73]. merical analysis and scientific computation; on the When R is the field of complex numbers C, the an- other hand, we have the tradition of computation swer depends on the complexity of Hilbert’s Null- theory arising from logic and computer science. stellensatz. Fundamental to both traditions is the notion of The notion of reduction between problems (e.g., algorithm. Newton’s method is the paradigm ex- between traveling salesman and satisfiability) has ample of an algorithm cited most often in numerical analysis texts. The Turing machine is the Lenore Blum is Distinguished Career Professor of Computer underlying model of computation given in most Science at Carnegie Mellon University. Her email address computer science texts on algorithms. Yet Newton’s is [email protected]. This article is based on the AWM Noether Lecture given Supported in part by NSF grant # CCR-0122581. The au- by Lenore Blum at the Joint Mathematics Meetings in San thor is grateful to the Toyota Technological Institute at Diego, January 2001. Chicago for the gift of space-time to write this article.
1024 NOTICES OF THE AMS VOLUME 51, NUMBER 9 method is not discussed in these computer science texts, nor are Turing machines men- tioned in texts on numerical analysis. More fundamental differences arise with the distinct underlying spaces, the mathe- matics employed, and the problems tackled by each tradition. In numerical analysis and scientific computation, algorithms are gen- erally defined over the reals or complex num- bers, and the relevant mathematics is that of the continuum. On the other hand, 0s and 1s are the basic bits of the theory of computa- tion of computer science, and the mathe- matics employed is generally discrete. The problems of numerical analysts tend to come ∗ to be a decidable subset of Σ (e.g., as would be the from the classical tradition of equation solving case for the set of all diophantine polynomials em- and the calculus. Those of the computer scientist bedded in {0, 1}∗ via some natural coding). N.B. Σ∗ tend to have more recent combinatorial origins. The is countable. highly developed theory of computation and com- To complete the definition, many seemingly dif- plexity theory of computer science in general is un- ferent machines were proposed. What has been natural for analyzing problems arising in numeri- striking is that all gave rise to the exact same class cal analysis, yet no comparable formal theory has emanated from the latter. of “computable” functions. This gives rise to the One aim of our work is to reconcile the disso- belief, known as Church’s Thesis, that the com- nance between these two traditions, perhaps to putable functions form a natural class and any in- unify, but most important, to see how perspec- formal notion of procedure or algorithm can be re- tives and tools of each can inform the other. alized within any of the formal settings. We begin with some background and motivation, In 1970, Yuri Matijasevich answered Hilbert’s then we present our unifying model and main com- Tenth Problem in the negative by showing the as- plexity results, and, finally, we see Turing meet sociated characteristic function χS is not Turing Newton and fundamental links introduced. computable and hence, by Church’s Thesis, no procedure exists for deciding the solvability in in- Background tegers of diophantine equations. (Following the program mapped out earlier by Martin Davis, Hi- The motivation for logicians to develop a theory of computation in the 1930s had little to do with computers (think of it, aside from historical arti- facts, there were no computers around then). 0 or 1 1, R Rather, Gödel, Turing, et al. were groping with the A B question: “What does it mean for a problem or set 0 or 1 S (⊂ universe X) to be decidable?” For example, how 0, R can one make precise Hilbert’s Tenth Problem? Example. Hilbert’s Tenth Problem. Let X ={f ∈ Z[x1,...,xn] n>0} and S ={f ∈ X|∃ζ n 1010100000000 ∈ Z ,f(ζ1,...,ζn)=0} . Is S decidable? That is, can one decide by finite means, given a diophantine polynomial, whether or not it has an integer solu- The Turing Machine (with simple operations, tion? (Actually, Hilbert’s challenge was: Produce finite number of states, finite program, and such a decision procedure.) infinite tape) provides a mathematical The logicians’ subsequent formalization of the foundation for the classical Theory of notion of decidability has had profound conse- Computation (originated by logicians in the quences. 1930s and 40s) and Complexity Theory Definition. A set S(⊂ X) is decidable if its char- (originated by computer scientists in the 1960s acteristic function χS (with values 1 on S, 0 on and 70s). The program of this 2-state TM X − S) is computable (in finite time) by a machine. instructs the machine “if in state A with a 0 or 1 Such a 0-1 valued machine is called a decision in the current scanned cell, then print a 1, move procedure for S. On input x ∈ X it answers the R(ight) and go into state B; if in state B, print 0, question “Is x ∈ S?” with output 1 if YES and 0 if move R and go into state A.” That the long-term ∗ NO. Here X is Σ , the set of finite but unbounded behavior of this machine is discernible is not sequences over a finite set Σ. We will also allow X the norm. (TM picture, courtesy of Bryan Clair.)
OCTOBER 2004 NOTICES OF THE AMS 1025 ∈ Zn lary Putnam, and Julia Robinson, Matijasevich ζ 2 that provides, together with the computa- needed only to show the existence of a diophan- tion of f on argument ζ = (ζ1,...,ζn) producing tine relation of exponential growth [DavisMatija- value 0, a polynomial time verification. If f ∉ S, then sevicRobinson76].) no such witness will do. Since the initial startling results of the 1930s of The significance of the P = NP? question be- the undecidability of the true statements of arith- came clear when Dick Karp showed that the metic and the halting problem for Turing machines, tractability of each of twenty-one seemingly unre- logicians have focused attention on classifying lated problems was equivalent to the tractability problems as to their decidability or undecidability. of SAT [Karp72]. The number of such problems Considerable attention was placed on studying the known today is legion. hierarchy of the undecidable. Decidable problems, As did the earlier questions about decidability, particularly finite ones, held little interest. In the the P = NP? question has had profound conse- 1960s and 70s, computer scientists started to re- quence. The apparent dichotomy between the alize that not all such decidable problems were classes P and NP has been the underpinning of alike; indeed, some seemed to defy feasible solu- some of the most important applications of com- tion by machine. plexity theory, such as to cryptography and se- cure communication. Particularly appealing here is Example. The SATisfiability Problem (SAT). Here, the idea of using hard problems to our advantage. Thus the classical Turing tradition has yielded X ={f |f : Zn → Z } 2 2 a highly developed and rich (invariant) theory of is the set of Boolean functions and computation and complexity with essential appli- cations to computation—and deep interesting ques- S ={f ∈ X|∃ζ ∈ Zn,f(ζ ,...,ζ ) = 0} . 2 1 n tions. Why do we want a new model of computa- It is assumed X is embedded in {0, 1}∗ via some tion? natural encoding. Systematically testing all possi- ble 2n arguments for a given Boolean function f Motivation for Model clearly yields a decision procedure for S. This pro- Decidability over the Continuum: Is the cedure takes an exponential number of basic op- Mandelbrot Set Decidable? erations in the worst case. We do not know if SAT is tractable, i.e., if there is a polynomial time deci- Now we witnessed a certain extraordi- sion procedure for S. narily complicated-looking set, namely Definition. The decision problem (X,S) is in the Mandelbrot set. Although the rules which provide its definition are sur- class P if the characteristic function χS is polyno- 3 mial time computable, i.e., computable by a poly- prisingly simple, the set itself exhibits nomial time Turing machine. A polynomial time an endless variety of highly elaborate Turing machine is one that halts in c(size x)k Tur- structure. Could this be an example of ing operations for some fixed c,k ≥ 0 and all in- a non-recursive [i.e. undecidable] set, 4 puts x ∈ X. Here size x is the length of the se- truly exhibited before our mortal eyes? quence x, i.e., the bit length if Σ ={0, 1}. —Roger Penrose, The Emperor’s New Mind As was the case for computable functions, the [Penrose89]. polynomial time functions, the class P, and sub- Classically, decidability is defined only for count- sequently defined complexity classes, form natural able sets. The Mandelbrot set is uncountable. So the classes independent of machine.1 Thus again, com- Mandelbrot set is not decidable classically. But puter scientists have confidence they are working clearly this is not a satisfactory argument. So how with a very natural class of functions and feel jus- do we reasonably address Penrose’s question? tified employing their favorite model. From time to time, logicians and computer sci- In the early 1970s Steve Cook and Leonid Levin entists do look at problems over the reals or com- [Cook71, Levin73] independently formulated and plex numbers. One approach has been through “re- answered the question about the tractability of cursive analysis,” which has its origins in Turing’s = 2 SAT with another question: Does P NP? seminal 1936 paper [Turing36–37].5 In the first para- A decision problem (X,S) ∈ classNP if for each graph, Turing defines “a number [to be] computable x ∈ S there is a polynomial time verification of this fact. Later we will formalize the definition of 3 ∈ C NP, but meantime we note that SAT ∈ NP: If a The Mandelbrot set M is the set of all parameters c , ∈ such that the orbit of 0 under the quadratic map Boolean function f S, then there is a witness 2 pc (z) = z + c remains bounded. 1A main proviso is that integers are not coded in unary. 4Emphasis mine. 2I am rephrasing their result. The usual statement is: SAT 5Here Turing first defines automatic machines and shows is NP-complete. the undecidability of the halting problem.
1026 NOTICES OF THE AMS VOLUME 51, NUMBER 9 if its decimal can be written down by a machine.” feeling that the correct viewpoint has not yet been Turing later defines computable functions of com- arrived at.” putable real numbers.6 One can then imagine an or- The Mandelbrot example is perhaps too exotic acle Turing machine that, when fed a real number to draw generalizations. We turn now to a decision by oracle, decimal by decimal, outputs a real num- problem ubiquitous in mathematics. ber decimal by decimal. A refinement of this no- The Hilbert Nullstellensatz/R tion forms the basis of recursive analysis. Given a system of polynomial equations over a ring R, f1(x1,...,xn) = 0,...,fm(x1,...,xn) = 0 . Is n there ζ ∈ R , such that f1(ζ) = ...= fm(ζ) = 0? Oracle Turing Machines We call the corresponding decision problem over R, HNR. If R is Z2, Z, or the rational numbers 9 8 6 9 6 0 4T.M. 3 1 4 1 5 9 2 Q, HNR fits naturally into the Turing formalism (via bit coding of integers and rationals). The corre- sponding decision problem over Z2 is essentially Another tack taken by computer scientists is SAT (decidable but not known to be in P), over Z what might be called the “rational number model” it is Hilbert’s Tenth Problem (undecidable) and approach. The approach is not formalized, but its over Q it is not known to be decidable or unde- reasoning goes as follows: cidable. If R is the real field R or complex numbers C A. Machines are finite. , then HNR does not fit naturally into the Turing B. Finite approximations of reals are rationals. formalism. C. ∴ We are really looking at problems over the An even simpler example is the high school al- rationals. gorithm for deciding whether or not a real poly- 2 If we are totally naïve here, we quickly run into nomial ax + bx + c has a real root. We just check 2 trouble. The rational skeleton of the curve if the discriminant b − 4ac ≥ 0. We do not stipu- x3 + y 3 = 1 on the positive quadrant is hardly in- late that a, b, and c be rational or be fed to us bit formative.7 by bit—or question if we can tell whether or not a We have even more serious concerns when this real number equals 0. We just work with the basic approach is used in complexity theory. Computer arithmetic operations and comparisons of an or- scientists measure complexity as a function of dered ring or field. input word size (in bits). But small perturbations More generally, we have perfectly good algo- R C (of input) can cause large differences in word size. rithms for deciding HNR over and . Recall: For example, a small perturbation of an input 1 to Hilbert’s Nullstellensatz, HN [Hilbert1893] n 1 + 1/2 causes the word size to grow from 1 to Given f1(x1,...,xn),...,fm(x1,...,xn) ∈ C[x1,..., n + 1. Thus an algorithm that is polynomial time xn]. Then, f1 = ...= fm = 0 is not solvable over C according to the discrete model definition would 1=Σgifi, be allowed to take considerably more time on a per- (*) for some polynomials turbed input than on a given input. If the problem g ∈ C[x ,...,x ]. instance were well conditioned, this clearly would i 1 n not be acceptable. An issue here is that the Eu- This theorem provides a semidecision procedure clidean metric is very different from the bit met- for the complement of HNC : Given ric. Another is condition. f1,...,fm ∈ C[x1,...,xn], systematically search for ∗ Not paying attention to these issues has caused gi’s to solve ( ). If found, then f1 = ...= fm = 0 is both incompleteness in the analysis and confu- not solvable over C and so output 0. (The search sion in the comparison of different algorithms can be done by considering, for each successive D, over the reals. The comparison of competing al- general polynomials gi of degree D with indeter- gorithms for the Linear Programming Problem pro- minate coefficients. Checking if there exist coeffi- ∗ vides a case in point. We shall return to this example cients satisfying ( ) reduces to solving ∼ Dn linear again. equations over C.) Penrose explores similar scenarios for posing his However, if f1 = ...= fm = 0 is solvable, then question but in the end “... is left with the strong no such gi’s will ever be found. Fortunately, we have stopping rules. In 1926, Grete Hermann, a student of Emmy Noether, gave an effective upper bound 6Although Turing states in this paper that “a develop- n D (= d ↑ (2 ) where d = max(3, deg fi )) on the de- ment of the theory of functions of a real variable ex- grees of the gi ’s that one need consider [Her- pressed in terms of computable numbers” would be forth- mann26].8 If no solution is found for generic g ’s coming, I am not aware of any further such development i by him in this direction. 8By Brownawell and Kollar, we only need check the case 7By Fermat, the only rational points on the curve are (0, 1) D = dn, which by Masser and Philippon is optimal. (See and (1, 0). [Yger01] for discussion and [KPS01] for refinements.)
OCTOBER 2004 NOTICES OF THE AMS 1027 Input: (f, z, ε) of degree D, then none exists, and so we can out- f (z) Compute: z ← z − put 1. f ′(z) This decision procedure, using arithmetic oper- ations and comparisons on complex numbers, in- Branch: Stopping Rule spires us to take a different tack. Rather than forc- |f (z)|2 < ε |f (z)|2 ≥ ε ing artificial coding of problems into bits, we propose a model of computation that computes Output: z over a ring (or field), using basic algebraic opera- tions and comparisons on elements of the ring (or A “machine” for executing Newton’s method. field). Thus we have our first motivation for propos- ing a new model. than originally posed. We are thus motivated to fol- Algorithms of Numerical Analysis low this path for the P = NP? problem. Our next motivation comes directly from the tra- dition of numerical analysis. We start with the The Model: Machines over a Ring or Field R paper, “Rounding-off errors in matrix processes” [BSS89] in the Quarterly Journal of Mechanics and Applied We suppose R is a commutative ring or field (pos- Mathematics, vol. I, 1948, pp. 287–308 [Turing48]. sibly ordered) with unit. A machine M over R has Written by Alan Turing while he was preoccupied the following properties: with solving large systems of equations, this paper Associated with M is an input space and an out- is quite well known to numerical analysts but al- put space, both R∞ (the disjoint union of Rn, n ≥ 0). most unknown by logicians and computer scien- At the top level, our machine M is similar to a Tur- tists. Its implicit model of computation is more ing machine. M has a 2-way infinite tape divided closely related to the former than the latter. into cells and a read-write head that can view a fixed
In the first section of his paper, Turing consid- number kM of contiguous cells at a time. ers the “measures of work in a process”: Internal to M is its program, a finite directed graph with 5 types of nodes, each with associated It is convenient to have a measure of the operations and next node maps: amount of work involved in a comput- ing process, even though it be a very • The operation gι associated with the input node = crude one.... We might, for instance, ι takes elements x (x1,...,xk) from the input ∞ = count the number of additions, subtrac- space R and puts each xi (i 1,...,k) in suc- tions, multiplications, divisions, record- cessive tape cells, starting with the leftmost one ings of numbers...9 in M’s view. There is a unique next node ι = ι. • Each computation node η has a built-in polyno- From this point of view, it is again natural to start n m mial or rational map gη : R → R with with a model of computation in which real num- 10 n, m ≤ kM . Given elements x1,...,xn in the bers are viewed as entities, and algebraic operations first n cells of M’s view, the associated opera- and comparisons, as well as simple accessing, are j tion, also called gη, puts gη(x1,...,xn) in the jth each counted as a unit of work. We will return cell in M’s view (j = 1,...,m). There is a unique again to this paper to motivate refinements of next node η. these initial “measures of work.” • For each branch node η, the associated opera- We also want a model of computation that is tion is the identity. There are two possible next more natural for describing algorithms of numer- nodes ηL and ηR depending on the leftmost el- ical analysis, such as Newton’s method for finding ement x1 in M’s view. If x1 = 0 (≥ 0, if R is or- zeros of polynomials. Here, given a polynomial dered), then η = ηR . If x1 = 0 (x1 < 0), then R C f (z) over or , the basic operation is the New- η = η . = − L ton map, Nf (z) z f (z)/f (z), which is iterated • For each shift node σ, the associated map is the until the current value satisfies some proscribed identity and there is a unique next node σ . stopping rule. Translating to bit operations would Right shift nodes σR shift M’s view one cell to wipe out the natural structure of this algorithm. the right, left shift nodes σL shift one cell to the left. Does P = NP? • The operation gN associated with the output In order to gain new perspective and access addi- node N outputs (by projection) the contents of ∞ tional tools, mathematicians often find it prof- the tape into R . N has no next node. itable to view problems in a broader framework 10Machines over R can thus have a finite number of built- 9Emphasis mine. in constants from R.
1028 NOTICES OF THE AMS VOLUME 51, NUMBER 9 ∞ ∆ n ∗ Input Space R = ∪ R = R {finite (unbounded)} ∞ n ≥ 0 sequences over R Input Space R ↓ Input ↓ I
State Space R∞ State Space R∞ x x x x x + . . .0 x x x x x + . . . 0 ...... 000 1 2 kM kM 1 . . . . . 0 1 2 kM kM 1 x ε R Input i Node ↓ The Computation program Node Shift (R,L) for M x←g (x) Nodes n ←σ is a finite x (x) directed Branch graph. Node x ≠ 0 x = 0 ≥ (< 0) 1 1 ( 0) Output Node N ↓Output ↓O ∞ ∆ ∗ ∞ Output Space R = ∪ Rn= R Output Space R n ≥ 0
A machine over a ring or field R , top-level and internal views.
The computable functions over R are the input- bounds, is easily converted to a decision machine output maps φM of machines M over R. Thus, for over C, and so HNC is decidable over C. Similarly, ∞ x ∈ R , φM (x) is defined if the output node N is HNR is decidable over R (by Seidenberg’s elimina- reachable by following M’s program on input x. If tion theory [Seid54]). ∞ so, φM (x) is the output y ∈ R . We can also now formally state, and answer, Although the machine’s view at any time is fi- Penrose’s question about the Mandelbrot set M. 2 nite, the shift nodes enable the machine to read and Here X is R and Xyes is M. (In order to allow al- operate on inputs from Rn for all n, and thus we gorithms that compare magnitudes, we are view- can model algorithms that are defined uniformly ing C as R2.) for inputs of any dimension. Noting this, we can Theorem [BlumSmale93]. The Mandelbrot set M also construct universal (programmable) machines is undecidable over R. over R. (We do not use Gödel coding. The machine The proof uses the fact that the boundary of a program itself is (essentially) its own code.) closed semidecidable set in R2 has Hausdorff di- If R is Z2, we recover the classical theory of mension at most 1, whereas the Hausdorff di- computation (and complexity, as we shall see). We mension of the boundary of the Mandelbrot set is also note that Newton’s method is naturally im- 2 [Shishikura91]. plemented by a machine over R. It turns out that the complement of the Man- Let’s return now to questions of decidability delbrot set M is semidecidable over R. To see this, over R and C, which were so problematic before. a little arithmetic shows that M ={c ∈ C such that the sequence c,c2 + c,(c2 + c)2 + c,... stays within Definition. A problem over R is a pair, (X,Xyes), ∞ the circle of radius 2}. Hence, if at some point the where Xyes ⊆ X ⊆ R . X consists of the problem in- orbit of 0 under the map z2 + c escapes the circle stances, Xyes, the yes-instances. of radius 2, we can be certain that c is in the com- For HNR, plement of M. One can use this fact to “draw” the X = {f =(f1,...,fm)|fi ∈ R[x1,...,xn]},m,n>0 and Mandelbrot set. { ∈ |∃ ∈ n } Xyes = f X ζ R ,fi (ζ1,...,ζn)=0,i =1,...,m . Complexity Classes and Theory over a Finite polynomial systems over R can be coded Ring R ∞ as elements of R (by systematically listing coef- Following the classical tradition, we measure time ∞ ficients); thus X can be viewed as a subspace of R . (or cost) as a function of input word size. Suppose ∞ Definition. A problem over R, (X,Xyes), is de- x ∈ R . We define size(x) to be the vector length n cidable if the characteristic function of Xyes in X is of x, thus size(x) = n if x ∈ R . For machine M computable over R. over R and input x, we define TM (x) to be the num- Thus, in this framework, we can state problems ber of nodes traversed from input to output when over R and C (or any ring or field) and ask questions M is input x. TM is our measure of time or cost. So, of decidability. The algorithm presented earlier, if R = Z2 size(x) is the bit size of x, and TM (x) is based on Hilbert’s Nullstellensatz with effective the bit cost of the computation.
OCTOBER 2004 NOTICES OF THE AMS 1029 (Y,Yyes) ∈ PR over R . Also, given f ∈ X, f = (f1,...,fm),fi ∈ R[x1,...,xn],f∈ Xyes n ∃ζ ∈ R such that fi (ζ1,...,ζn) = 0, i = 1,...,m, that is, (f,ζ) ∈ Yyes. We note that there is an exponential time deci-
sion machine for HN over Z2, but as mentioned ear- lier, we do not know if HN ∈ P. On the other hand, since HNZ is not decidable (over Z), it certainly is not in PZ, thus PZ = NPZ .
Main Complexity Results We recall that Theorem [Cook71, Levin73]. P = NP SAT ∈ P and ≥ N 0, a large integer Fix Theorem [Karp72]. Input: R ≥ 2, a real number P = NP TSP12∈ P⇔ X ∈ P, c ∈C (Input) = ← where X Hamilton Circuit or any of nineteen Initialize: z ← 0 other problems. ← n 0 We prove ← ← Theorem Compute: z pc(z) [BSS89]. n ← n+1 PR = NPR HNR ∈ PR for R = Z2, R, C,
Branch: ← |z| ≤ R or for any field R, unordered or ordered. |z| > R To prove this theorem, we show that given any BRANCH problem (X,X ) ∈ NP and instance x ∈ X, we n ≥ N n < N yes R ← can code x (in polynomial time) as a polynomial sys- WHITE Output: n 0 BLACK (n=Escape tem fx over R such that x ∈ Xyes ⇐⇒ fx has a zero Time) over R. In other words, we give a polynomial time Machine to “draw” the Mandelbrot set M reduction from any problem in class NPR into HNR . n This is done by writing down the equations for the (Fact: M = {c ∈ C| | pc (0)| ≥ 2, all n > 0} where 2 pc (z)=z + c) computing endomorphism of an NPR machine. So, HNR is a universal NP-complete problem. ∈ Definition. (X,Xyes) PR (class P over R) if there We know that HNR ∈ EXPR for R = R and C. That exists a decision machine M and a polynomial is, there are exponential time algorithms for de- ∈ Z ∈ p [x] such that for each x X , TM (x) ciding the solvability of polynomial systems over