Repository navigation
Commit 9c3dce4
A root check says what it tolerates: zero to about fifty digits (#2163)
GroebnerSystemSolver.Satisfies said that "no tolerance is involved
anywhere, which is what would turn a root that is merely close into one
that gets reported". It decides with InnerSimplified, and with downcasting
on, the default, a residual that evaluates below DowncastingTolerance
(half the hundred working digits) times the scale that cancelled comes out
as 0. Measured on 583338e: 8y^3 + 4y^2 - 4y - 1 at the Cardano root for
cos(2pi/7), with one 7 made 7 + 10^(-50), is 0 to InnerSimplified, while
mpmath at 200 digits gives 2.48e-52 - 3.26e-52 i. With 10^(-40) it is left
unsimplified, and evaluates to 2.48e-42 - 3.26e-42 i.
So a candidate right to about fifty digits is accepted. The comment says
so, and "proves" becomes "settles" where the same paragraph names what it
reduces to zero. No behaviour changes.
Found answering #2143
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent b043d06 commit 9c3dce4
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
261 | 267 | | |
262 | 268 | | |
263 | 269 | | |
| |||
0 commit comments