Sign-invariant functions #
A function f is sign-invariant on a set s when it has the same sign at any two points of
s, where the sign SignType.sign takes the values -1, 0 and 1. In particular a function
that vanishes somewhere on s is sign-invariant on s only if it vanishes on all of s. This is
the invariance asked of the cells of a cylindrical algebraic decomposition adapted to a family of
polynomials: each polynomial of the family is sign-invariant on each cell.
The basic source of sign-invariance is connectedness: a function that is continuous and nowhere
zero on a preconnected set is sign-invariant there, since its sign is a continuous map to the
discrete space SignType.
Sign-invariance is preserved by restriction, by precomposition, and by the operations whose result has a sign determined by the signs of the inputs: negation, products and powers.
A set on which each function of a family is sign-invariant lies inside or outside each set described by a condition on their signs. If the sets of a cover each have this property, one sample point from each of them realizes every sign vector that the functions take.
Main declarations #
TauCeti.SignInvariant: sign-invariance of a function on a set.TauCeti.signInvariant_iff_exists: a sign-invariant function has a single sign on the set.TauCeti.signInvariant_image: sign-invariance on an image is sign-invariance of the composite.TauCeti.SignInvariant.comp,TauCeti.SignInvariant.union: precomposition with a map into the set, and unions of two sets that meet.TauCeti.SignInvariant.neg,TauCeti.SignInvariant.mul,TauCeti.SignInvariant.pow,TauCeti.signInvariant_finsetProd: negations, products, powers and finite products of sign-invariant functions are sign-invariant.TauCeti.subset_or_disjoint_setOf_sign: a set on which the functions are sign-invariant lies inside or outside each sign-condition set.TauCeti.range_sign_sample_eq: sample points of a cover by sets on which the functions are sign-invariant realize all their sign vectors.IsPreconnected.signInvariant: a continuous, nowhere-zero function on a preconnected set is sign-invariant.IsPreconnected.signInvariant_of_eq_zero_iff: a continuous function on a preconnected set that vanishes everywhere or nowhere there is sign-invariant.
References #
S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Section 5.1.
A function f is sign-invariant on s if it has the same sign, possibly zero, at any two
points of s.
Instances For
A function is sign-invariant on s exactly when a single sign is taken at every point of
s.
Sign-invariance on an image is sign-invariance of the composite on the source set.
Sign-invariance is preserved by precomposition with a map into the set.
Sign-invariance on two sets that meet is sign-invariance on their union.
A function is sign-invariant on a set containing at most one point.
A constant function is sign-invariant on every set.
Sign conditions #
If each function f i is sign-invariant on t, then t lies inside or outside every set
described by a condition on the signs of the f i.
Sample points realize all sign conditions. Let the functions f i be sign-invariant on
each set of a family 𝒞 covering α, and pick a sample point x E in each E ∈ 𝒞. Then the
sign vectors of the f i at the sample points are exactly the sign vectors they take on α.
Algebraic operations #
The sign of a negation, a product or a power is determined by the signs of its inputs, so these operations preserve sign-invariance.
The negation of a sign-invariant function is sign-invariant.
A function is sign-invariant exactly when its negation is.
The product of two sign-invariant functions is sign-invariant.
A power of a sign-invariant function is sign-invariant.
A finite product of sign-invariant functions is sign-invariant.
A function that is continuous and nowhere zero on a preconnected set is sign-invariant there.
A function that is continuous on a preconnected set, and vanishes either at every point of the set or at none, is sign-invariant there.
Local sign-invariance on relative neighborhoods implies sign-invariance on a preconnected set. No continuity of the function itself is required.