Skip to content

Speed exact Eisenstein floor replay with integer-pair rank - #2627

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ywz65:ywz65/add100-r038-eisenstein-integer-rank
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ywz65:ywz65/add100-r038-eisenstein-integer-rank

Conversation

@ywz65

@ywz65 ywz65 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

The complete Eisenstein floor verifier spends much of its runtime in exact Fraction rank arithmetic. This adds an optional source-authenticated integer-pair K-rank adapter for all 359 calls over K=Q(omega), preserving the unchanged verifier's entire output and seven original negative controls. Its 311 F4 and 209 Q calls retain their original implementations. No frozen source, existing verifier, selected record or mathematical claim is changed.

Six alternating fresh-process timing pairs on CPython 3.12.7/Windows, after warmup, gave these medians:

Identical fixture Original Integer K-rank Ratio
Complete replay, including imports/authentication 1.43271 s 1.20969 s 1.184x
All 359 actual K-rank calls 0.485263 s 0.057389 s 8.456x

Every complete stdout byte stream matched. Timed matrices are frozen copies whose ordered digest must equal the verified actual-call census; the receipt also records adapter hashes and all timing observations. Concurrent machine load was uncontrolled, and no universal speed or CI improvement is claimed. The full observed ranges were 1.14770–2.24239 s and 0.85541–1.56985 s. Timing is evidence, not a passing threshold.

The proof uses standard exact row operations: clear each row's rational denominators, eliminate with nonzero pivot multiplication and subtraction over integer pairs, then divide out common integer content. All operations preserve K-rank. No numerical tolerance, modular rank inference or mathematical-result cache is used. A separate restriction-of-scalars checker expands each K entry to a two-by-two rational block and passes 9,009 matrices, checking rank_Q=2*rank_K without importing the retained rank function.

Use the adapter:

python3.12 -I -O -B research/eisenstein-integer-rank/replay.py

Validate its complete evidence:

python3.12 scripts/research_package.py --package research/eisenstein-integer-rank

The registered CPython 3.12.7 suite passed: every actual K-call comparison, complete-output equality, eight new controls, independent rational rank checks, Git-free full replay, both source corruptions rejected before import, and a bool/int receipt mutation. A separate AI reviewer read the proof, algorithm and adapter, then independently passed optimized CPython 3.12.14 primary and 9,009-matrix checks with no blocker. No human review, hosted CI, selected full replay or proof-assistant result is claimed.

Base and refreshed main are 0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, priority revision 4. The sole draw f8bcc67b513a3d69bbc4e37e0216af2b selected verifier engineering; TASK records the refined replay-runtime scope and required baseline pass. Final overlap includes the complete cached 798 open PRs and 1,252 Discussion records at 15:55/15:59 UTC, plus 50 current updated open PRs and exact PR2017/2537/2552/2506 bodies at 16:10 UTC. PR2537 accelerates rational nullspace output in a different initializer; this is quadratic-field rank with no returned basis. PR2607's adaptive affine floor is a separate mathematical result.

Credit Jose Manuel (@jmbarrancoml) for PR2017's full verifier and proof, and Jonathan Lam, Joel Pulikkan / GamingPuzzled for the retained geometry. Their source notices remain untouched. Primitive integer elimination and restriction of scalars are standard methods. New profiling, adapter and verification work is by ywz65, with substantial OpenAI Codex assistance in derivation, implementation, testing, writing and review. Apache-2.0. No new supplier, pairing bound or kappa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants