The first cheap obstruction found before integer-polynomial long division.
The constructors are ordered by the cost of the corresponding check.
- zeroDivisor : Reject
Division by the zero polynomial is undefined.
- degree : Reject
A nonzero divisor cannot have larger degree than a nonzero dividend.
- leadingCoeff : Reject
The divisor's leading coefficient must divide the dividend's.
- content : Reject
The divisor's coefficient content must divide the dividend's.
- evaluation : Reject
Divisibility must survive evaluation at the fixed small point.
Instances For
Equations
Equations
- Hex.ZPoly.DivExact.instBEqReject.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
The fixed small evaluation point used by the final exact-division precheck.
Evaluation at one avoids coefficient growth while still testing a condition independent of the degree, leading-coefficient, and content checks.
Equations
Instances For
Executable coefficient content used by exact-division rejection.
Equations
Instances For
The executable content value agrees with the public specification.
Executable Horner evaluation at the fixed rejection point.
Instances For
The executable evaluation value agrees with public polynomial evaluation.
Return the first cheap reason that g cannot divide f, or none when
dense exact division is still necessary.
The zero dividend is deliberately allowed past the degree check: every nonzero polynomial divides zero, with exact quotient zero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact quotient f / g, or none when g = 0 or the executable
integer-polynomial division does not reconstruct f exactly.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A prefilter rejection returns before the dense-division branch.