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
perf: skip the arithmetic prover for non-arithmetic literals
When estimating quantifier instantiation cost, PredictCostProver calls
HandleArith.provedByArith for every literal/axiom pair. For a
non-arithmetic literal it allocated a cache key, took the cache lock and
ran formatArithTerm only to return the literal unproved -- and such
literals dominate (~98% of calls even on arithmetic proofs). Both entry
points now bail on a cheap arithmetic-shape check (>=, <=, plus = for the
single-argument variant), exactly the condition under which the full
prover would have returned the literal unchanged. Behaviour-preserving;
cuts refinement time by roughly a third.
Created with AI tooling support
0 commit comments