Fact-checked by Grok 2 weeks ago

Semialgebraic set

A semialgebraic set in \mathbb{R}^n is a subset defined as a finite of sets of the form \{x \in \mathbb{R}^n \mid f_i(x) = 0 \ (i \in I), \, g_j(x) > 0 \ (j \in J)\}, where the f_i and g_j are s with real coefficients and I, J are finite sets. Equivalently, semialgebraic sets are the subsets of \mathbb{R}^n obtained by finite combinations (s, intersections, and complements) of sets defined by equalities P(x) = 0 or strict inequalities P(x) > 0, where P has real coefficients; this class is the smallest containing the basic sets \{x \in \mathbb{R}^n \mid P(x) = 0\} and \{x \in \mathbb{R}^n \mid P(x) > 0\} and closed under finite s, intersections, and complements. Semialgebraic sets form a fundamental class in , encompassing algebraic varieties (defined by equalities alone) as well as more general regions delimited by inequalities, such as polyhedra or spectrahedra in optimization. They are stable under key operations: the projection of a semialgebraic set onto a coordinate is semialgebraic (by the Tarski-Seidenberg , also known as for real closed fields), and they are closed under images and inverse images under maps. Every semialgebraic set admits a cell decomposition into finitely many cells, each semialgebraically homeomorphic to an open cube (0,1)^d for some d, implying that semialgebraic sets have finitely many connected components and a well-defined dimension as the maximum d over such decompositions. These properties underpin algorithmic developments in , enabling effective computation of topological invariants like Betti numbers and roadmaps (curves meeting every ) for semialgebraic sets defined by polynomials of degree at most d and involving s polynomials in \mathbb{R}^n, with complexities bounded singly exponentially in the input size. Semialgebraic sets also play a central role in o-minimal structures, where they tame the complexity of definable sets in analysis and geometry, facilitating applications in , , and over the reals.

Definition and Examples

Formal Definition

A semialgebraic set is a subset of \mathbb{R}^n for some nonnegative integer n, generated by polynomial conditions with real coefficients. Specifically, the class of semialgebraic sets in \mathbb{R}^n is the smallest family of subsets closed under finite unions, finite intersections, and complements, and containing all sets of the form \{x \in \mathbb{R}^n \mid P(x) = 0\} and \{x \in \mathbb{R}^n \mid P(x) > 0\}, where P \in \mathbb{R}[x_1, \dots, x_n]. A basic semialgebraic set is defined as a finite of sets specified by equalities and inequalities: \{x \in \mathbb{R}^n \mid f_1(x) = 0, \dots, f_s(x) = 0, \, g_1(x) > 0, \dots, g_t(x) > 0 \}, or variants using non-strict inequalities g_j(x) \geq 0, where each f_i, g_j is a with real coefficients in n variables. Equivalently, a basic semialgebraic set can be expressed using sign conditions on polynomials, such as \operatorname{sgn}(f_{i,j}(x)) = s_{i,j} for signs s_{i,j} \in \{-1, 0, 1\}. In general, a semialgebraic set is a finite union of basic semialgebraic sets, or more broadly, the set of points in \mathbb{R}^n satisfying a quantifier-free first-order formula over the reals involving polynomials: S = \{ x \in \mathbb{R}^n \mid \phi(x_1, \dots, x_n) = \mathrm{True} \}, where \phi is built from atoms P_i(x) = 0 and Q_j(x) \geq 0 (or > 0) using Boolean connectives \land, \lor, \lnot. This generative structure via Boolean combinations of zero sets \{P_i = 0\} and positive sets \{Q_j > 0\} underscores their role in real algebraic geometry. Distinctions among semialgebraic sets include open variants, defined solely by strict polynomial inequalities g_j(x) > 0; closed variants, incorporating equalities f_i(x) = 0 and non-strict inequalities g_j(x) \geq 0; and basic sets as intersections without unions or complements. These forms highlight the topological flexibility within the semialgebraic framework.

Basic Examples

