Bivariate polynomial shifts, Hasse derivatives, vanishing order, and weighted degree #
General algebra for bivariate polynomials Q : R[X][Y] represented as iterated univariate
polynomials (Polynomial (Polynomial R)), independent of coding theory:
- Bivariate shifts and Hasse derivatives. The Taylor shift
Q(X + x, Y + y)(Polynomial.Bivariate.shift) is a ring homomorphismR[X][Y] →+* R[X][Y]whose(i, j)-th coefficient is the evaluation at(x, y)of the(i, j)-th bivariate Hasse derivativePolynomial.Bivariate.hasseDerivBiv i j Q(Polynomial.Bivariate.coeff_coeff_shift_eq_evalEval_hasseDerivBiv). Because Hasse derivatives avoid division by factorials, the theory works over arbitrary commutative semirings and fields of any characteristic and commutes with arbitrary ring homomorphisms (Polynomial.Bivariate.map_shift). - Multiplicity-
mvanishing.Polynomial.Bivariate.VanishesToOrder m x y Qasserts that every monomialX ^ i * Y ^ jwithi + j < mvanishes inshift x y Q, equivalently that all bivariate Hasse derivatives of total order< mvanish at(x, y)(Polynomial.Bivariate.vanishesToOrder_iff_hasseDerivBiv). Over any commutative ring,VanishesToOrder m x (P.eval x) Qimplies(X - C x) ^ m ∣ Q.eval P(Polynomial.Bivariate.VanishesToOrder.X_sub_C_pow_dvd_eval). (1, d)-weighted degree.Polynomial.Bivariate.weightedDegree d Qis the maximum ofa + d * bover nonzero monomialsX ^ a * Y ^ bofQ. Over a domain it is additive on nonzero products (Polynomial.Bivariate.weightedDegree_mul), monotone under division (Polynomial.Bivariate.weightedDegree_le_of_dvd), and evaluates todonY - C PwheneverP.natDegree ≤ d(Polynomial.Bivariate.weightedDegree_X_sub_C).- Factor refinement. Primitive, square-free (
radical Q.primPart), exact root-multiplicity, and primitive irreducible factorizations inF[X][Y]over arbitrary fields (Polynomial.Bivariate.eval_radical_primPart_eq_zero_iff,Polynomial.Bivariate.exists_eq_pow_mul_eval_ne_zero,Polynomial.Bivariate.exists_eq_C_mul_prod_irreducible).
Main definitions #
Polynomial.Bivariate.shift: the bivariate Taylor shiftQ(X + x, Y + y).Polynomial.Bivariate.hasseDerivX,Polynomial.Bivariate.hasseDerivBiv: bivariate Hasse derivatives inXand in(X, Y).Polynomial.Bivariate.VanishesToOrder: multiplicity-mvanishing at(x, y).Polynomial.Bivariate.weightedDegree: the(1, d)-weighted degree of a bivariate polynomial.
Main results #
Polynomial.Bivariate.coeff_coeff_shift_eq_evalEval_hasseDerivBiv,Polynomial.Bivariate.vanishesToOrder_iff_hasseDerivBiv: bivariate Taylor / Hasse derivative characterization of multiplicity vanishing.Polynomial.Bivariate.map_shift,Polynomial.Bivariate.VanishesToOrder.map: base change for bivariate shifts and vanishing order under arbitrary ring homomorphisms.Polynomial.Bivariate.VanishesToOrder.X_sub_C_pow_dvd_eval: multiplicity-mvanishing at(x, P(x))implies(X - C x) ^ m ∣ Q.eval P.Polynomial.Bivariate.weightedDegree_mul,Polynomial.Bivariate.weightedDegree_le_of_dvd,Polynomial.Bivariate.weightedDegree_X_sub_C,Polynomial.Bivariate.weightedDegree_le_of_X_sub_C_pow_mul: additivity, divisibility monotonicity, and linear-factor laws for(1, d)-weighted degree.Polynomial.Bivariate.eval_radical_primPart_eq_zero_iff,Polynomial.Bivariate.exists_eq_pow_mul_eval_ne_zero,Polynomial.Bivariate.exists_eq_C_mul_prod_irreducible,Polynomial.Bivariate.sum_weightedDegree_le_of_eq_C_mul_prod: square-free, exact-multiplicity, and primitive irreducible factor refinement inF[X][Y].
Bivariate shift and Hasse derivatives #
The bivariate Taylor shift Q(X + x, Y + y) as a ring homomorphism R[X][Y] →+* R[X][Y].
Unfolding shift x y Q into nested univariate Polynomial.taylor shifts.
The constant term of shift x y Q is Q.evalEval x y.
The (r, s) coefficient of shift x y (c * X ^ a * Y ^ b) is
(a.choose r) * (b.choose s) * c * x ^ (a - r) * y ^ (b - s).
The i-th Hasse derivative in the X-variable of a bivariate polynomial Q : R[X][Y].
The b-th Y-coefficient of hasseDerivX i Q is hasseDeriv i (Q.coeff b).
hasseDerivX i on 0 is 0.
hasseDerivX i is additive.
hasseDerivX i on a monomial in Y.
Evaluating hasseDerivX i Q at Y = C y commutes with hasseDeriv i.
The (i, j)-th bivariate Hasse derivative of Q : R[X][Y]: hasseDeriv i in X and
hasseDeriv j in Y.
The (a, b) coefficient of hasseDerivBiv i j Q.
Bivariate Taylor / Hasse derivative identity. The coefficient of X ^ i * Y ^ j in
Q(X + x, Y + y) is the value of the (i, j)-th bivariate Hasse derivative of Q at (x, y).
Base change for bivariate shift. Mapping the coefficients of Q through any ring
homomorphism φ : R →+* S commutes with shift.
Multiplicity-m vanishing #
Q : R[X][Y] vanishes to multiplicity (order) at least m at (x, y) if every monomial
X ^ i * Y ^ j with i + j < m has zero coefficient in Q(X + x, Y + y).
Multiplicity-m vanishing is equivalent to the vanishing of all bivariate Hasse derivatives
of total order less than m at (x, y).
Every polynomial vanishes to order 0.
Vanishing to order 1 at (x, y) is ordinary vanishing Q(x, y) = 0.
Monotonicity of vanishing order.
The zero polynomial vanishes to every order.
Vanishing to order m is closed under addition.
Vanishing to order m is preserved by any ring homomorphism φ : R →+* S.
Vanishing to order m reflects along any injective ring homomorphism φ : R →+* S.
Product rule for vanishing order. If Q₁ vanishes to order m₁ and Q₂ to order m₂,
then Q₁ * Q₂ vanishes to order m₁ + m₂.
Power rule for vanishing order.
If Q₁(x, y) ≠ 0 and Q₁ * Q₂ vanishes to order m at (x, y) over a domain, then Q₂
already vanishes to order m at (x, y).
Over a commutative ring, if P(x) = y then Y - C P vanishes to order 1 at (x, y).
Multiplicity root divisibility. Over any commutative ring R, if Q : R[X][Y] vanishes to
multiplicity at least m at (x, P(x)), then (X - C x) ^ m divides Q.eval P in R[X].
(1, d)-weighted degree #
The (1, d)-weighted degree of a bivariate polynomial Q : R[X][Y]: the maximum of a + d * b
over all nonzero monomials X ^ a * Y ^ b of Q (and 0 for Q = 0).
The weighted degree of 0 is 0.
weightedDegree d Q ≤ D iff every nonzero coefficient (Q.coeff b).coeff a has
a + d * b ≤ D.
Every nonzero monomial X ^ a * Y ^ b of Q satisfies a + d * b ≤ weightedDegree d Q.
Mapping coefficients through any ring homomorphism φ : R →+* S does not increase
(1, d)-weighted degree.
Mapping coefficients through an injective ring homomorphism preserves (1, d)-weighted
degree.
Subadditivity of (1, d)-weighted degree under multiplication.
Additivity of (1, d)-weighted degree. Over a domain, if A ≠ 0 and B ≠ 0, then
weightedDegree d (A * B) = weightedDegree d A + weightedDegree d B.
The constant polynomial 1 has (1, d)-weighted degree 0.
Divisors of a nonzero bivariate polynomial have no larger (1, d)-weighted degree.
Y - C P has (1, d)-weighted degree d whenever P.natDegree ≤ d.
Division by (Y - C P) ^ r lowers the (1, d)-weighted degree bound by r * d.
Over a commutative domain, (1, d)-weighted degree is additive on products of nonzero
bivariate polynomials.
If Q = C c * fs.prod with c ≠ 0 and nonzero factors in fs, then the (1, d)-weighted
degrees of the factors sum to at most weightedDegree d Q, and every factor has (1, d)-weighted
degree at most weightedDegree d Q.
Factor refinement over arbitrary fields (primitive, square-free, irreducible) #
Q.primPart has (1, d)-weighted degree at most that of Q.
For Q ≠ 0, Q and its primitive part Q.primPart have the same roots in F[X].
radical Q.primPart has (1, d)-weighted degree at most that of Q.
radical Q.primPart is primitive.
radical Q.primPart is square-free.
The Y-degree of radical Q.primPart is at most that of Q.
Square-free root preservation. For Q ≠ 0, radical Q.primPart is a nonzero, primitive,
square-free divisor of Q having the exact same F[X]-roots as Q.
Every root of a square-free bivariate polynomial Q : F[X][Y] is a simple root.
Every root P of a nonzero Q : R[X][Y] over a commutative ring factors out with exact
positive multiplicity r, derived from Polynomial.exists_eq_pow_rootMultiplicity_mul_and_not_dvd.
Primitive irreducible factorization. Every nonzero Q : F[X][Y] factors as C c * fs.prod
with c : F[X] nonzero and every R ∈ fs irreducible, primitive, and of positive Y-degree,
preserving total Y-degree.