Executable result of a degree-ordered Brown PRS run.
scale belongs to the ordered chain. In particular, subresultantRun does
not record whether it swapped its arguments, so this structure alone is not a
caller-order-sensitive resultant; use resultant for that value.
Brown's nonzero
G₁, …, Gₖ, excluding the generated terminal zero.- scale : R
Corrected terminal principal-subresultant scalar
hₖ.
Instances For
Brown signs are nonzero in every nontrivial commutative ring.
The exactness and nonzero obligations for every reachable Brown worker state. A valid state must terminate naturally before its fuel reaches zero; the adjacent polynomials have strictly decreasing size, the current and successor scales are nonzero, both scalar divisions reconstruct their numerators, the Brown divisor and quotient are nonzero, and the successor is valid.
Equations
Instances For
Integral subresultant-family invariant for one recursive Brown state. It keeps all accumulated factors cross-multiplied in the coefficient ring.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The invariant identifies the next Brown scale with the leading principal coefficient of the original-pair subresultant and proves its exact quotient law inside the base ring.
The signed first pseudo-remainder establishes the integral invariant for the first recursive Brown state.
At a nonterminal invariant state, the pseudo-remainder has the exact Brown factor and its quotient is the adjacent original-pair subresultant.
One nonterminal Brown step preserves the integral original-pair subresultant invariant.
Fuel-bounded Brown recurrence after the initial pseudo-division.
prev, curr, and hPrev are Gᵢ₋₁, Gᵢ, and hᵢ₋₁. A valid
state has nonzero adjacent polynomials of strictly decreasing degree and a
nonzero scale. The zero checks preserve the public nonzero-only chain
convention even on junk coefficient structures.
Equations
- One or more equations did not get rendered due to their size.
- prev.subresultantAux curr hPrev chain 0 = { chain := chain, scale := hPrev }
Instances For
Brown's recurrence for two nonzero inputs already ordered by decreasing dense degree, with an explicit proof-audit fuel parameter.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Brown's recurrence for two nonzero inputs already ordered by decreasing dense degree. One fuel unit per possible degree, plus the terminal step, is sufficient on a lawful exact-division domain.
Equations
- f.subresultantOrdered g = f.subresultantOrderedFuel g (g.size + 1)
Instances For
Total Brown run. Zero inputs are omitted; two nonzero inputs are ordered by
decreasing dense degree before entering subresultantOrdered.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Brown's nonzero subresultant pseudo-remainder sequence.
Equations
- f.subresultantChain g = (f.subresultantRun g).chain
Instances For
Ordered nonzero inputs establish every nonzero-denominator and exactness
obligation recorded by BrownLaw, including the unreachability of the junk
zero-quotient branch.
Adding fuel beyond the public ordered-run budget leaves the result unchanged. This is a structural consequence of strict remainder-size descent and needs no divisibility laws.
Extract the resultant value from an ordered nonzero Brown run. The corrected terminal scale is returned exactly when the last stored term is a nonzero constant.
Equations
- f.resultantOrdered g = if ((f.subresultantOrdered g).chain.getD ((f.subresultantOrdered g).chain.size - 1) 0).size = 1 then (f.subresultantOrdered g).scale else 0
Instances For
For ordered nonzero inputs, Brown's corrected terminal value is the zeroth generalized subresultant coefficient.
Executable polynomial resultant with default formal-degree conventions.
Zero polynomials are treated as degree zero, so two constants (including two zeros) have resultant one. Reversed nonzero inputs are ordered for the Brown run and receive the standard degree-product sign.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Both zero inputs produce the empty nonzero chain.
Every stored term is nonzero. This follows from the worker's explicit zero guards and needs no divisibility laws.
After the possibly equal-degree ordered inputs, stored degrees strictly decrease.
The nonzero Brown chain stores at most two inputs plus one term for every possible degree at or below the smaller input degree.