Skip to content

Save 39 of 48 encoded Machin divisions at Q=16 (no κ) - #6265

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w7-1030a-frontier-step
Oct 31, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w7-1030a-frontier-step

Conversation

@petalas

@petalas petalas commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Scoped implementation/resource proof with exact finite physical corroboration: the encoded PR3709 Machin setup saves 39 of 48 quotient divisions at Q=16 while paying eleven new stopping comparisons. An all-precision argument proves real-value enclosure, containment in the old directed interval and a strict division saving for every Q>=16. No new kappa or selected-frontier change.

 form the next encoded denominator
+if denominator > unit, close the encoded iterator and stop
 divide and accumulate the signed interval
 retain the original one-unit alternating-tail padding

Only research/encoded-machin-tail/ is added. The opt-in adapter keeps the inherited arithmetic and replaces termination. This contribution was produced by Nick Petalas. Credit Jose Manuel / jmbarrancoml's PR3709 physical implementation; Dugongue's PR4554 magnitude-based Machin precedent; the classical alternating series and Machin identity; Mason Hale, PR3640, PR2790 and all retained Fourier/tape/native predecessors. The general stopping method and predecessor construction are not claimed as new.

Advance CLAIM. Base canonical main 2485805a6d47f36ea83ddde6327d453ac82d44dc, priority revision 8, selected conditional kappa .003125804. The original replay-runtime card is marked changed to this exact arithmetic/resource result; a wall-time gain was not predicted.

Evidence

  • The Q=16 invocation has 123233 reads, 20354 writes and 97974 unit moves, including comparisons, tested divisors, encoded loop work and numerical cleanup. The baseline has 985120 reads, 186601 writes and 784758 moves. Peak leases are sixteen and seventeen respectively. Fixture serialization, pool construction and final marker erasure are outside both traces.
  • Four complete Machin traces at Q=16,21,32,64 use 9,10,13,22 divisions instead of 48,58,80,144; each reduces every recorded tape metric. The input tapes and heads are preserved, and all scratch leases return.
  • Exact Fraction corroboration covers 512 interval cases, 72 strict/equality boundaries and 497 source-precision counts. Ten complete twiddle packets in both directions are compared by literal bytes and remain equal. Five controls cover lost stopping, equality stopping, omitted padding, invalid denominator and an interrupted quotient.
  • Every run authenticates the four live inputs and emits computed results with all package-file hashes. No handwritten receipt. Normal and optimized output equality, metadata/pins, committed bytes/source ancestry and portable export checks are recorded below.

From the worktree root, using the recorded CPython 3.12.15 interpreter and standard library:

/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -W error -B research/encoded-machin-tail/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -O -W error -B research/encoded-machin-tail/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/research_package.py --package research/encoded-machin-tail
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/check_research_commit.py --package research/encoded-machin-tail --check-source-history

Use another CPython 3.12 path on another host. Expected markers are PASS_ENCODED_MACHIN_TAIL and PASS_REGISTERED_RESEARCH_PACKAGE. Both registered commands replay the complete finite domain, with separate 180-second limits. Set TMPDIR to an existing external scratch directory to contain the inherited temporary cohorts.

Local macOS arm64 / CPython 3.12.15 direct normal and optimized replays passed in 36.581 and 36.578 seconds. Their complete generated receipts are byte-identical, and every package hash matches the final working bytes. Both checks remain below their 180-second limits. The registered normal/optimized runner also passes at the final bytes. Committed-byte/source-history preflight passes for all 13 package/input files with base 2485805. Official export and declared-input integrity checks pass. Both normal and optimized replays of the official read-only export passed without Git on PATH, in 37.012 and 37.577 seconds. Both stdout receipts equal the direct receipt exactly; all 14 exported files retain their bytes and modes during replay. A separate changed-live-source copy is rejected before execution. Export SHA256: f62be16ca288e4c67c4650929bcb517dde771968489f0a0ebc9dac37442daada. Verified head: b515725c00fe0747e6cf758aceafff2fdd077f16.

Limitations

The universal claim is the written scoped proof; finite traces corroborate it. PR3709's Taylor/consumer contract is a cited premise, not re-audited here. New pi intervals can change untested twiddle bits while preserving that sufficient error bound. No universal packet-byte identity or strict low-level tape saving is inferred from a division count alone.

Whole product/convolution installation, production-sized GL64/O73 execution, whole-caller timing, complete paid supplier invoice, selected cold replay, Lean and kernel/human review are unrun. All five selected framework assumptions remain. The isolated adapter uses controlled namespace substitution; concurrent embedding is outside its contract.

Related open work

At publication, the open-PR list, targeted twiddle query and local claims identified no open PR targeting this encoded PR3709 Machin setup. The overlap helper covered 316 open PRs, but its Discussion refresh failed with a TLS handshake timeout; separate live GraphQL checks covered the latest 30 handoffs and 15 active Discussions. PR3709 and the differently implemented PR4554 are merged predecessors, credited above.

The completion refresh listed all eighteen open PRs on this account and inspected the fifteen other open contributions created since the advance CLAIM at 2026-10-30T11:23:23Z. None targets this Machin setup or computes its division/resource fixture. References to this PR in adjacent arithmetic, phase-window and transfer-identity work were read. No shared-number disagreement was found, and no additional computation checked other contributors' results. This coverage is bounded and excludes unpublished work.

Open next questions

Can this exact stopping adapter be installed at one complete physical caller with a favorable whole-call cost? Preserve its precision, packets, ownership and restoration, and measure all preparation and execution stages. Production-scale execution and the full caller bill remain the blockers. No follow-up is reserved.

CI notes

Both hosted checks passed at exact head b515725c00fe0747e6cf758aceafff2fdd077f16 in run 41049602149: plan and replay (research/encoded-machin-tail). The completed checks were read once; separate run metadata confirms the matching head, completed status and successful conclusion. All registered commands also passed locally. Hosted replay certifies the registered finite checks, not independent human or formal proof-kernel acceptance of the universal written proof. No CI failure remains.

Merge Danger

Door: two-way. This adds one isolated opt-in package.

Blast Radius: local. Frozen source files, shared code and selected-frontier records are unchanged.

@Mister-Meeseeks
Mister-Meeseeks merged commit 94ad794 into CrocSwap:main Oct 31, 2026
2 checks passed
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