Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
185 changes: 185 additions & 0 deletions research/central-factor-packed/BENCHMARK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"assignment_seed": 93,
"clock": "time.perf_counter",
"fresh_processes": true,
"implementation_sha256": {
"benchmark.py": "6f054daef039db3e0f3c76f9e0f8d21c79687789c479060cd89f0ef4231a570a",
"packed.py": "42f244d6e81dc5ea038a9dea19ccc803872603a94d5e405de14af8a47a11b9f6",
"verify.py": "1ae95e2077a3dd6eea8d20eac1b6c32022f978f7614d8a7bed3276a2ff2a1667"
},
"machine": "arm64",
"median_wall_seconds": {
"complete_historical_audit": {
"baseline": 5.629785832948983,
"packed": 3.489217291935347,
"speedup": 1.6134810078928439
},
"factor": {
"baseline": 2.185536375036463,
"packed": 0.11921716597862542,
"speedup": 18.332396656940414
}
},
"note": "Descriptive local timing; no performance pass/fail threshold. Complete audit includes source admission and full certificate comparison.",
"pairs": 3,
"platform": "macOS-26.5.2-arm64-arm-64bit-Mach-O",
"python": "3.14.6 (main, Jun 10 2026, 10:03:53) [Clang 21.0.0 (clang-2100.0.123.102)]",
"samples": [
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "baseline",
"pair": 0,
"receipt_sha256": "1c86b30c31a0c24b735dd0be034ee4f3650870c53fd87e7a0e02e856a421d20e",
"scope": "factor",
"seconds": 2.1451282089110464,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 2.185536375036463
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "packed",
"pair": 0,
"receipt_sha256": "1c86b30c31a0c24b735dd0be034ee4f3650870c53fd87e7a0e02e856a421d20e",
"scope": "factor",
"seconds": 0.07160433300305158,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 0.1152129169786349
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "packed",
"pair": 1,
"receipt_sha256": "1c86b30c31a0c24b735dd0be034ee4f3650870c53fd87e7a0e02e856a421d20e",
"scope": "factor",
"seconds": 0.07812366692814976,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 0.12545266700908542
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "baseline",
"pair": 1,
"receipt_sha256": "1c86b30c31a0c24b735dd0be034ee4f3650870c53fd87e7a0e02e856a421d20e",
"scope": "factor",
"seconds": 2.07244266604539,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 2.127540541929193
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "baseline",
"pair": 2,
"receipt_sha256": "1c86b30c31a0c24b735dd0be034ee4f3650870c53fd87e7a0e02e856a421d20e",
"scope": "factor",
"seconds": 2.3123182910494506,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 2.3886496250052005
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "packed",
"pair": 2,
"receipt_sha256": "1c86b30c31a0c24b735dd0be034ee4f3650870c53fd87e7a0e02e856a421d20e",
"scope": "factor",
"seconds": 0.07200662500690669,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 0.11921716597862542
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "baseline",
"pair": 0,
"receipt_sha256": "ffae0f0a22863718e3134a924592dcf4b05e919223323ba536c587c592bfe6a1",
"scope": "complete_historical_audit",
"seconds": 5.661211083992384,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 5.70579924993217
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "packed",
"pair": 0,
"receipt_sha256": "ffae0f0a22863718e3134a924592dcf4b05e919223323ba536c587c592bfe6a1",
"scope": "complete_historical_audit",
"seconds": 3.407135499990545,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 3.463569500017911
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "packed",
"pair": 1,
"receipt_sha256": "ffae0f0a22863718e3134a924592dcf4b05e919223323ba536c587c592bfe6a1",
"scope": "complete_historical_audit",
"seconds": 3.4814892079448327,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 3.528779415995814
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "baseline",
"pair": 1,
"receipt_sha256": "ffae0f0a22863718e3134a924592dcf4b05e919223323ba536c587c592bfe6a1",
"scope": "complete_historical_audit",
"seconds": 5.577469042036682,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 5.629785832948983
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "baseline",
"pair": 2,
"receipt_sha256": "ffae0f0a22863718e3134a924592dcf4b05e919223323ba536c587c592bfe6a1",
"scope": "complete_historical_audit",
"seconds": 5.373669790918939,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 5.414713500067592
},
{
"base_commit": "47481c89fd30a43f8f882eb4b391e89c29273fd0",
"coefficients_checked": 6760000,
"engine": "packed",
"pair": 2,
"receipt_sha256": "ffae0f0a22863718e3134a924592dcf4b05e919223323ba536c587c592bfe6a1",
"scope": "complete_historical_audit",
"seconds": 3.444073290913366,
"source_files": 43,
"source_manifest_sha256": "cc1165946c6469f8873ad4fcf8be6698b210411c300314dde8a0319f9b1ad7df",
"status": "PASS_CENTRAL_FACTOR_PACKED",
"wall_seconds": 3.489217291935347
}
]
}
66 changes: 66 additions & 0 deletions research/central-factor-packed/CLAIM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Seed 93: exact central-factor verification

- Track: verification engineering; OS assignment seed **93** from
`secrets.randbelow(100)` at 2026-10-13 14:01:44 UTC.
- Base: `47481c89fd30a43f8f882eb4b391e89c29273fd0` (`origin/main`, fetched).
- Local claim: 2026-10-13 14:05 UTC. Expected finish: 14:33 UTC
(01:33 AEDT on October 14); final eight minutes reserved for verification
and handoff. No pinned issue or open sprint coordination issue was present.
- Object: `scripts/experiments/complex_centers.py::verify_factor`, especially
the historical h=26 dyadic central factor's 6,760,000 integer coefficients.
- Hypothesis/method: injectively encode complete coefficient rows in integers
using a proved input-dependent radix, retaining every supplied gather/scatter
entry and all original structural and scalar-charge checks. Compare the full
original receipt and benchmark the same factor and complete historical audit.
- Deliverable: opt-in source-pinned accelerator, radix argument, differential
and corruption controls, reproducible before/after timings, and a focused PR.
No new kappa, construction, search or impossibility claim.

## Selection and overlap

Three candidates considered: historical scratch-pooling interval bounds,
historical disjoint-tensor frame traversal, and historical dyadic central
factor coefficient checking. The first already intersects pending
logarithm/interval accelerators #667/#672; the second would require broader
graph changes. The central factor has a small complete exact oracle,
and the original h=26 check measured 3.495 seconds on this host.
The assignment seed also fixes the alternative-basis permutations and the
64 large signed-entry cases, including first/last/random row selection and
parameter choices h=8,10,12,14. Scope diversity comes from the different
verified product, not from rerunning an existing search with a new seed.

The 717-open-PR snapshot and focused all-state/current searches were checked.
#809 changes this historical factor by a basis shear; this work changes only
verification of supplied factors. #898/#752/#778 use related exact integer
packing for other matrices. Their technique is credited, with no pending code
import. #849 changes a selected scalar replay, #818 changes R420 RREF, #921
schedules test modules, and #946 handles byte/container portability. None
reserves this coefficient verifier. Closed negative results are not reopened.

The selected base record is PR890's conditional
`1661957774647029/10^18`, with PR869/870, Hao Yan's PR858 T16 construction,
and PR589 on PR555. It was traced through `selected-result.json`, the current
status/review ledger, `community-frontier890-review.md`, and the literal T21
construction/proof. Earlier local checkout material described PR799; the new
worktree and exact-base records supersede that initial reading.

## Result

Completed: [source, proof and reproduction](README.md),
[exact timings](BENCHMARK.json), and [validation](VALIDATION.md).
The complete historical audit's median fell from 5.629786 s to 3.489217 s
(1.613481x), with byte-identical certificates in all six complete-audit timed
runs. Factor-only median improved 18.332397x. Eleven test groups pass on
Python 3.14.6 normally and under `-O`, and on Python 3.12.12. A minimal offline
relocation and selected-record integrity check pass. No kappa change.

The final complete snapshot contains 701 open PRs through #948. An immediate
pre-submission refresh also found #949's distinct factory-scale optimum.
New #947 and predecessor
#937 concern changed historical factors/shear optimality, not this verifier;
their exact heads and distinction are credited in NOTICE.md. #809/#898 heads
remain unchanged. No coordination issue is pinned. Main advanced to
`007664306fff84fbb1c9a1b4053b69f439764034`; all 43 inherited pins still match its
Git blobs and PR890 remains selected. The branch keeps its exact starting base.
The implementation was frozen before the final verification phase; no further
investigation or delegated work was launched.
47 changes: 47 additions & 0 deletions research/central-factor-packed/NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Attribution and license

Prepared by **Ross Richardson (@RossRichardson)** with substantial
**OpenAI Codex assistance**, including design, implementation, mathematical
analysis, tests, documentation and automated verification. No independent human
peer review is claimed. This contribution is under the repository's
Apache-2.0 license; see the root `LICENSE`.

The original dyadic factor, structural validation, receipt schema, side circuit,
phase argument and cost ledger are by **Douglas R. Colkitt**, retained at
`d55bcd62ceb8f322bcf311a5a66e94c3ac7724f0`. The structural/charge checks in
`packed.py` are adapted from his `scripts/experiments/complex_centers.py`;
the baseline and proof sources are retained unchanged and pinned in
`SOURCES.json`. Upstream material retains its own source notices and license.

Related exact integer-packing verification work, inspected before this change:

- Curtis Dransfield / @Curtis-D,
[PR752](https://github.com/CrocSwap/integer-mult-bounds/pull/752),
`3603d8d9184995ae1cc67c0f5e01f02f3a1d634e`: quadratic-affine witness replay.
- @merramil, [PR778](https://github.com/CrocSwap/integer-mult-bounds/pull/778),
`f015b04c74801fa330f818d178e809c760fb5469`: single-intersection Gram replay.
- @CubeJerry, [PR898](https://github.com/CrocSwap/integer-mult-bounds/pull/898),
`521c86e7fd4d0fbd1ed4e0524aa26a1e45861477`: Leech-minor byte lanes.

This contribution applies the related injective-encoding principle to a
different exact obligation: the complete rectangular sparse gather/scatter
product against triple incidence, with an input-dependent signed radix.
No pending PR implementation is imported and no novelty claim is made for
integer packing itself.

Curtis Dransfield's [PR809](https://github.com/CrocSwap/integer-mult-bounds/pull/809),
`66cabb478385fbaa1a8060123cd57545d703d84e`, researches a basis shear of the same
historical center. It is a construction contribution; this verifier retains
the baseline factor and does not import or certify that PR's changed invoice.
The final overlap check also inspected Ross Richardson's
[PR937](https://github.com/CrocSwap/integer-mult-bounds/pull/937)
(`b303fed6dfe2066dcd78c0d8ed74d2a3b153ba72`) and
[PR947](https://github.com/CrocSwap/integer-mult-bounds/pull/947)
(`b6f6418bdcae748b267cea72a5949d551feb7bb2`). These change the historical
factor and classify a shear family, respectively; their construction/proof
code is not imported or replayed here.

The accepted frontier is credited in `community-frontier890-review.md`:
Chafik Boukhalfa's T21 composition, Jeremy Kothe's U8 work, Hao Yan's T16
mechanism, DreamingOfClouds' PR589 on eumemic's PR555, and their predecessors.
This package does not alter their result or establish new source priority.
Loading
Loading