Existential theory of the reals

From HandWiki
Revision as of 16:54, 6 February 2024 by Rtextdoc (talk | contribs) (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In mathematical logic, computational complexity theory, and computer science, the existential theory of the reals is the set of all true sentences of the form [math]\displaystyle{ \exists X_1 \cdots \exists X_n \, F(X_1,\dots, X_n), }[/math] where the variables [math]\displaystyle{ X_i }[/math] are interpreted as having real number values, and where [math]\displaystyle{ F(X_1,\dots X_n) }[/math] is a quantifier-free formula involving equalities and inequalities of real polynomials. A sentence of this form is true if it is possible to find values for all of the variables that, when substituted into formula [math]\displaystyle{ F }[/math], make it become true.[1]

The decision problem for the existential theory of the reals is the problem of finding an algorithm that decides, for each such sentence, whether it is true or false. Equivalently, it is the problem of testing whether a given semialgebraic set is non-empty.[1] This decision problem is NP-hard and lies in PSPACE,[2] giving it significantly lower complexity than Alfred Tarski's quantifier elimination procedure for deciding statements in the first-order theory of the reals without the restriction to existential quantifiers.[1] However, in practice, general methods for the first-order theory remain the preferred choice for solving these problems.[3]

The complexity class [math]\displaystyle{ \exists\mathbb{R} }[/math] has been defined to describe the class of computational problems that may be translated into equivalent sentences of this form. In structural complexity theory, it lies between NP and PSPACE. Many natural problems in geometric graph theory, especially problems of recognizing geometric intersection graphs and straightening the edges of graph drawings with crossings, belong to [math]\displaystyle{ \exists\mathbb{R} }[/math], and are complete for this class. Here, completeness means that there exists a translation in the reverse direction, from an arbitrary sentence over the reals into an equivalent instance of the given problem.[4]

Background

In mathematical logic, a theory is a formal language consisting of a set of sentences written using a fixed set of symbols. The first-order theory of real closed fields has the following symbols:[5]

  • the constants 0 and 1,
  • a countable collection of variables [math]\displaystyle{ X_i }[/math],
  • the addition, subtraction, multiplication, and (optionally) division operations,
  • symbols <, ≤, =, ≥, >, and ≠ for comparisons of real values,
  • the logical connectives ∧, ∨, ¬, and ⇔,
  • parentheses, and
  • the universal quantifier ∀ and the existential quantifier ∃

A sequence of these symbols forms a sentence that belongs to the first-order theory of the reals if it is grammatically well formed, all its variables are properly quantified, and (when interpreted as a mathematical statement about the real numbers) it is a true statement. As Tarski showed, this theory can be described by an axiom schema and a decision procedure that is complete and effective: for every fully quantified and grammatical sentence, either the sentence or its negation (but not both) can be derived from the axioms. The same theory describes every real closed field, not just the real numbers.[6] However, there are other number systems that are not accurately described by these axioms; in particular, the theory defined in the same way for integers instead of real numbers is undecidable, even for existential sentences (Diophantine equations) by Matiyasevich's theorem.[5][7]

The existential theory of the reals is the fragment of the first-order theory consisting of sentences in which all the quantifiers are existential and they appear before any of the other symbols. That is, it is the set of all true sentences of the form [math]\displaystyle{ \exists X_1 \cdots \exists X_n \, F(X_1,\dots, X_n), }[/math] where [math]\displaystyle{ F(X_1,\dots X_n) }[/math] is a quantifier-free formula involving equalities and inequalities of real polynomials. The decision problem for the existential theory of the reals is the algorithmic problem of testing whether a given sentence belongs to this theory; equivalently, for strings that pass the basic syntactical checks (they use the correct symbols with the correct syntax, and have no unquantified variables) it is the problem of testing whether the sentence is a true statement about the real numbers. The set of [math]\displaystyle{ n }[/math]-tuples of real numbers [math]\displaystyle{ (X_1,\dots X_n) }[/math] for which [math]\displaystyle{ F(X_1,\dots X_n) }[/math] is true is called a semialgebraic set, so the decision problem for the existential theory of the reals can equivalently be rephrased as testing whether a given semialgebraic set is nonempty.[1]

In determining the time complexity of algorithms for the decision problem for the existential theory of the reals, it is important to have a measure of the size of the input. The simplest measure of this type is the length of a sentence: that is, the number of symbols it contains.[5] However, in order to achieve a more precise analysis of the behavior of algorithms for this problem, it is convenient to break down the input size into several variables, separating out the number of variables to be quantified, the number of polynomials within the sentence, and the degree of these polynomials.[8]

Examples

The golden ratio [math]\displaystyle{ \varphi }[/math] may be defined as the root of the polynomial [math]\displaystyle{ x^2-x-1 }[/math]. This polynomial has two roots, only one of which (the golden ratio) is greater than one. Thus, the existence of the golden ratio may be expressed by the sentence [math]\displaystyle{ \exists X_1( X_1 \gt 1 \wedge X_1\times X_1 - X_1 - 1 = 0). }[/math] Because the golden ratio is not transcendental, this is a true sentence, and belongs to the existential theory of the reals. The answer to the decision problem for the existential theory of the reals, given this sentence as input, is the Boolean value true.

The inequality of arithmetic and geometric means states that, for every two non-negative numbers [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math], the following inequality holds: [math]\displaystyle{ \frac{x+y}{2} \ge \sqrt{xy}. }[/math] As stated above, it is a first-order sentence about the real numbers, but one with universal rather than existential quantifiers, and one that uses extra symbols for division, square roots, and the number 2 that are not allowed in the first-order theory of the reals. However, by squaring both sides it can be transformed into the following existential statement that can be interpreted as asking whether the inequality has any counterexamples:

[math]\displaystyle{ \exists X_1 \exists X_2 \bigl( X_1\ge 0\wedge X_2\ge 0\wedge (X_1+X_2)\times (X_1+X_2)\lt (X_1+X_1)\times (X_2+X_2)\bigr). }[/math]

The answer to the decision problem for the existential theory of the reals, given this sentence as input, is the Boolean value false: there are no counterexamples. Therefore, this sentence does not belong to the existential theory of the reals, despite being of the correct grammatical form.

Algorithms

Alfred Tarski's method of quantifier elimination (1948) showed the existential theory of the reals (and more generally the first order theory of the reals) to be algorithmically solvable, but without an elementary bound on its complexity.[9][6] The method of cylindrical algebraic decomposition, by George E. Collins (1975), improved the time dependence to doubly exponential,[9][10] of the form [math]\displaystyle{ L^3 (md)^{2^{O(n)}} }[/math] where [math]\displaystyle{ L }[/math] is the number of bits needed to represent the coefficients in the sentence whose value is to be determined, [math]\displaystyle{ m }[/math] is the number of polynomials in the sentence, [math]\displaystyle{ d }[/math] is their total degree, and [math]\displaystyle{ n }[/math] is the number of variables.[8] By 1988, Dima Grigoriev and Nicolai Vorobjov had shown the complexity to be exponential in a polynomial of [math]\displaystyle{ n }[/math],[8][11][12] [math]\displaystyle{ L(md)^{n^2} }[/math] and in a sequence of papers published in 1992 James Renegar improved this to a singly exponential dependence on [math]\displaystyle{ n }[/math],[8][13][14][15] [math]\displaystyle{ L\log L\log\log L(md)^{O(n)}. }[/math] In the meantime, in 1988, John Canny described another algorithm that also has exponential time dependence, but only polynomial space complexity; that is, he showed that the problem could be solved in PSPACE.[2][9]

The asymptotic computational complexity of these algorithms may be misleading, because in practice they can only be run on inputs of very small size. In a 1991 comparison, Hoon Hong estimated that Collins' doubly exponential procedure would be able to solve a problem whose size is described by setting all the above parameters to 2, in less than a second, whereas the algorithms of Grigoriev, Vorbjov, and Renegar would instead take more than a million years.[8] In 1993, Joos, Roy, and Solernó suggested that it should be possible to make small modifications to the exponential-time procedures to make them faster in practice than cylindrical algebraic decision, as well as faster in theory.[16] However, as of 2009, it was still the case that general methods for the first-order theory of the reals remained superior in practice to the singly exponential algorithms specialized to the existential theory of the reals.[3]

Complete problems

Several problems in computational complexity and geometric graph theory may be classified as complete for the existential theory of the reals. That is, every problem in the existential theory of the reals has a polynomial-time many-one reduction to an instance of one of these problems, and in turn these problems are reducible to the existential theory of the reals.[4][17]

A number of problems of this type concern the recognition of intersection graphs of a certain type. In these problems, the input is an undirected graph; the goal is to determine whether geometric shapes from a certain class of shapes can be associated with the vertices of the graph in such a way that two vertices are adjacent in the graph if and only if their associated shapes have a non-empty intersection. Problems of this type that are complete for the existential theory of the reals include recognition of intersection graphs of line segments in the plane,[4][18][5] recognition of unit disk graphs,[19] and recognition of intersection graphs of convex sets in the plane.[4]

For graphs drawn in the plane without crossings, Fáry's theorem states that one gets the same class of planar graphs regardless of whether the edges of the graph are drawn as straight line segments or as arbitrary curves. But this equivalence does not hold true for other types of drawing. For instance, although the crossing number of a graph (the minimum number of crossings in a drawing with arbitrarily curved edges) may be determined in NP, it is complete for the existential theory of the reals to determine whether there exists a drawing achieving a given bound on the rectilinear crossing number (the minimum number of pairs of edges that cross in any drawing with edges drawn as straight line segments in the plane).[4][20] It is also complete for the existential theory of the reals to test whether a given graph can be drawn in the plane with straight line edges and with a given set of edge pairs as its crossings, or equivalently, whether a curved drawing with crossings can be straightened in a way that preserves its crossings.[21]

Other complete problems for the existential theory of the reals include:

Based on this, the complexity class [math]\displaystyle{ \exists \mathbb{R} }[/math] has been defined as the set of problems having a polynomial-time many-one reduction to the existential theory of the reals.[4]

See also

References

  1. 1.0 1.1 1.2 1.3 Basu, Saugata; Pollack, Richard; Roy, Marie-Françoise (2006), "Existential theory of the reals", Algorithms in Real Algebraic Geometry, Algorithms and Computation in Mathematics, 10 (2nd ed.), Springer-Verlag, pp. 505–532, doi:10.1007/3-540-33099-2_14, ISBN 978-3-540-33098-1 .
  2. 2.0 2.1 "Some algebraic and geometric computations in PSPACE", Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing (STOC '88, Chicago, Illinois, USA), New York, NY, USA: ACM, 1988, pp. 460–467, doi:10.1145/62212.62257, ISBN 0-89791-264-0 
  3. 3.0 3.1 Passmore, Grant Olney; Jackson, Paul B. (2009), "Combined decision techniques for the existential theory of the reals", Intelligent Computer Mathematics: 16th Symposium, Calculemus 2009, 8th International Conference, MKM 2009, Held as Part of CICM 2009, Grand Bend, Canada, July 6-12, 2009, Proceedings, Part II, Lecture Notes in Computer Science, 5625, Springer-Verlag, pp. 122–137, doi:10.1007/978-3-642-02614-0_14, https://www.research.ed.ac.uk/portal/en/publications/combined-decision-techniques-for-the-existential-theory-of-the-reals(b2cc91c8-6b87-4146-bab6-a2021b3006b2).html .
  4. 4.0 4.1 4.2 4.3 4.4 4.5 4.6 Schaefer, Marcus (2010), "Complexity of some geometric and topological problems", Graph Drawing, 17th International Symposium, GD 2009, Chicago, IL, USA, September 2009, Revised Papers, Lecture Notes in Computer Science, 5849, Springer-Verlag, pp. 334–344, doi:10.1007/978-3-642-11805-0_32, http://ovid.cs.depaul.edu/documents/convex.pdf .
  5. 5.0 5.1 5.2 5.3 Matoušek, Jiří (2014), "Intersection graphs of segments and [math]\displaystyle{ \exists\mathbb{R} }[/math]", arXiv:1406.2636 [cs.CG]
  6. 6.0 6.1 A Decision Method for Elementary Algebra and Geometry, RAND Corporation, Santa Monica, Calif., 1948 .
  7. "Hilbert's tenth problem: Diophantine equations in the twentieth century", Mathematical events of the twentieth century, Berlin: Springer-Verlag, 2006, pp. 185–213, doi:10.1007/3-540-29462-7_10, Bibcode2006metc.book.....A .
  8. 8.0 8.1 8.2 8.3 8.4 Hong, Hoon (September 11, 1991), Comparison of Several Decision Algorithms for the Existential Theory of the Reals, Technical Report, 91-41, RISC Linz, ftp://crow.risc.uni-linz.ac.at/pub/techreports/1991/91-41.ps.gz  .
  9. 9.0 9.1 9.2 9.3 Schaefer, Marcus (2013), "Realizability of graphs and linkages", Thirty Essays on Geometric Graph Theory, Springer-Verlag, pp. 461–482, doi:10.1007/978-1-4614-0110-0_24 .
  10. "Quantifier elimination for real closed fields by cylindrical algebraic decomposition", Automata theory and formal languages (Second GI Conf., Kaiserslautern, 1975), Lecture Notes in Computer Science, 33, Berlin: Springer-Verlag, 1975, pp. 134–183 .
  11. "Complexity of deciding Tarski algebra", Journal of Symbolic Computation 5 (1–2): 65–108, 1988, doi:10.1016/S0747-7171(88)80006-3 .
  12. "Solving systems of polynomial inequalities in subexponential time", Journal of Symbolic Computation 5 (1–2): 37–64, 1988, doi:10.1016/S0747-7171(88)80005-1, https://hal.archives-ouvertes.fr/hal-03053133/file/grigoriev1_201205%5B1%5D.pdf .
  13. Renegar, James (1992), "On the computational complexity and geometry of the first-order theory of the reals. I. Introduction. Preliminaries. The geometry of semi-algebraic sets. The decision problem for the existential theory of the reals", Journal of Symbolic Computation 13 (3): 255–299, doi:10.1016/S0747-7171(10)80003-3 .
  14. Renegar, James (1992), "On the computational complexity and geometry of the first-order theory of the reals. II. The general decision problem. Preliminaries for quantifier elimination", Journal of Symbolic Computation 13 (3): 301–327, doi:10.1016/S0747-7171(10)80004-5 .
  15. Renegar, James (1992), "On the computational complexity and geometry of the first-order theory of the reals. III. Quantifier elimination", Journal of Symbolic Computation 13 (3): 329–352, doi:10.1016/S0747-7171(10)80005-7 .
  16. Heintz, Joos (1993), "On the theoretical and practical complexity of the existential theory of reals", The Computer Journal 36 (5): 427–431, doi:10.1093/comjnl/36.5.427 .
  17. 17.0 17.1 17.2 17.3 Cardinal, Jean (December 2015), "Computational geometry column 62", SIGACT News 46 (4): 69–78, doi:10.1145/2852040.2852053 .
  18. "Intersection graphs of segments", Journal of Combinatorial Theory, Series B 62 (2): 289–315, 1994, doi:10.1006/jctb.1994.1071 .
  19. Kang, Ross J.; Müller, Tobias (2011), "Sphere and dot product representations of graphs", Proceedings of the Twenty-Seventh Annual Symposium on Computational Geometry (SCG'11), June 13–15, 2011, Paris, France, pp. 308–314 .
  20. Bienstock, Daniel (1991), "Some provably hard crossing number problems", Discrete & Computational Geometry 6 (5): 443–459, doi:10.1007/BF02574701 .
  21. Kynčl, Jan (2011), "Simple realizability of complete abstract topological graphs in P", Discrete & Computational Geometry 45 (3): 383–399, doi:10.1007/s00454-010-9320-x .
  22. Abrahamsen, Mikkel; Adamaszek, Anna; Miltzow, Tillmann (2022), "The art gallery problem is [math]\displaystyle{ \exists\Bbb R }[/math]-complete", Journal of the ACM 69 (1): A4:1–A4:70, doi:10.1145/3486220 
  23. Abrahamsen, Mikkel; Kleist, Linda; Miltzow, Tillmann (2021), "Training neural networks is [math]\displaystyle{ \exists\R }[/math]-complete", in Ranzato, Marc'Aurelio; Beygelzimer, Alina; Dauphin, Yann N. et al., Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pp. 18293–18306, https://proceedings.neurips.cc/paper/2021/hash/9813b270ed0288e7c0388f0fd4ec68f5-Abstract.html 
  24. Abrahamsen, Mikkel; Miltzow, Tillmann; Seiferth, Nadja (2020), "Framework for [math]\displaystyle{ \exists\mathbb{R} }[/math]-completeness of two-dimensional packing problems", 61st IEEE Annual Symposium on Foundations of Computer Science, FOCS 2020, Durham, NC, USA, November 16-19, 2020, IEEE, pp. 1014–1021, doi:10.1109/FOCS46700.2020.00098 
  25. Mnëv, N. E. (1988), "The universality theorems on the classification problem of configuration varieties and convex polytopes varieties", Topology and geometry—Rohlin Seminar, Lecture Notes in Mathematics, 1346, Berlin: Springer-Verlag, pp. 527–543, doi:10.1007/BFb0082792 .
  26. "Stretchability of pseudolines is NP-hard", Applied Geometry and Discrete Mathematics, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, 4, Providence, RI: American Mathematical Society, 1991, pp. 531–554 .
  27. Herrmann, Christian; Ziegler, Martin (2016), "Computational Complexity of Quantum Satisfiability", Journal of the ACM, 63, doi:10.1145/2869073 .
  28. Benedikt, Michael; Lenhardt, Rastislav; Worrell, James (2013), "LTL Model Checking of Interval Markov Chains", Tools and Algorithms for the Construction and Analysis of Systems. TACAS 2013, Lecture Notes in Computer Science, 7795, pp. 32–46, doi:10.1007/978-3-642-36742-7_3 
  29. Oriented Matroids, Encyclopedia of Mathematics and its Applications, 46, Cambridge: Cambridge University Press, 1993, Corollary 9.5.10, p. 407, ISBN 0-521-41836-4 .
  30. Richter-Gebert, Jürgen (1995), "Realization spaces of 4-polytopes are universal", Bulletin of the American Mathematical Society, New Series 32 (4): 403–412, doi:10.1090/S0273-0979-1995-00604-X, Bibcode1995math.....10217R .
  31. Dobbins, Michael Gene; Holmsen, Andreas; Hubard, Alfredo (2017), "Realization spaces of arrangements of convex bodies", Discrete & Computational Geometry 58 (1): 1–29, doi:10.1007/s00454-017-9869-8 .
  32. Garg, Jugal; Mehta, Ruta (2015), "ETR-Completeness for Decision Versions of Multi-player (Symmetric) Nash Equilibria", Proc. 42nd International Colloquium on Automata, Languages, and Programming (ICALP), Lecture Notes in Computer Science, 9134, Springer, pp. 554–566, doi:10.1007/978-3-662-47672-7_45 .
  33. Bilo, Vittorio; Mavronicolas, Marios (2016), "A Catalog of ETR-Complete Decision Problems about Nash Equilibria in Multi-Player Games", Proceedings of 33rd International Symposium on Theoretical Aspects of Computer Science, LIPIcs, 47, Schloss Dagstuhl--Leibnitz Zentrum fuer Informatik, pp. 17:1–17:13, doi:10.4230/LIPIcs.STACS.2016.17, ISBN 978-3-95977-001-9 .
  34. Bilo, Vittorio; Mavronicolas, Marios (2017), "ETR-Complete Decision Problems about Symmetric Nash Equilibria in Symmetric Multi-Player Games", Proceedings of 34th International Symposium on Theoretical Aspects of Computer Science, LIPIcs, 66, Schloss Dagstuhl--Leibnitz Zentrum fuer Informatik, pp. 13:1–13:14, doi:10.4230/LIPIcs.STACS.2017.13, ISBN 978-3-95977-028-6, http://drops.dagstuhl.de/opus/volltexte/2017/7020 .
  35. Herrmann, Christian; Sokoli, Johanna; Ziegler, Martin (2013), "Satisfiability of cross product terms is complete for real nondeterministic polytime Blum-Shub-Smale machines", Proceedings of the 6th Conference on Machines, Computations and Universality (MCU'13), 128, doi:10.4204/EPTCS.128 .
  36. Hoffmann, Udo (2016), "The planar slope number", Proceedings of the 28th Canadian Conference on Computational Geometry (CCCG 2016) .
  37. Schaefer, Marcus (2021), "RAC-drawability is [math]\displaystyle{ \exists\mathbb{R} }[/math]-complete", Proceedings of the 29th International Symposium on Graph Drawing and Network Visualization (GD 2021) 
  38. Brijder, Robert; Geerts, Floris; Van den Bussche, Jan; Weerwag, Timmy (2019), "On the Expressive Power of Query Languages for Matrices.", ACM Transactions on Database Systems (ACM) 44 (4): 15:1–15:31, doi:10.1145/3331445, https://drops.dagstuhl.de/opus/volltexte/2018/8600/ .
  39. Bertsimas, Dimitris; Cory-Wright, Ryan; Pauphilet, Jean (2021). "Mixed-Projection Conic Optimization: A New Paradigm for Modeling Rank Constraints". Operations Research 70 (6): 3321–3344. doi:10.1287/opre.2021.2182. .