QSA exact rational polynomial Sturm algebra - #84
Draft
Inserian wants to merge 4 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Staged successor above accepted PR83 for exact univariate rational polynomial algebra useful to Brain's typed mathematical reasoning and QSA's general exact-mathematics platform.
The current core provides arbitrary-precision
QRationalpolynomial coefficients with opaque caller-admitted variable identity, canonical normalized coefficient state, exact Horner evaluation, derivative, addition/subtraction/multiplication, Euclidean division, monic normalization, polynomial GCD, square-free reduction, exact Sturm sequences, and exact distinct-real-root counts over rational intervals. Exact-root interval endpoints fail closed instead of being silently perturbed. Degree and algorithm-step caps bound the work.A focused native test covers exact evaluation/derivative, Euclidean division, repeated-factor GCD, square-free reduction, three-root and single-subinterval Sturm counts, repeated-root distinct counting, a no-real-root control, endpoint-root rejection, zero-polynomial infinite-root rejection, variable-identity isolation, degree/multiplication caps, arbitrary-precision coefficients, and receipt identity.
The existing Structural Hardening carrier directly builds and runs that exact test; no new workflow was created. This PR is not research-accepted yet. It still needs exact-head gates and then a typed QMath-language integration decision before any broader claim.
Brain boundary is unchanged: Brain supplies admitted symbolic/variable meaning. QSA operates only on the resulting typed exact polynomial state and never parses raw language or chooses semantic truth.
Draft, unmerged, non-production; no merge or production promotion is authorized.