Balls, closures and interiors of real semialgebraic sets #
This file shows that the basic metric and topological constructions on the real coordinate space
σ → ℝ, for a finite index type σ, preserve semialgebraicity.
- Open and closed balls are semialgebraic, both for the sup norm, which is the norm Mathlib puts
on
σ → ℝ, and for the Euclidean norm ofEuclideanSpace ℝ σ. In particular every point has arbitrarily small open semialgebraic neighbourhoods of either kind. - The closure, interior and frontier of a semialgebraic set are semialgebraic.
- A semialgebraic subset of
ℝ ^ nwith empty interior is nowhere dense. It is the union of the cells of an adapted cylindrical algebraic decomposition that it contains, and these are locally closed with empty interior, hence nowhere dense. This fails for arbitrary sets, as the rationals inℝshow.
The ball statements only use the polynomial description of the two norms. The closure statement
uses the Tarski–Seidenberg theorem in the form of projection closure
(TauCeti.HasSemialgebraicProjections ℝ): a point x lies in closure s exactly when for every
ε > 0 there is y ∈ s with dist x y < ε, and the two quantifiers are eliminated by two
projections and a complement. Interiors and frontiers then follow from closures by complements
and differences.
Main results #
TauCeti.isSemialgebraic_setOf_dist_eval_lt,TauCeti.isSemialgebraic_setOf_dist_eval_le: the locus where the sup distance between two polynomial maps is bounded by a polynomial is semialgebraic.TauCeti.isSemialgebraic_ball,TauCeti.isSemialgebraic_closedBall: sup-norm balls.TauCeti.isSemialgebraic_preimage_toLp_ball,TauCeti.isSemialgebraic_preimage_toLp_closedBall: Euclidean balls, read in the coordinatesσ → ℝ.TauCeti.IsSemialgebraic.closure,TauCeti.IsSemialgebraic.interior,TauCeti.IsSemialgebraic.frontier.TauCeti.IsSemialgebraic.setOf_mem_interior_fiber,TauCeti.IsSemialgebraic.setOf_fiber_interior_nonempty: interiors taken separately in the fibers of a semialgebraic family, and the parameters where these interiors are nonempty.TauCeti.IsSemialgebraic.isNowhereDense_iff: a semialgebraic set is nowhere dense exactly when its interior is empty.
References #
- J. Bochnak, M. Coste, and M.-F. Roy, Real Algebraic Geometry, Ergebnisse der Mathematik und ihrer Grenzgebiete 36, Springer (1998), Proposition 2.2.2.
- S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Section 3.1.
Balls #
The locus where the sup distance between two polynomial maps is less than the value of a polynomial is semialgebraic.
The locus where the sup distance between two polynomial maps is at most the value of a polynomial is semialgebraic.
An open ball for the sup norm on σ → ℝ is semialgebraic.
A closed ball for the sup norm on σ → ℝ is semialgebraic.
An open ball of the Euclidean space EuclideanSpace ℝ σ, read in the coordinates σ → ℝ, is
semialgebraic.
A closed ball of the Euclidean space EuclideanSpace ℝ σ, read in the coordinates σ → ℝ,
is semialgebraic.
Closures, interiors and frontiers #
The closure of a semialgebraic subset of σ → ℝ is semialgebraic.
The interior of a semialgebraic subset of σ → ℝ is semialgebraic.
The frontier of a semialgebraic subset of σ → ℝ is semialgebraic.
Interiors in families #
Taking the interior separately in each fiber of a semialgebraic family preserves semialgebraicity. The parameters need not have finitely many coordinates.
The parameters whose fiber has nonempty interior form a semialgebraic set.
Nowhere dense semialgebraic sets #
A semialgebraic set is nowhere dense exactly when its interior is empty.