Skip to content

Independent verification: ten optimal tests for R420 compensation faults - #762

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
thakrarsagar:verify/r420-adjoint-compensation-seed81
Oct 14, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
thakrarsagar:verify/r420-adjoint-compensation-seed81

Conversation

@thakrarsagar

Copy link
Copy Markdown
Contributor

Ten fixed dirty-helper assignments detect every change of at most three coefficients per target row in the selected R420 D compensation. A sum-free-column argument proves that nine nonadaptive binary assignments cannot give the same guarantee. The package supplies the ten patterns, exact execution checks, and a four-coefficient fault that passes all ten but fails on a singleton helper input.

Status: independent verification / research note; no new kappa. The fault model keeps A/scatter/B/C fixed and observes each target separately. The tests do not replace full symbolic verification, and the optimum does not cover adaptive tests or other observation channels.

The baseline K=D identity is independently checked by backward covectors on all 120 targets and 660 original inputs. A separate implementation uses forward support sets and ten literal Boolean executions. The suite covers all 12,348,350 nonempty helper supports of size at most three per target, using odd columns for the triple case and exhaustive checking of 87,990 pairs. A full covector check rejects the deliberately undetected four-coefficient mutant.

python3 -I -B research/r420-adjoint-compensation/verify.py
python3 -I -B research/r420-adjoint-compensation/independent_check.py

Expected primary output: PASS_R420_COMPENSATION_SUITE tests=10 optimal=10 radius=3 targets=120 blind_weight=4 controls=129.

Normal/optimized Python 3.9.6 and optimized Python 3.14.8 checks pass. Certificate emission is byte-identical across versions. Both final checkers pass from a minimal copied tree in a path with spaces and an unrelated working directory. Source corruption, zeroed parity probe, altered test count and missing inputs reject. make selected-record-check and staged whitespace checks pass. The independent checker additionally rejects zero-column, duplicate-column and zero-sum-triple test suites.

Only research/r420-adjoint-compensation/ is added. Base: 66849e1475c930fd7732b1a0067ffee7e1e95f60. PR543: 2065fe4f72a914d907f1046603f5a36f17018535. Selected PR626: 660de893d27bb7abd1d5b01b1640207528a5c851. Compressed/payload/source pins and exact native-word Git blob are recorded. The selected frontier and upstream/ are unchanged.

OS assignment seed 81 selected independent verification. No pinned sprint issue existed, so the claim is local. The initial scan ended at #725. The final refresh covered 578 open PRs through #759. Joshua Snider's concurrent #731 had submitted the same compensation-rank investigation during this work; it is credited, and this package pivoted to the distinct optimal test suite. Its four-term witness concerns the test matrix, not #731's compensation-matrix kernel. No pending code is imported. #612's formal D-parity obligation remains open; #737 geometry and #745 complex private-input checks have separate scopes.

Credit remains with eumemic's PR543 and the PR493/370/425/503/510 lineage, Jacob Sussman's E8 unit, icekylinx's carryover work, Jeremy Kothe's PR622, Chafik Boukhalfa's selected PR626 and Joshua Snider's concurrent #731. Prepared for Sagar Thakrar (@thakrarsagar) with substantial OpenAI Codex assistance, including a separately written checker and proof review. Apache-2.0; no independent human peer-review claim.

Full repository/cold supplier replay, remote Linux CI and Lean were not run. Physical frames, COPY/ERASE, general source/helper restoration, hosting, cost, precision/tape/recovery and all-size/analytic multiplication obligations remain inherited. The result is a finite fault-model certificate plus a written elementary optimality proof.

@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

100-PR batch review at e35bd9b325c84dbe9b9c2903ea4a064ae45df80f.

Merged to main, preserving the original contributor commits and package attribution.

Reviewed scope: Ten adjoint tests detect at most three coefficient faults per row; explicit four-fault blind spot retained, not a replacement for full symbolic replay.

The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions.

Batch review, attribution and evidence. Thank you for the contribution.

@thakrarsagar
thakrarsagar deleted the verify/r420-adjoint-compensation-seed81 branch October 14, 2026 19:57
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