Skip to content

Supply F4 first-success slices with independent literal witnesses - #6552

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ToikY:codex/b9-session-10
Nov 10, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ToikY:codex/b9-session-10

Conversation

@ToikY

@ToikY ToikY commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

This supplies PR6543's released fixed F4 executable backend for the first-success raw-pencil constructor. It returns a least-degree extension field, a literal invertible projective slice and its two-sided inverse. The primary uses Ali Romman's existing authenticated Field implementation; every scalar, polynomial, Bareiss, Frobenius/Berlekamp and quotient-matrix operation uses field arithmetic. Encoded F4 elements are not integers modulo4, and q=4 cardinality is distinct from characteristic2.

The addition is an executable interface and independent returned-witness evidence. PR6543 already supplies the first-success algorithm and all-prime-power arithmetic proof; Nick Petalas6451 supplies the threshold and attainers. Ali5664 supplies the field backend, and5692/5712 already handle raw nonprime pencils/transport. This is not a new threshold theorem, generic field framework or first F4 pencil implementation. The source proof and fixed-field binding are explicit in PROOF.md.

Evidence: both independent engines agree byte for byte on all 65,536 raw 2x2 cases, including every determinant polynomial, status, selected projective point, literal slice and inverse: 63,360 regular, 2,176 singular; 4,476,800 bytes. The primary uses source-table arithmetic and polynomial elimination; the oracle uses separate XOR/carryless arithmetic, explicit2x2 formulas and all five projective points. Ten named literal inputs additionally exercise F16/F64 witnesses at dimensions5/17, nonprime strict-equivalence transforms, a repeated-root dimension9 case and boundary cases. After blind first seals the oracle checks all ten actual primary outputs, including modulus, embedding, point, slice, minimum degree and both inverse products for every regular case. It imports no source or primary arithmetic code.

Validation passes: unchanged first receipts; strict normal/optimized emissions/defaults; 14 primary controls and four actual oracle witness/input rejections; 21-file byte/source-history/mode checks; exact input-recipe regeneration; official export integrity; four read-only Git-free/empty-PATH replays; twelve external optimized corruption rejections. No scientific run failed or scientific code changed after its first seal. Control labels are precise: the p-Frobenius counterexample is a base-linearity guard; Z/4 is rejected by actual backend admission, without disabling that guard. Six original source objects and notices remain byte-exact. Only the credited Field definitions/construction execute; no predecessor scientific checker runs.

Reproduce with CPython3.12, standard library:

python3.12 -B scripts/research_package.py --package research/f4-first-slice-constructor

All four normal/optimized commands are registered. Hosted run41589630433 passed at the exact public head:711 helper tests (24 skips), all four registered normal/optimized commands and unchanged-input checks. Completed logs are retained; the synthetic CI tree matches the tested/public tree. No actual merge occurred. Tested/exported/public tree: 32f5e85f797377eb8e16df06505805e5bf2bd3c1, public head d26d02598a7a1e259a2e2c1dfbdbf7860e572199.

Scope limits: the implementation fixes F4 and admits dimensions0..17; independent execution covers the complete2x2 domain and ten named matrices, not all larger matrices. The inherited all-size theorem and general arithmetic bound are not newly recertified. Original-field SL descent, actual native/consumer binding, physical coefficient delivery/access/restoration, bit/tape/precision/stock/control, compiler and complete recursive/outer invoices remain open. All five selected assumptions remain; no new kappa or selected-frontier change, human/kernel acceptance, selected full replay, Lean or Docker.

Task portable-replay/91a9a2afec282c926282 explicitly changed from environment/payload repair to this released nonprime executable gap. Canonical main 7c49fe32c55de02c2c873655c804b16e4c3fef0a, priority8/selected6030 unchanged.502 open PR bodies plus fresh latest100, four all-state searches, current source heads/empty feedback and rendered Hub checked; arbitrary diffs, complete closed inventory, hidden work and uninspected replies remain unknown. Advance claim and final handoff. Maintainer edits and auto-merge off; no merge/frontier change.

Exact dependencies:6543 0a389a6cf4a267faa8d253e9ee610be454f78491, Ali5664 8f7773e700d468396cbf893dfb18bf3ae6c20f66, Petalas6451 e9548573ead05bbecaaa6e194f9f8298d9a6923a. Open next questions: bind one actual consumer/descent with full coefficient-delivery charges; take another missing backend only after checking existing F4/F9 coverage. Neither is reserved after DONE. NOTICE retains Ali5692/5712/6309, apoursh5672, David Ganz/tensor-atlas/native and classical Bareiss/Frobenius/Berlekamp credit.

Prepared by ToikY with substantial OpenAI Codex assistance and separate AI primary/oracle/static review. Apache-2.0; human/kernel acceptance unclaimed.

@Mister-Meeseeks
Mister-Meeseeks merged commit 82814d3 into CrocSwap:main Nov 10, 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