Resultant lemmas #
Mathlib evaluates the resultant against the linear polynomial X - C x on either side
(Polynomial.resultant_X_sub_C_left, Polynomial.resultant_X_sub_C_right). This file records the
companion for the reversed polynomial C x - X, which is the shape that arises as x - θ in
AdjoinRoot f: the answer is f.eval x, with no sign.
The file also normalizes bounded resultants with a monic left argument. This makes the resultant independent of the chosen valid right degree bound, as needed when comparing resultant-based discriminant formulas that use different bounds.
That absence is the point. C x - X is C (-1) * (X - C x), which contributes (-1) ^ m, and
resultant_X_sub_C_right contributes another (-1) ^ m, so the two cancel.
Main results #
Polynomial.resultant_C_sub_X_rightPolynomial.Monic.resultant_of_le: for a monic left argument, the resultant is independent of the valid degree bound supplied for the right argument.
Provenance #
Adapted from Michael Stoll's EllipticCurves
(github.com/MichaelStollBayreuth/EllipticCurves, Apache-2.0) at commit
66889eada51a74c2f5dfb7fb5909b0b5a0a2d96e, EllipticCurves/Mathlib/Basic.lean line 615, where
it is a Mathlib-bound prerequisite of the explicit 2-descent.
The resultant of f with the reversed linear polynomial C x - X is f.eval x. Note the
absence of a sign: C x - X is -(X - C x), and the two signs cancel.