You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90db9db
Browse filesBrowse the repository at this point in the historyBrowse files
Leave a polynomial unsolved where a candidate root fails it (#2515)
An equation that is a polynomial as written has no root a rewrite could
have added, so a candidate that fails it is the solver's error, and the
candidates that pass are not known to be all of the roots. Only where
every candidate failed was it left unsolved; where some passed they were
the answer. A degree-twelve polynomial with roots near 1e-12 had eleven
numerical candidates fail and was answered with the twelfth, 10^-12,
alone; the system solver for 2 + 3x + (-3 - x) x sgn(1 - x) = 0 with x
written as 10^12 x took that as every root of the real part, and the
equation was answered { }, though -sqrt(2) 10^-12 is a root. And the
check read the polynomial through a condition it carried, which it
could not: the degree-ten one it reaches had come back from Simplify
with one.
APolynomialHasARootTest asserted that x^2 - 4 with candidates { 2, 5 }
answers { 2 }, which leaves -2 out; it now asserts that it is unsolved,
and that candidates which all hold are kept.
Cross-checks of the unscaled equations: unchanged. With x written as
10^12 x, abs/sgn equations that differ 25 -> 23, the answer { } gone
and 11 -> 9 answers missing a root; the rest are answers left unsolved.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments