perf(int-factor): accept shared-host divisor evidence - #10122
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The divisor Phase-4 gate assumed a quiet or dedicated CPU could eventually be found, so complete evidence was repeatedly blocked by ordinary shared-host activity. This change adopts a repository-wide shared-host policy: pin for placement, use trial-major or adjacent AB/BA collection, retain every completed run, and treat host telemetry as context rather than an admission threshold.
For
Hex.Nat.divisors, the preregistered seven-trial squarefree ladder now passes the independently derivedτ log₂ τmodel across all 42 measurements. The retained artifact validates complete divisor arrays and checksums outside timing; the exact LeanBench verdict isconsistent_with_declared_complexitywith residual slope-0.014231. The core and bridge reports map the transported APIs explicitly torunDivisors, clear Concerns, and recertify both libraries through Phase 7 without adding them to the release manifest.The collector also preserves raw context and failures before validation, auto-selects the least-active available CPU without rejecting a busy host, and keeps reviewed runtime-neutral comparator changes from forcing unrelated remeasurement. Independent Opus review prompted removal of the remaining host-admission, preflight, retry, and obsolete null-control machinery.
Validation:
lake build HexIntFactor HexIntFactorMathlib HexConformance HexManual(11,480 jobs)lake exe hexintfactor_bench verify(41 registrations)Closes #9619.