Quantifier elimination from projection closure #
Let R be a commutative ring with a compatible linear order, regarded as a structure in the
first-order language of ordered rings Language.ring.sum Language.order. Suppose that semialgebraic
sets are closed under projection: for every semialgebraic s ⊆ R ^ (n + 1), the image
Fin.tail '' s ⊆ R ^ n forgetting coordinate 0 is semialgebraic
(TauCeti.HasSemialgebraicProjections R). For ℝ this is the Tarski–Seidenberg theorem, an
instance proved in TauCeti.Geometry.RealAlgebraic.CAD.Existence, so every result below holds
over ℝ unconditionally. This file shows that projection closure gives quantifier elimination in
the language of ordered rings, with parameters from R.
The argument is by induction on formulas. Atomic formulas define semialgebraic sets, and so do
implications of semialgebraic conditions. An existential quantifier over the last bound variable
is a projection of a semialgebraic set; a universal quantifier is the complement of the existential
quantifier of the complement. The projection hypothesis concerns R ^ (n + 1) only, but formulas
may have infinitely many free variables (the parameters are free variables indexed by R). Since
membership in a semialgebraic set depends on only finitely many coordinates
(TauCeti.IsSemialgebraic.exists_finset_mem_iff_of_eqOn), projections in arbitrary dimension
reduce to the finite-dimensional case.
Main results #
All results but the last assume projection closure, [TauCeti.HasSemialgebraicProjections R].
TauCeti.IsSemialgebraic.image_comp_some: semialgebraic subsets ofOption σ → Rhave semialgebraic projections toσ → R, for every index typeσ.FirstOrder.Language.BoundedFormula.isSemialgebraic_setOf_realize,FirstOrder.Language.Formula.isSemialgebraic_setOf_realize: every formula of ordered rings defines a semialgebraic set, and so does every formula whose free variablesSum.inl aare assigned parameters fromR(FirstOrder.Language.Formula.isSemialgebraic_setOf_realize_sumElim).Set.Definable.isSemialgebraic: every set definable with parameters is semialgebraic, and soTauCeti.isSemialgebraic_iff_definableidentifies the semialgebraic sets with the sets definable with parameters fromR.TauCeti.exists_isQF_realize_iff: quantifier elimination. Every formula of ordered rings with parameters fromRis equivalent, under every assignment of its free variables, to a quantifier-free formula with parameters.TauCeti.hasSemialgebraicProjections_iff_forall_definable_isSemialgebraic: conversely, if every definable subset ofR ^ nis semialgebraic then semialgebraic sets are closed under projection. So the projection hypothesis is exactly what quantifier elimination needs.
References #
- S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Sections 2.3 and 2.4: Tarski–Seidenberg and quantifier elimination.
- D. Marker, Model Theory: An Introduction, Graduate Texts in Mathematics 217, Springer (2002), Section 3.3.
Projection in arbitrary dimension. If semialgebraic subsets of R ^ (n + 1) have
semialgebraic projections to R ^ n, then for every index type σ the projection of a
semialgebraic subset of Option σ → R, forgetting the coordinate none, is semialgebraic.
Given projection closure, a formula of ordered rings with free variables α and n bound
variables defines a semialgebraic subset of α ⊕ Fin n → R.
Given projection closure, a formula of ordered rings with free variables α defines a
semialgebraic subset of α → R.
Given projection closure, a formula of ordered rings with free variables A ⊕ σ defines a
semialgebraic subset of σ → R once the variables Sum.inl a are assigned parameters f a.
Given projection closure, a subset of σ → R definable with parameters from a set A ⊆ R in
the language of ordered rings is semialgebraic.
Given projection closure, a subset of σ → R is semialgebraic if and only if it is definable
in the language of ordered rings with parameters from R.
Quantifier elimination, given projection closure. Every formula of ordered rings whose
free variables Sum.inl r are assigned the parameters r ∈ R is equivalent, for every
assignment v of the remaining free variables, to a quantifier-free formula with parameters.
Projection closure is equivalent to quantifier elimination. Semialgebraic subsets of
R ^ (n + 1) have semialgebraic projections to R ^ n, for every n, if and only if every
subset of every R ^ n definable with parameters in the language of ordered rings is
semialgebraic.