Time complexity explained

In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by the algorithm, supposing that each elementary operation takes a fixed amount of time to perform. Thus, the amount of time taken and the number of elementary operations performed by the algorithm are taken to be related by a constant factor.

Since an algorithm's running time may vary among different inputs of the same size, one commonly considers the worst-case time complexity, which is the maximum amount of time required for inputs of a given size. Less common, and usually specified explicitly, is the average-case complexity, which is the average of the time taken on inputs of a given size (this makes sense because there are only a finite number of possible inputs of a given size). In both cases, the time complexity is generally expressed as a function of the size of the input. Since this function is generally difficult to compute exactly, and the running time for small inputs is usually not consequential, one commonly focuses on the behavior of the complexity when the input size increases—that is, the asymptotic behavior of the complexity. Therefore, the time complexity is commonly expressed using big O notation, typically etc., where is the size in units of bits needed to represent the input.

Algorithmic complexities are classified according to the type of function appearing in the big O notation. For example, an algorithm with time complexity

O(n)

is a linear time algorithm and an algorithm with time complexity

O(n\alpha)

for some constant

\alpha>0

is a polynomial time algorithm.

Table of common time complexities

The following table summarizes some classes of commonly encountered time complexities. In the table,, i.e., polynomial in x.

Name Time complexity Examples of running times Example algorithms
constant time

O(1)

10 Finding the median value in a sorted array of numbers. Calculating .
inverse Ackermann time

Ol(\alpha(n)r)

Amortized time per operation using a disjoint set
iterated logarithmic time

O(log*n)

Distributed coloring of cycles
log-logarithmic

O(loglogn)

Amortized time per operation using a bounded priority queue[1]
logarithmic time

O(logn)

logn

,

log(n2)

Binary search
polylogarithmic time

poly(logn)

(logn)2

fractional power

O(nc)

where

0<c<1

1
2
n
,
2
3
n
Range searching in a k-d tree
linear time

O(n)

,

2n+5

Finding the smallest or largest item in an unsorted array. Kadane's algorithm. Linear search.
"n log-star n" time

O(nlog*n)

Seidel's polygon triangulation algorithm.
linearithmic time

O(nlogn)

nlogn

,

logn!

Fastest possible comparison sort. Fast Fourier transform.
quasilinear time

npoly(logn)

nlog2n

Multipoint polynomial evaluation
quadratic time

O(n2)

n2

Bubble sort. Insertion sort. Direct convolution
cubic time

O(n3)

n3

Naive multiplication of two

n x n

matrices. Calculating partial correlation.
polynomial time