A basic semialgebraic set in \mathbb{R}^2 is the closed unit disk \{(x,y) \in \mathbb{R}^2 \mid x^2 + y^2 \leq 1\}, defined by the single polynomial inequality x^2 + y^2 - 1 \leq 0. This set is closed and bounded, with a single . Another example is the \{(x,y) \in \mathbb{R}^2 \mid xy > 0\}, which consists of the two opposite quadrants where x and y have the same sign; this is the of the basic open sets \{x > 0, y > 0\} and \{x < 0, y < 0\}. It has two connected components, corresponding to the branches of the hyperbola xy = 0. To illustrate more complex Boolean combinations aligned with the formal definition of semialgebraic sets, consider the set in \mathbb{R}^2 defined implicitly by the existence of a nonnegative z satisfying z^2 = x^2 + y^2 - 1 and z \geq 0; this is the closed exterior of the unit disk \{(x,y) \in \mathbb{R}^2 \mid x^2 + y^2 \geq 1\}, which is semialgebraic (as confirmed by projection theorems discussed later) and has one connected component. In contrast, the set of rational numbers \mathbb{Q} \subset \mathbb{R} is not semialgebraic, as semialgebraic subsets of \mathbb{R} are finite unions of points and open intervals, leading to finitely many connected components, whereas \mathbb{Q} has infinitely many.

Fundamental Properties

Topological Properties

Semialgebraic sets in Euclidean space possess a tame topology, characterized by several fundamental properties that distinguish them from more general subsets. A central feature is the finiteness of their connected components: every semialgebraic set has finitely many connected components, and each such component is itself a semialgebraic set. Moreover, semialgebraic sets are locally connected, meaning that every point has a local basis of connected neighborhoods, and each connected component is path-connected via continuous paths lying within the set. The closure of any semialgebraic set is semialgebraic, as is its interior, preserving the class under these standard topological operations. Semialgebraic sets are also locally compact, with every point admitting a compact neighborhood within the set, and they are Borel measurable, belonging to the Borel σ-algebra generated by the open sets in \mathbb{R}^n. The family of closed semialgebraic subsets of \mathbb{R}^n induces a Noetherian topology on \mathbb{R}^n, in which there are no infinite strictly descending chains of closed sets; this follows from the finite complexity of semialgebraic decompositions. For illustration, consider the semialgebraic set S = \{x \in \mathbb{R} \mid x^2 < 1\} \cup \{x \in \mathbb{R} \mid x > 2\}. This set consists of two connected components: the open interval (-1, 1) and the (2, \infty), demonstrating the finiteness property in one , where semialgebraic sets are finite unions of points and intervals.

Geometric Properties

Semialgebraic sets possess a well-defined that captures their geometric complexity, analogous to the in . The of a semialgebraic set S \subset \mathbb{R}^n is defined as the maximum k such that S contains a k-dimensional semialgebraic in some of S, where the of a is the of the it is homeomorphic to. This definition aligns with the of the associated ideal in the for algebraic subsets, ensuring that the of an algebraic set viewed as a semialgebraic set coincides with its classical algebraic . More formally, \dim(S) = \max \{ k \mid \text{there exists a } k\text{-dimensional semialgebraic [cell](/page/Cell) in a [decomposition](/page/Decomposition) of } S \}. A key geometric feature is that every semialgebraic set admits a finite , partitioning it into finitely many semialgebraic strata (s) of varying s, where each is a smooth Nash manifold homeomorphic to an open ball (0,1)^k in \mathbb{R}^k or a point (for k=0). This satisfies the conditions (a) and (b), ensuring local triviality and regularity of the tangent spaces across strata boundaries. The s form a cellular , with the of each higher-dimensional being a of s of equal or lower , providing a controlled way to understand the set's structure. Compact semialgebraic sets further admit a semialgebraic triangulation, where the set is homeomorphic via a semialgebraic map to a simplicial complex, with the images of the open simplices forming part of the Whitney stratification. This triangulation preserves the dimension, as the highest-dimensional simplices correspond to the maximal cells in the decomposition. The dimension of a semialgebraic set S equals the dimension of its Zariski closure \overline{S}_Z, an algebraic set whose dimension coincides with the algebraic (Krull) dimension.

Key Theorems

Tarski-Seidenberg Theorem

