Skip to content

test(research): independently audit the six restore skips - #3050

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/20261016-rank7-next
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/20261016-rank7-next

Conversation

@petalas

@petalas petalas commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Independently audit the literal PR3042 restore edits at 84cc406ad91ec53fff329a11a445d7effe564a77, without importing predecessor code.

 Inspected description
- E42: 26 -> 29 gates, three skips
- E7:  13 -> 14 gates, three skips, including register 22
+ Literal E42: 26 -> 33 gates, four skips: 22, 40, 54, 63
+ Literal E7:  13 -> 15 gates, two skips: 5, 73

The combined saving remains correct: -12 H1 + 6 H2 per call. Exact rational substitution preserves arbitrary dirty state; a separate finite-set frame implementation checks both providers, ordered widths, cleanup and all 91 private buffers. Replacing the local profiles reconstructs the complete T74 bill, conditional on unchanged baseline geometry. This is new independent coverage and a source-description correction, not a new kappa.

Proof, pinned sources, evidence and reproduction. Canonical investigation.

Evidence

  • Before: the inspected public description assigns three skips to each block. After: isolated literal edits produce -8 H1 + 4 H2 and -4 H1 + 2 H2; both full restore matrices agree over the rationals. The relevant description quotes are retained with their observation time.
  • Both providers' complete frame itineraries pass. The full delta is -7992 H1 + 3996 H2, with unchanged rank mass 4,816,512 and charged stock 66,813.
  • Registered replay, 13 behavioral groups and semantic failure controls pass. Normal/optimized Python 3.12 and Python 3.13 receipts match. Warnings-as-errors, strict Ruff checks, source compilation and all 26 committed package/input byte comparisons pass locally.
python3.12 -B scripts/research_package.py --package research/rank7-restore-substitution-audit

Credit dcharb78/PR3042, Jeremy Kothe/PR3015, Marius-Paul Dumitrean/PR2979 and their retained geometry/native/owner lineage. Original notices are unchanged. Development used substantial automated assistance; no independent human or formal-kernel review is claimed.

Merge Danger

Door: two-way

Blast Radius: isolated

Only one new research package and its opt-in replay are added. Frozen predecessors, shared tooling and the selected frontier are unchanged. Native phases, owner legality, physical/prefix/precision costs, all-size/compiler and outer contracts remain premises; no fresh native/admission/outer replay was run. The live T740 composition claim is separate. A bounded extra source-sharing probe produced no paid gain and was stopped.

Prove both PR3042 substitutions over arbitrary dirty rational inputs and independently recount their frame and complete-profile deltas. Record the four-plus-two skip attribution and actual replacement gate counts without changing the selected frontier.
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