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 b2b6abf
Browse filesBrowse the repository at this point in the historyBrowse files
A root in exact numbers is put back to the working precision (#2325)
Every root is put back into its equation, and IsEvidenceAgainst dropped one only
where it left more than a hundredth of the largest term. That bound was set for
roots found numerically, which are only as accurate as the search that found
them. A root in exact numbers, put into an equation of exact numbers, evaluates
to the working precision, so a true one leaves only rounding and a spurious one a
whole quantity, and the bound let a near spurious one through:
(3x - 4) sqrt(x) + 3 + 3x - 4x^2 = 0 is solved by squaring into a quartic, and
one of the quartic's roots, 1.3233 in radicals, leaves 0.069 against a largest
term of 7. 2.6.0 and master answer it.
An equation and root that are exact numbers in sums, products, quotients and
rational powers are now held to half the digits of DecimalPrecisionContext,
10^-50 of the largest term by default. A function, a constant such as pi, or a
decimal keeps the hundredth: a special function may be evaluated in doubles, and
a decimal is only as accurate as what found it. The same test reads a system's
rows, which it holds the same way. A residual of no more than the square of that
share is under the bound whatever the terms are, and is settled before they are
evaluated again for their size; SolveEasy allocates 0.1% over the baseline.
Generated equations against master at a2604a4: the radical cross-check's
powers-of-x mode, 1000 at seed 41, loses its one finding, the unsound 1.3233. At
seed 31 (200), the default mode (400 at seed 21), random polynomials (200 at
seed 5, and 200 at seed 7 with a radical coefficient) and generated systems
(1190) are unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments