The order of vanishing of a multivariate polynomial at a point #
MvPolynomial.taylor a is the Taylor shift p ↦ p(X + a), which substitutes Xᵢ + aᵢ for
each variable Xᵢ; the coefficients of taylor a p are the Taylor coefficients of p at a.
The order of vanishing p.orderAt a : ℕ∞ is the least total degree of a nonzero Taylor
coefficient of p at a, and ⊤ when p = 0. It is the order of taylor a p viewed as a
multivariate power series, so it is positive exactly at the zeros of p, and over a domain it
is additive on products.
This is the ambient order of p at a, computed in all variables at once. It is the invariant
of order-invariant cylindrical algebraic decompositions in McCallum's projection theory: there
each polynomial is required to have constant order on each cell, which is stronger than constant
sign.
Over a ring without additive torsion, such as ℝ, the order is detected by partial derivatives:
p has order at least n at a exactly when every iterated partial derivative of p of order
less than n vanishes at a; since a nonzero polynomial vanishes to order at most its total
degree, finitely many derivatives suffice. Substituting polynomials into p can only increase
the order at corresponding points, and renaming the variables along an injective map does not
change it.
The Taylor shift itself preserves the degree in each variable (MvPolynomial.degreeOf_taylor).
Main definitions #
MvPolynomial.taylor: the Taylor shiftp ↦ p(X + a).MvPolynomial.orderAt: the order of vanishing ofpata.
Main results #
MvPolynomial.orderAt_eq_top_iff: the order is⊤exactly for the zero polynomial.MvPolynomial.orderAt_eq_zero_iff,MvPolynomial.orderAt_pos_iff: the order is positive exactly at the zeros ofp.MvPolynomial.orderAt_mul: over a domain, the order of a product is the sum of the orders.MvPolynomial.succ_le_orderAt_iff:phas order at leastn + 1ataif and only ifpvanishes ataand every partial derivative ofphas order at leastnthere.MvPolynomial.le_orderAt_iff_eval_foldl_pderiv: the order is at leastnif and only if every iterated partial derivative of order less thannvanishes ata.MvPolynomial.orderAt_le_totalDegree: a nonzero polynomial vanishes to order at most its total degree.MvPolynomial.orderAt_eq_of_forall_eval_foldl_pderiv_eq_zero_iff: the order at a point is determined by which iterated partial derivatives, up to the total degree, vanish there.MvPolynomial.orderAt_le_orderAt_aeval: substitution does not decrease the order.MvPolynomial.orderAt_rename: renaming along an injective map preserves the order.MvPolynomial.finSuccEquiv_taylor,MvPolynomial.coeff_taylor_cons: singling out the variableX₀turns the Taylor shift atainto the univariate Taylor shift ata₀followed by the Taylor shift at the remaining coordinates.MvPolynomial.optionEquivRight_rename_finSuccEquivLast_taylor,MvPolynomial.coeff_taylor_snoc: moving the last variableXₙinto the coefficients turns the Taylor shift atFin.snoc α βinto the Taylor shift at the first coordinatesα, followed by the univariate Taylor shift atβof each coefficient.
References #
- S. McCallum, An improved projection operation for cylindrical algebraic decomposition, in Quantifier Elimination and Cylindrical Algebraic Decomposition, Springer (1998), pp. 242–268, Section 2 (order of a polynomial at a point, order-invariance).
The Taylor shift of a multivariate polynomial at a: the substitution p ↦ p(X + a) of
Xᵢ + aᵢ for each variable Xᵢ. The coefficients of taylor a p are the Taylor coefficients
of p at a.
Equations
- MvPolynomial.taylor a = MvPolynomial.aeval fun (i : σ) => MvPolynomial.X i + MvPolynomial.C (a i)
Instances For
Taylor shifts commute with coefficient maps, with the center mapped along the same homomorphism.
Taylor coefficients depend polynomially on the center. Evaluate the formal center in
taylor X (map C p) at a to recover each coefficient of taylor a p.
The constant Taylor coefficient of p at a is the value of p at a.
The Taylor shift does not increase the total degree.
Partial differentiation commutes with the Taylor shift.
The Taylor shift does not increase the degree in any variable.
Singling out the variable X₀ commutes with the Taylor shift: shifting X₀ by a₀ is the
Taylor shift of the resulting univariate polynomial at a₀, and the remaining variables are
shifted coefficientwise.
The Taylor coefficients of p at a, read off after singling out the variable X₀: the
coefficient of X₀ ^ i * Xᵘ is the coefficient of Xᵘ in the Taylor shift at Fin.tail a of
the i-th coefficient of the univariate Taylor expansion at a₀.
Moving the last variable Xₙ into the coefficients commutes with the Taylor shift: shifting
at Fin.snoc α β becomes the Taylor shift at the constant polynomials α, followed by the
univariate Taylor shift at β of every coefficient.
The Taylor coefficients of f at Fin.snoc α β, read off after moving the last variable
Xₙ into the coefficients: the coefficient of Xᵘ * Xₙ ^ k is the coefficient of Xₙ ^ k in
the univariate Taylor expansion at β of the coefficient of Xᵘ in the Taylor shift at α.
The Taylor shift preserves the total degree.
The Taylor shift preserves the degree in each variable.
The constant coefficient of a polynomial viewed as a power series is its constant coefficient as a polynomial.
Substituting polynomials without constant terms into a polynomial does not decrease its order.
The order of vanishing of p at a: the least total degree of a nonzero Taylor coefficient
of p at a, and ⊤ if there is none.
Equations
- p.orderAt a = (↑((MvPolynomial.taylor a) p)).order
Instances For
p has order at least n at a exactly when every Taylor coefficient of p at a of
total degree less than n vanishes.
p has order exactly n at a when n is the least total degree of a nonzero Taylor
coefficient of p at a: some Taylor coefficient of total degree n is nonzero, and every
Taylor coefficient of smaller total degree vanishes.
The order of p at a is zero exactly when p does not vanish at a.
The order of p at a is positive exactly when p vanishes at a.
A nonzero polynomial vanishes at each point to order at most its total degree.
Over a domain, the order of a product is the sum of the orders.
Over a domain, the order of p ^ n at a is n times the order of p at a.
Over a domain, the order of a finite product is the sum of the orders of its factors.
Substitution does not decrease the order: if g maps the point b to a, that is,
eval b (g i) = a i for every i, then the order of aeval g p at b is at least the order
of p at a.
Renaming the variables along an injective map does not change the order.
Over a ring without additive torsion, p has order at least n + 1 at a if and only if
p vanishes at a and every partial derivative of p has order at least n at a.
Over a ring without additive torsion, p has order at least n at a if and only if, for
every list l of fewer than n variables, the iterated partial derivative of p along l
vanishes at a.
Over a ring without additive torsion, the order of p at a point is determined by which
iterated partial derivatives of p, of order at most the total degree of p, vanish there: if
the same ones vanish at a and at b, then p has the same order at a and at b.