2O(log=poly(n)

n2+n

,

n10

Karmarkar's algorithm for linear programming. AKS primality test[2] [3]
quasi-polynomial time QP

2poly(log

nlog

,

nlog

Best-known -approximation algorithm for the directed Steiner tree problem, best known parity game solver,[4] best known graph isomorphism algorithm
sub-exponential time
(first definition)
SUBEXP
n\epsilon
O(2

)

for all

\epsilon>0

Contains BPP unless EXPTIME (see below) equals MA.
sub-exponential time
(second definition)

2o(n)

2\sqrt[3]{n

}
Best classical algorithm for integer factorizationformerly-best algorithm for graph isomorphism
exponential time
(with linear exponent)

2O(n)

1.1n

,

10n

Solving the traveling salesman problem using dynamic programming
factorial time

O(n)!=2O(n

n!,nn,2n

Solving the traveling salesman problem via brute-force search
exponential time

2poly(n)

2n

,
n2
2
Solving matrix chain multiplication via brute-force search
double exponential time
2poly(n)
2
2n
2
Deciding the truth of a given statement in Presburger arithmetic

Constant time

An algorithm is said to be constant time (also written as O(1) time) if the value of T(n) (the complexity of the algorithm) is bounded by a value that does not depend on the size of the input. For example, accessing any single element in an array takes constant time as only one operation has to be performed to locate it. In a similar manner, finding the minimal value in an array sorted in ascending order; it is the first element. However, finding the minimal value in an unordered array is not a constant time operation as scanning over each element in the array is needed in order to determine the minimal value. Hence it is a linear time operation, taking O(n) time. If the number of elements is known in advance and does not change, however, such an algorithm can still be said to run in constant time.

Despite the name "constant time", the running time does not have to be independent of the problem size, but an upper bound for the running time has to be independent of the problem size. For example, the task "exchange the values of and if necessary so that a \le b" is called constant time even though the time may depend on whether or not it is already true that a \le b. However, there is some constant such that the time required is always at most .

Logarithmic time

An algorithm is said to take logarithmic time when

T(n)=O(logn)

. Since

logan

and

logbn

are related by a constant multiplier, and such a multiplier is irrelevant to big O classification, the standard usage for logarithmic-time algorithms is

O(logn)

regardless of the base of the logarithm appearing in the expression of .

Algorithms taking logarithmic time are commonly found in operations on binary trees or when using binary search.

An

O(logn)

algorithm is considered highly efficient, as the ratio of the number of operations to the size of the input decreases and tends to zero when increases. An algorithm that must access all elements of its input cannot take logarithmic time, as the time taken for reading an input of size is of the order of .

An example of logarithmic time is given by dictionary search. Consider a dictionary which contains entries, sorted in alphabetical order. We suppose that, for

1\lek\len

, one may access the th entry of the dictionary in a constant time. Let

D(k)

denote this th entry. Under these hypotheses, the test to see if a word is in the dictionary may be done in logarithmic time: consider

D\left(\left\lfloor

n
2

\right\rfloor\right)

, where

\lfloor\rfloor

denotes the floor function. If

w=D\left(\left\lfloor

n
2

\right\rfloor\right)

--that is to say, the word is exactly in the middle of the dictionary--then we are done. Else, if

w<D\left(\left\lfloor

n
2

\right\rfloor\right)

--i.e., if the word comes earlier in alphabetical order than the middle word of the whole dictionary--we continue the search in the same way in the left (i.e. earlier) half of the dictionary, and then again repeatedly until the correct word is found. Otherwise, if it comes after the middle word, continue similarly with the right half of the dictionary. This algorithm is similar to the method often used to find an entry in a paper dictionary. As a result, the search space within the dictionary decreases as the algorithm gets closer to the target word.

Polylogarithmic time

An algorithm is said to run in polylogarithmic time if its time

T(n)

is

Ol((logn)kr)

for some constant . Another way to write this is

O(logkn)

.

For example, matrix chain ordering can be solved in polylogarithmic time on a parallel random-access machine,[5] and a graph can be determined to be planar in a fully dynamic way in

O(log3n)

time per insert/delete operation.[6]

Sub-linear time

An algorithm is said to run in sub-linear time (often spelled sublinear time) if

T(n)=o(n)

. In particular this includes algorithms with the time complexities defined above.

The specific term sublinear time algorithm commonly refers to randomized algorithms that sample a small fraction of their inputs and process them efficiently to approximately infer properties of the entire instance.[7] This type of sublinear time algorithm is closely related to property testing and statistics.

Other settings where algorithms can run in sublinear time include:

O(log(n))

time using a variant of binary search).  A closely related notion is that of Local Computation Algorithms (LCA) where the algorithm receives a large input and queries to local information about some valid large output.[8]

Linear time

An algorithm is said to take linear time, or

O(n)

time, if its time complexity is

O(n)

. Informally, this means that the running time increases at most linearly with the size of the input. More precisely, this means that there is a constant such that the running time is at most

cn

for every input of size . For example, a procedure that adds up all elements of a list requires time proportional to the length of the list, if the adding time is constant, or, at least, bounded by a constant.

Linear time is the best possible time complexity in situations where the algorithm has to sequentially read its entire input. Therefore, much research has been invested into discovering algorithms exhibiting linear time or, at least, nearly linear time. This research includes both software and hardware methods. There are several hardware technologies which exploit parallelism to provide this. An example is content-addressable memory. This concept of linear time is used in string matching algorithms such as the Boyer–Moore string-search algorithm and Ukkonen's algorithm.

Quasilinear time

An algorithm is said to run in quasilinear time (also referred to as log-linear time) if

T(n)=O(nlogkn)

for some positive constant ;[9] linearithmic time is the case

k=1

.[10] Using soft O notation these algorithms are

\tilde{O}(n)

. Quasilinear time algorithms are also

O(n1+\varepsilon)

for every constant

\varepsilon>0

and thus run faster than any polynomial time algorithm whose time bound includes a term

nc

for any

c>1

.

Algorithms which run in quasilinear time include:

O(nlog2n)

O(nlogn)

, in its randomized version, has a running time that is

O(nlogn)

in expectation on the worst-case input. Its non-randomized version has an

O(nlogn)

running time only when considering average case complexity.

O(nlogn)

, merge sort, introsort, binary tree sort, smoothsort, patience sorting, etc. in the worst case

O(nlogn)

O(nlogn)

In many cases, the

O(nlogn)

running time is simply the result of performing a

\Theta(logn)

operation times (for the notation, see). For example, binary tree sort creates a binary tree by inserting each element of the -sized array one by one. Since the insert operation on a self-balancing binary search tree takes

O(logn)

time, the entire algorithm takes

O(nlogn)

time.

Comparison sorts require at least

\Omega(nlogn)

comparisons in the worst case because

log(n!)=\Theta(nlogn)

, by Stirling's approximation. They also frequently arise from the recurrence relation T(n) = 2T\left(\frac\right)+O(n).

Sub-quadratic time

An algorithm is said to be subquadratic time if

T(n)=o(n2)

.

For example, simple, comparison-based sorting algorithms are quadratic (e.g. insertion sort), but more advanced algorithms can be found that are subquadratic (e.g. shell sort). No general-purpose sorts run in linear time, but the change from quadratic to sub-quadratic is of great practical importance.

Polynomial time

See main article: P (complexity). An algorithm is said to be of polynomial time if its running time is upper bounded by a polynomial expression in the size of the input for the algorithm, that is, for some positive constant k.[11] [12] Problems for which a deterministic polynomial-time algorithm exists belong to the complexity class P, which is central in the field of computational complexity theory. Cobham's thesis states that polynomial time is a synonym for "tractable", "feasible", "efficient", or "fast".[13]

Some examples of polynomial-time algorithms:

An2

operations for some constant A. Thus it runs in time

O(n2)

and is a polynomial-time algorithm.

These two concepts are only relevant if the inputs to the algorithms consist of integers.

Complexity classes

The concept of polynomial time leads to several complexity classes in computational complexity theory. Some important classes defined using polynomial time are the following.

P is the smallest time-complexity class on a deterministic machine which is robust in terms of machine model changes. (For example, a change from a single-tape Turing machine to a multi-tape machine can lead to a quadratic speedup, but any algorithm that runs in polynomial time under one model also does so on the other.) Any given abstract machine will have a complexity class corresponding to the problems which can be solved in polynomial time on that machine.

Superpolynomial time

An algorithm is defined to take superpolynomial time if T(n) is not bounded above by any polynomial. Using little omega notation, it is ω(nc) time for all constants c, where n is the input parameter, typically the number of bits in the input.

For example, an algorithm that runs for 2n steps on an input of size n requires superpolynomial time (more specifically, exponential time).

An algorithm that uses exponential resources is clearly superpolynomial, but some algorithms are only very weakly superpolynomial. For example, the Adleman–Pomerance–Rumely primality test runs for time on n-bit inputs; this grows faster than any polynomial for large enough n, but the input size must become impractically large before it cannot be dominated by a polynomial with small degree.

An algorithm that requires superpolynomial time lies outside the complexity class P. Cobham's thesis posits that these algorithms are impractical, and in many cases they are. Since the P versus NP problem is unresolved, it is unknown whether NP-complete problems require superpolynomial time.

Quasi-polynomial time

See main article: Quasi-polynomial time. Quasi-polynomial time algorithms are algorithms whose running time exhibits quasi-polynomial growth, a type of behavior that may be slower than polynomial time but yet is significantly faster than exponential time. The worst case running time of a quasi-polynomial time algorithm is

O(logcn)
2
for some fixed When

c=1

this gives polynomial time, and for

c<1

it gives sub-linear time.

There are some problems for which we know quasi-polynomial time algorithms, but no polynomial time algorithm is known. Such problems arise in approximation algorithms; a famous example is the directed Steiner tree problem, for which there is a quasi-polynomial time approximation algorithm achieving an approximation factor of

O(log3n)

(n being the number of vertices), but showing the existence of such a polynomial time algorithm is an open problem.

Other computational problems with quasi-polynomial time solutions but no known polynomial time solution include the planted clique problem in which the goal is to find a large clique in the union of a clique and a random graph. Although quasi-polynomially solvable, it has been conjectured that the planted clique problem has no polynomial time solution; this planted clique conjecture has been used as a computational hardness assumption to prove the difficulty of several other problems in computational game theory, property testing, and machine learning.[14]

The complexity class QP consists of all problems that have quasi-polynomial time algorithms. It can be defined in terms of DTIME as follows.

QP=cupcDTIME

logcn
\left(2

\right)

Relation to NP-complete problems

In complexity theory, the unsolved P versus NP problem asks if all problems in NP have polynomial-time algorithms. All the best-known algorithms for NP-complete problems like 3SAT etc. take exponential time. Indeed, it is conjectured for many natural NP-complete problems that they do not have sub-exponential time algorithms. Here "sub-exponential time" is taken to mean the second definition presented below. (On the other hand, many graph problems represented in the natural way by adjacency matrices are solvable in subexponential time simply because the size of the input is the square of the number of vertices.) This conjecture (for the k-SAT problem) is known as the exponential time hypothesis.[15] Since it is conjectured that NP-complete problems do not have quasi-polynomial time algorithms, some inapproximability results in the field of approximation algorithms make the assumption that NP-complete problems do not have quasi-polynomial time algorithms. For example, see the known inapproximability results for the set cover problem.

Sub-exponential time

The term sub-exponential time is used to express that the running time of some algorithm may grow faster than any polynomial but is still significantly smaller than an exponential. In this sense, problems that have sub-exponential time algorithms are somewhat more tractable than those that only have exponential algorithms. The precise definition of "sub-exponential" is not generally agreed upon,[16] however the two most widely used are below.

First definition

A problem is said to be sub-exponential time solvable if it can be solved in running times whose logarithms grow smaller than any given polynomial. More precisely, a problem is in sub-exponential time if for every there exists an algorithm which solves the problem in time O(2nε). The set of all such problems is the complexity class SUBEXP which can be defined in terms of DTIME as follows.[17] [18] [19]

SUBEXP=cap\varepsilon>0

n\varepsilon
DTIME\left(2

\right)

This notion of sub-exponential is non-uniform in terms of ε in the sense that ε is not part of the input and each ε may have its own algorithm for the problem.

Second definition

Some authors define sub-exponential time as running times in

2o(n)

.[20] [21] This definition allows larger running times than the first definition of sub-exponential time. An example of such a sub-exponential time algorithm is the best-known classical algorithm for integer factorization, the general number field sieve, which runs in time about where the length of the input is . Another example was the graph isomorphism problem, which the best known algorithm from 1982 to 2016 solved in However, at STOC 2016 a quasi-polynomial time algorithm was presented.[22]

It makes a difference whether the algorithm is allowed to be sub-exponential in the size of the instance, the number of vertices, or the number of edges. In parameterized complexity, this difference is made explicit by considering pairs

(L,k)

of decision problems and parameters k. SUBEPT is the class of all parameterized problems that run in time sub-exponential in k and polynomial in the input size n:[23]

SUBEPT=DTIME\left(2o(k)poly(n)\right).

More precisely, SUBEPT is the class of all parameterized problems

(L,k)

for which there is a computable function

f:\N\to\N

with

f\ino(k)

and an algorithm that decides L in time

2f(k)poly(n)

.

Exponential time hypothesis

See main article: Exponential time hypothesis.

The exponential time hypothesis (ETH) is that 3SAT, the satisfiability problem of Boolean formulas in conjunctive normal form with at most three literals per clause and with n variables, cannot be solved in time 2o(n). More precisely, the hypothesis is that there is some absolute constant such that 3SAT cannot be decided in time 2cn by any deterministic Turing machine. With m denoting the number of clauses, ETH is equivalent to the hypothesis that kSAT cannot be solved in time 2o(m) for any integer .[24] The exponential time hypothesis implies P ≠ NP.

Exponential time

An algorithm is said to be exponential time, if T(n) is upper bounded by 2poly(n), where poly(n) is some polynomial in n. More formally, an algorithm is exponential time if T(n) is bounded by O(2nk) for some constant k. Problems which admit exponential time algorithms on a deterministic Turing machine form the complexity class known as EXP.

EXP=

cup
c\in
R+
nc
DTIME\left(2

\right)

Sometimes, exponential time is used to refer to algorithms that have T(n) = 2O(n), where the exponent is at most a linear function of n. This gives rise to the complexity class E.

E=cupcDTIME\left(2cn\right)

Factorial time

An algorithm is said to be factorial time if T(n) is upper bounded by the factorial function n!. Factorial time is a subset of exponential time (EXP) because

n!\leqnn=2n=O

n1
\left(2

\right)

for all

\epsilon>0

. However, it is not a subset of E.

An example of an algorithm that runs in factorial time is bogosort, a notoriously inefficient sorting algorithm based on trial and error. Bogosort sorts a list of n items by repeatedly shuffling the list until it is found to be sorted. In the average case, each pass through the bogosort algorithm will examine one of the n! orderings of the n items. If the items are distinct, only one such ordering is sorted. Bogosort shares patrimony with the infinite monkey theorem.

Double exponential time

An algorithm is said to be double exponential time if T(n) is upper bounded by 22poly(n), where poly(n) is some polynomial in n. Such algorithms belong to the complexity class 2-EXPTIME.

2-EXPTIME=cupcDTIME\left(

nc
2
2

\right)

Well-known double exponential time algorithms include:

See also

Notes and References

  1. Kurt . Mehlhorn . Kurt Mehlhorn. Stefan . Naher. 1990. Bounded ordered dictionaries in time and space. Information Processing Letters. 10.1016/0020-0190(90)90022-P. 35. 4. 183–189.
  2. Book: Tao, Terence. An epsilon of room, II: Pages from year three of a mathematical blog. American Mathematical Society. 2010. 978-0-8218-5280-4. Graduate Studies in Mathematics. 117. Providence, RI. 82–86. 1.11 The AKS primality test. 10.1090/gsm/117. 2780010. Terence Tao. https://terrytao.wordpress.com/2009/08/11/the-aks-primality-test/.
  3. Lenstra . H. W. Jr. . Hendrik Lenstra . Pomerance . Carl . Carl Pomerance . 10.4171/JEMS/861 . 4 . . 3941463 . 1229–1269 . Primality testing with Gaussian periods . 21 . 2019. 21.11116/0000-0005-717D-0 . 127807021 .
  4. Book: Calude, Cristian S. and Jain, Sanjay and Khoussainov, Bakhadyr and Li, Wei and Stephan, Frank. Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing. Deciding parity games in quasipolynomial time. 2017. 9781450345286. Association for Computing Machinery. https://doi.org/10.1145/3055399.3055409. 10.1145/3055399.3055409 . 252–263. 2292/31757. 30338402.
  5. Bradford . Phillip G. . Rawlins . Gregory J. E. . Shannon . Gregory E. . 10.1137/S0097539794270698 . 2 . . 1616556 . 466–490 . Efficient matrix chain ordering in polylog time . 27 . 1998.
  6. Holm . Jacob . Rotenberg . Eva . Makarychev . Konstantin . Makarychev . Yury . Tulsiani . Madhur . Kamath . Gautam . Chuzhoy . Julia . Julia Chuzhoy . 1911.03449 . Fully-dynamic planarity testing in polylogarithmic time . 10.1145/3357713.3384249 . 167–180 . Association for Computing Machinery . Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020 . 2020. 978-1-4503-6979-4 .
  7. Kumar . Ravi . Rubinfeld . Ronitt . Ronitt Rubinfeld . Sublinear time algorithms . . 34 . 4 . 57–67 . 2003 . 10.1145/954092.954103. 65359 .
  8. Rubinfeld   . Ronitt   . Ronitt Rubinfeld . Local Computation Algorithms . 10.1145/3293611.3331587 . 3 . Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing (PODC) . 2019. 978-1-4503-6217-7   .
  9. Naik . Ashish V. . Regan . Kenneth W. . Sivakumar . D. . 10.1016/0304-3975(95)00031-Q . 2 . . 1355592 . 325–349 . On quasilinear-time complexity theory . 148 . 1995. free .
  10. Book: Sedgewick . Robert . Wayne . Kevin . 4th . 186 . Pearson Education . Algorithms . 2011.
  11. Book: Sipser, Michael . Michael Sipser . Introduction to the Theory of Computation . 2006 . Course Technology Inc . 0-619-21764-2 .
  12. Book: Papadimitriou, Christos H. . Christos H. Papadimitriou . Computational complexity . 1994 . Addison-Wesley . Reading, Mass. . 0-201-53082-1 .
  13. Book: Cobham, Alan . Alan Cobham (mathematician) . 1965 . The intrinsic computational difficulty of functions . Proc. Logic, Methodology, and Philosophy of Science II . North Holland.
  14. Braverman . Mark . Mark Braverman (mathematician) . Kun-Ko . Young . Rubinstein . Aviad . Weinstein . Omri . Klein . Philip N. . 1504.08352 . ETH hardness for densest--subgraph with perfect completeness . 10.1137/1.9781611974782.86 . 3627815 . 1326–1341 . Society for Industrial and Applied Mathematics . Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, Barcelona, Spain, Hotel Porta Fira, January 16-19 . 2017. 978-1-61197-478-2 .
  15. Impagliazzo . Russell . Russell Impagliazzo . Paturi . Ramamohan . 10.1006/jcss.2000.1727 . 2 . . 1820597 . 367–375 . On the complexity of -SAT . 62 . 2001. free .
  16. Web site: A not-quite-exponential dilemma . Aaronson, Scott . 5 April 2009 . Shtetl-Optimized . 2 December 2009.
  17. Babai . László . László Babai . Fortnow . Lance . Lance Fortnow . Nisan . N. . Noam Nisan . Wigderson . Avi . Avi Wigderson . BPP has subexponential time simulations unless EXPTIME has publishable proofs . . Berlin, New York . 1993 . Computational Complexity . 3 . 4 . 307–318 . 10.1007/BF01275486. 14802332 .
  18. Moser . P. . Baire's Categories on Small Complexity Classes . Springer-Verlag . Berlin, New York . 2003 . . Andrzej Lingas . Bengt J. Nilsson. Fundamentals of Computation Theory: 14th International Symposium, FCT 2003, Malmö, Sweden, August 12-15, 2003, Proceedings. 2751 . 0302-9743 . 333–342. 10.1007/978-3-540-45077-1_31 . 978-3-540-40543-6 .
  19. Miltersen . P.B. . Derandomizing Complexity Classes . Kluwer Academic Pub . 2001 . Handbook of Randomized Computing . 9 . 843. 10.1007/978-1-4615-0013-1_19 . Combinatorial Optimization . 18 March 2024 . 978-1-4613-4886-3 .
  20. Kuperberg . Greg . A Subexponential-Time Quantum Algorithm for the Dihedral Hidden Subgroup Problem . Philadelphia . 2005 . SIAM Journal on Computing . 1095-7111 . 35 . 1 . 188 . 10.1137/s0097539703436345. quant-ph/0302112 . 15965140 .
  21. quant-ph/0406151v1. Oded Regev. A Subexponential Time Algorithm for the Dihedral Hidden Subgroup Problem with Polynomial Space. 2004.
  22. Book: Grohe . Martin . Neuen . Daniel . Dabrowski . Konrad K. . Gadouleau . Maximilien . Georgiou . Nicholas . Johnson . Matthew . Mertzios . George B. . Paulusma . Daniël . 2011.01366 . Recent advances on the graph isomorphism problem . 978-1-009-01888-3 . 4273431 . 187–234 . Cambridge University Press . London Mathematical Society Lecture Note Series . Surveys in combinatorics 2021 . 470 . 2021.
  23. Book: Flum . Jörg . Grohe . Martin . Martin Grohe . Parameterized Complexity Theory . 2006 . Springer . 978-3-540-29952-3 . 417.
  24. R.. Impagliazzo. Russell Impagliazzo. R.. Paturi. F.. Zane. Which problems have strongly exponential complexity?. Journal of Computer and System Sciences. 63. 4. 2001. 512–530. 10.1006/jcss.2001.1774. free.
  25. Mayr . Ernst W. . Ernst Mayr (computer scientist) . Meyer . Albert R. . Albert R. Meyer . 10.1016/0001-8708(82)90048-2 . 3 . . 683204 . 305–329 . The complexity of the word problems for commutative semigroups and polynomial ideals . 46 . 1982. free .
  26. Davenport . James H. . James H. Davenport . Heintz . Joos. Joos Ulrich Heintz . 10.1016/S0747-7171(88)80004-X . 1–2 . . 949111 . 29–35 . Real quantifier elimination is doubly exponential . 5 . 1988. free .
  27. Collins . George E. . George E. Collins. Brakhage . H. . Quantifier elimination for real closed fields by cylindrical algebraic decomposition . 10.1007/3-540-07407-4_17 . 0403962 . 134–183 . Springer . Lecture Notes in Computer Science . Automata Theory and Formal Languages: 2nd GI Conference, Kaiserslautern, May 20–23, 1975 . 33 . 1975. free . 978-3-540-07407-6 .