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
A system's root is dropped on a residual that rounding made: y^2 = 2, x^2 + (P - Q y) x = c is answered with 3 of its 4 rows #2627
y^2 - 2 = 0, x^2 + (P - Q y) x - c = 0, with P + Q sqrt(2) = (1 + sqrt(2))^n, has four solutions. The small root at y = -sqrt(2) is near c / (P + Q sqrt(2)). On master several n are answered with three rows, and that root is missing: an incomplete answer, where the contract is all rows or a decline.
Measured on master fc8aaf4c2 (MathS.Equations(...).Solve("x", "y")):
n
c = 2
c = 3
c = 5
≤ 60
4 rows
4 rows
4 rows
80
declined
declined
3 rows
90
3 rows
declined
3 rows
100
3 rows
declined
declined
120
3 rows
3 rows
3 rows
The root is dropped as spurious on evaluation that rounding has spoiled. Since #2612 the eliminator also tries the second equation for y, which leads through ((x^2 + P x - c)/(Q x))^2 = 2. At n = 90 that equation's small root 2.03e-35, exact, leaves -0.042 as evaluated at a hundred digits, against terms near 3. No interval enclosure of it can be worked out, so it is dropped as spurious. At two hundred digits the same residual evaluates to something else altogether. In #2620 merged with master, a row from the same path is dropped in the system's own check: its residual evaluates to -7.2e-21, while its enclosure (near 6e-53) is within rounding.
Activity