The Tarski-Seidenberg theorem states that the image of a semialgebraic set under a polynomial map is semialgebraic. More precisely, if S \subset \mathbb{R}^{n+m} is semialgebraic and \pi: \mathbb{R}^{n+m} \to \mathbb{R}^n is the linear projection onto the first n coordinates, given by \pi(x,y) = x where x \in \mathbb{R}^n and y \in \mathbb{R}^m, then \pi(S) = \{ x \in \mathbb{R}^n \mid \exists y \in \mathbb{R}^m \text{ such that } (x,y) \in S \} is semialgebraic. This result extends to images under arbitrary polynomial maps f: \mathbb{R}^{n+m} \to \mathbb{R}^n, where f(S) remains semialgebraic. The theorem was originally proved by in the 1930s during his investigations into the decidability of the first-order theory of real closed fields, with the full exposition appearing in his 1951 monograph. An alternative, purely algebraic proof was provided by Abraham Seidenberg in 1954, avoiding some of the logical machinery in Tarski's approach while confirming the same structural preservation. A key implication is that the class of semialgebraic sets is closed under projections, images, and preimages with respect to maps; for instance, the preimage f^{-1}(S) for a f: \mathbb{R}^n \to \mathbb{R}^k and semialgebraic S \subset \mathbb{R}^k can be expressed using existential quantifiers over the defining polynomials, reducing to a projection that remains semialgebraic by the . This closure property underpins the structure of semialgebraic sets, ensuring that operations like elimination of variables preserve the semialgebraic nature without introducing non- conditions. For example, consider the semialgebraic set \{(x,y) \in \mathbb{R}^2 \mid y^2 = x^3 - x\}, which defines the real points of the y^2 = x(x-1)(x+1). The onto the x-axis is the set \{x \in \mathbb{R} \mid x^3 - x \geq 0\}, equivalent to (-\infty, -1] \cup [0, +\infty), a finite union of semialgebraic basic sets (intervals), thus semialgebraic as guaranteed by the theorem. This illustrates how projections reveal the "discriminant locus" where real fibers exist, maintaining the semialgebraic structure.

Quantifier Elimination and Cell Decomposition

Tarski's quantifier elimination states that every first-order in the of real closed fields, built from inequalities using logical connectives and quantifiers, is equivalent to a quantifier-free in the same . This equivalence implies that the solution set of any such quantified defines a semialgebraic set, as quantifier-free formulas directly describe unions of basic semialgebraic sets. As a , the enables the of semialgebraic sets to remain semialgebraic, aligning with the Tarski-Seidenberg by iteratively eliminating existential quantifiers one at a time. The proof of provides effective bounds on the complexity, depending on the number of variables, the degrees of the polynomials, and the number of quantifiers. Specifically, the size of the equivalent quantifier-free formula and the running time of elimination procedures are doubly exponential in the number of variables. A key consequence of quantifier elimination is the existence of cell decompositions for semialgebraic sets. Every semialgebraic set in \mathbb{R}^n admits a finite partition into cells—such as points, open simplices, or more generally connected components where polynomials have constant sign—such that the partition is compatible with given polynomial maps, meaning the image of each cell under a polynomial is a finite union of cells. Each cell has a specified (a point satisfying certain sign conditions) and consistent sign patterns for the defining polynomials. Algorithmically, cylindrical algebraic decomposition (CAD) realizes such partitions by recursively decomposing space into cylindrical cells aligned with the variable order, ensuring constant sign for polynomials within each cell and enabling . Introduced by Collins, CAD constructs these decompositions explicitly, with complexity also doubly exponential in the number of variables, matching the inherent lower bounds from Tarski's theorem. For example, the \exists y \, (y^2 + x y + 1 > 0) eliminates to the quantifier-free condition that holds for all real x, since the in y is positive for some y everywhere (as its minimum value $1 - x^2/4 is finite and the parabola opens upwards). This reduction demonstrates how existential quantifiers over polynomials yield inequalities or combinations thereof in the free variables.

Applications

In

