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 1a80be1
Browse filesBrowse the repository at this point in the historyBrowse files
A set Settings.Budget caps lids and arguments, and replaces allowances (#2475)
Each BudgetLedger.For call site now declares a BudgetRole, and a set
MathS.Settings.Budget does to it what that role calls for:
- Allowance (SolveSystem's 10,000 steps / 60 s, Gröbner's 5 s): replaced,
as before, so "raise MathS.Settings.Budget to allow more" stays true.
- Lid (the perfect-square proof's 2,000 steps / 50 ms): the smaller limit
on each axis, so a set budget, Unlimited included, never lifts it.
- Argument (EqualitySaturation, CanonicalizationOverGraph, AreEqual):
the argument is the allowance and the set budget caps it, so an
explicit budget inside an Unlimited scope is spent as passed.
The lid is tightened on both axes rather than the clock alone: a lid is
never raised, so the incomparability of steps between algorithms does
not bite, and a caller who set steps is not ignored. The proof completes
in 15 to 1,203 steps over the unit suite (median 212) and a stopped
proof falls back to the symbolic test; Factorize and Simplify answers
were measured unchanged under unset, Unlimited, {Steps = 1} and
{Steps = 1_000_000}.
What moves: EqualitySaturation and CanonicalizationOverGraph with an
explicit budget inside a scope set to Unlimited, measured against the
2.7.0 package; BREAKING-CHANGES.md has the rows. The four test-only
ledgers pass their own budget, so they are Argument.
Part of #2454
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments