Refinement with separate degree and precision #
A wider grid reduces rounding error; more series terms reduce truncation error. Increasing only the degree can therefore leave an enclosure straddling the same rounding boundary indefinitely.
After a failed check, the search tries twice the degree and one extra working bit. If the interval width then shrinks by at most a factor of four, the next attempt doubles the working precision instead. The degree stays fixed for that attempt. This is a work-selection heuristic: acceptance always uses the supplied checker, and the witness theorem below does not assume convergence.
Remember the previous failed width when choosing the next refinement step.
Instances For
Try at most steps enclosures, increasing degree or precision according to the observed width.
The first attempt uses the supplied degree and precision exactly. A successful check returns
immediately; an exhausted budget returns none.
Instances For
Every returned value was accepted from an enclosure at an actual degree and precision.