Semialgebraic sets play a central role in by extending the classical notion of real algebraic varieties, which are defined solely as zero loci of , to incorporate inequalities, thereby capturing a broader class of geometrically significant subsets of . While real algebraic varieties focus on solution sets to equations f_1(x) = \cdots = f_k(x) = 0, semialgebraic sets are finite unions of intersections involving both equations and strict or non-strict inequalities, such as \{ x \in \mathbb{R}^n \mid g_i(x) > 0, h_j(x) \geq 0, p_\ell(x) = 0 \}. This generalization allows for the study of open and closed regions, complements, and projections that are essential for understanding the and over the reals, where the structure of \mathbb{R} introduces phenomena absent in . A key result highlighting the manifold-like behavior of semialgebraic sets is the Nash-Tognoli theorem, which states that every compact smooth manifold is diffeomorphic to a nonsingular real . Since nonsingular real are a special class of semialgebraic sets, this theorem shows that compact smooth manifolds can be realized as semialgebraic sets. Originally conjectured by in his work on real algebraic manifolds and proved by Tognoli using approximation theorems for smooth functions by polynomials, this theorem underscores the algebraic approximability of smooth geometry over the reals, bridging differential and algebraic perspectives. In the semialgebraic context, it implies that tame subsets of \mathbb{R}^n can model arbitrary compact manifolds up to , facilitating the embedding of geometric problems into algebraic frameworks. The theory of semialgebraic sets forms an o-minimal structure on the real field, meaning the definable sets in this structure are precisely the semialgebraic sets, which exhibit tame topological properties such as finite cell decompositions and uniform bounds on the number of connected components. O-minimality ensures that every semialgebraic set in \mathbb{R}^n decomposes into finitely many cells—points, open simplices, or manifolds with —providing bounds like at most s(2d+1)^n cells for sets defined by polynomials of degree at most d with s inequalities, where the remains controlled without pathological features like infinite branching. This tameness, established in foundational works on o-minimal expansions, enables effective dimension theory and stratification in . Semialgebraic sets relate closely to semianalytic sets, which generalize the construction using convergent or real analytic functions instead of polynomials, allowing local descriptions on analytic manifolds; however, semialgebraic sets are globally polynomial-bounded and form a proper subclass, as semianalytic sets can exhibit more intricate local behavior near singularities while sharing finiteness properties like those in Łojasiewicz's theorem on connected components. This distinction highlights the polynomial rigidity of semialgebraic geometry versus the analytic flexibility, with semialgebraic sets converging to semianalytic ones in the category of subanalytic spaces. An illustrative example of semialgebraic realization in is the real of a A, denoted \mathrm{Sper}\, A, which consists of pairs (P, \sigma) where P is a and \sigma an ordering on the , equipped with a hull-kernel that makes it a spectral space; this abstract object realizes semialgebraic sets via coordinate rings, as the semialgebraic subsets of \mathbb{R}^n correspond to constructible sets in \mathrm{Sper}\, \mathbb{R}[x_1, \dots, x_n], providing a foundational framework for generalizing semialgebraic beyond .

In Optimization and Control Theory

Semialgebraic sets play a crucial role in optimization by providing certificates for the positivity of polynomials over constrained domains. Schmüdgen's Positivstellensatz establishes that if a polynomial f is strictly positive on a compact basic closed semialgebraic set S = \{x \in \mathbb{R}^n \mid g_i(x) \geq 0, i=1,\dots,m\}, then f can be expressed as a sum of squares (SOS) of polynomials weighted by the generators g_i, specifically f = \sum_{I \subset } s_I \prod_{i \in I} g_i where each s_I is a sum of squares. This representation serves as a computational certificate verifiable via semidefinite programming (SDP). A variant by Putinar relaxes the compactness assumption to an Archimedean condition on the quadratic module generated by the g_i, allowing f > 0 on S to be certified as f = s_0 + \sum_{i=1}^m s_i g_i with SOS polynomials s_0, s_i, which is particularly useful for unbounded or non-basic semialgebraic sets. These Positivstellensätze underpin sum-of-squares hierarchies for solving nonconvex polynomial optimization problems over semialgebraic constraints. The Lasserre hierarchy constructs a sequence of SDP relaxations that approximate the minimum of a polynomial objective subject to semialgebraic inequalities by dualizing moment problems and enforcing SOS conditions on the dual certificates; the k-th level considers monomials up to degree $2k and converges asymptotically to the global optimum under compactness assumptions. For instance, the feasibility of a semialgebraic set defined by \{x \mid p(x) \geq 0, q(x) = 0\} can be checked by solving an SDP relaxation that seeks an SOS certificate of infeasibility, such as a polynomial combination proving a contradiction via the Positivstellensatz. This approach transforms hard combinatorial or global optimization tasks into tractable convex programs, with finite convergence guaranteed in many cases like quadratic objectives. In , semialgebraic sets describe reachable sets for nonlinear dynamical s, facilitating analysis. For a \dot{x} = f(x, u) with f, the reachable set from an initial semialgebraic set over a finite horizon is itself semialgebraic, allowing exact representation via , though computationally intensive; approximations via methods enable practical verification. can be certified using Lyapunov functions that are positive definite on semialgebraic invariant sets and whose derivatives are negative thereon, often found via relaxations of the corresponding inequalities, ensuring asymptotic for s. For robust control under parametric uncertainty, semialgebraic uncertainty sets are approximated by simpler polyhedral or ellipsoidal sets to enable tractable formulations. Polyhedral outer approximations can be obtained by linearizing the defining polynomials at critical points, while ellipsoidal approximations minimize volume subject to containing the semialgebraic set, often solved via ; these reduce robust optimization problems, such as worst-case controller design, to linear or second-order cone programs while preserving feasibility guarantees.

References

  1. [1]
    [PDF] Real Algebraic Geometry
    Jacek Bochnak. Michel Coste. Marie-Francoise Roy. Real Algebraic. Geometry. Springer. Page 2. Table of Contents. Preface. V. Introduction. 1. 1. Ordered Fields, ...
  2. [2]
    [PDF] AN INTRODUCTION TO SEMIALGEBRAIC GEOMETRY
    2.1.1 Definition and first examples. A semialgebraic subset of Rn is the subset of (x1,...,xn) in Rn satisfying a boolean combination of polynomial ...
  3. [3]
    None
    Summary of each segment:
  4. [4]
    [PDF] Algorithms in Real Algebraic Geometry by S. Basu, R. Pollack, and M.
    Sep 19, 2007 · Partioning a semi-algebraic set into managable pieces is not only useful to define homology, but also forms the foundation of important ...
  5. [5]
    [PDF] 37 COMPUTATIONAL AND QUANTITATIVE REAL ALGEBRAIC ...
    If F is a set of polynomials defining the semialgebraic set S ⊆ Rk, then at ... The Basu-Pollack-Roy (BPR) algorithm [BPR98,. BPR96] differs from Renegar's ...
  6. [6]
    [PDF] an introduction to semi-algebraic sets - RIMS, Kyoto University
    Example. 1.2.1. Everyreal algebraic set is semi-algebraic. Moreover, in the real field, $P_{1}=\cdots=$.
  7. [7]
    [PDF] 10. The Positivstellensatz • Basic semialgebraic sets - MIT
    A set generated by a finite sequence of these operations on basic semial- gebraic sets is called a semialgebraic set. Some examples: • The set. S = {x ∈ R n.
  8. [8]
    Real Algebraic Geometry | SpringerLink
    Front Matter. Pages I-IX. Download chapter PDF · Introduction. Jacek Bochnak, Michel Coste, Marie-Françoise Roy. Pages 1-5. Ordered Fields, Real Closed Fields.
  9. [9]
  10. [10]
    [PDF] 14/01/10) Contents 1. Semialgebraic dimension 1 2. Algebraic ...
    Jan 14, 2010 · REAL ALGEBRAIC GEOMETRY LECTURE NOTES. (22: 14/01/10). SALMA KUHLMANN. Contents. 1. Semialgebraic dimension. 1. 2. Algebraic dimension. 4. Let R ...
  11. [11]
    Tarski-Seidenberg theorem - PlanetMath
    Mar 22, 2013 · Theorem (Tarski-Seidenberg).​​ That is, if A⊂Rn×Rm A ⊂ ℝ n × ℝ m is a semialgebraic set, and if π is the projection onto the first n coordinates, ...
  12. [12]
    [PDF] A Decision Method for Elementary Algebra and Geometry - RAND
    Tarski (1940) found a decision method for the elementary theory of Boolean algebra. McKinsey (1943) gave a decision method for the class of true universal ...
  13. [13]
    A New Decision Method for Elementary Algebra - jstor
    Printed in U.S.A.. A NEW DECISION METHOD FOR ELEMENTARY ALGEBRA. BY A. SEIDENBERG. (Received December 29, 1952). Introduction. A. Tarski [4] has given a ...
  14. [14]
    [PDF] tarski's principle and the elimination of quantifiers
    This is an expository article on Tarski's principle and the elimi- nation of quantifiers for real closed and algebraically closed fields. 1. Introduction.
  15. [15]
    Alfred Tarski's elimination theory for real closed fields
    Mar 12, 2014 · Tarski made a fundamental contribution to our understanding of R, perhaps mathematics' most basic structure. His theorem is the following.Missing: original | Show results with:original
  16. [16]
    Real quantifier elimination is doubly exponential - ScienceDirect.com
    We show that quantifier elimination over real closed fields can require doubly exponential space (and hence time).
  17. [17]
    [PDF] Semialgebraic and semianalytic sets - Numdam
    In this talk I shall discuss the notion and some basic features of semialgebraic and semianalytic sets, which are one main concern of Real. Geometry. L ...
  18. [18]
    [PDF] mémoires de la smf - Numdam
    53-68. APPROXIMATION THEOREMS AND NASH CONJECTURE by Alberto TOGNOLI. The purpose of this lecture is to illustrate some applications of Weierstrass' and T ...Missing: original paper
  19. [19]
    On the real spectrum of a ring and its application to semialgebraic ...
    July 1986 On the real spectrum of a ring and its application to semialgebraic geometry. Eberhard Becker · DOWNLOAD PDF + SAVE TO MY LIBRARY. Bull. Amer.
  20. [20]
    A semi-algebraic approach for asymptotic stability analysis
    In this paper, we focus on computing Lyapunov functions in quadratic form for asymptotic stability analysis of autonomous polynomial systems of differential ...