Skip to content

Save twenty P104 scalar units and two events through dirty-output sharing (no new κ) - #5999

Open
petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w5-1022ag-frontier-obstruction
Open

petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w5-1022ag-frontier-obstruction

Conversation

@petalas

@petalas petalas commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A dirty-output sharing replacement on the PR5907 P104 word saves two ordinary events and twenty scalar allowance units. Claim type: scoped exact circuit construction with a finite certificate for the complete modified word. No new κ.

f = field133 + 2 field721 + field21 - 2 field711

before: a += f; b += f             # eight source ADDs
 after: b -= a; a += f; b += a      # six ADDs; both inputs arbitrary

The actual interleaved window has no observation of either destination and no write to the four shared sources. The patch retains every other event in order. Full events: 25,998 → 25,996. Complete local scalar allowance under PR5827's retained tariff: 228,664 → 228,644. Every non-ADD event, frame, boundary, owned lifetime and productive inventory is preserved, so the paid profile and signed recursive moment are unchanged.

This takes Matarener's PR #5975 ordinary-resynthesis question. Its predecessor compression is cited, not audited. This changes the dependency graph rather than combining repeated ADD pairs or applying sign normalization. Search stopped at the first positive candidate.

Proof, source pins and constructor. Produced by Nick Petalas. Credit DreamingOfClouds #5907, Ali Romman #5827, Mason Hale #5811, Matarener #5975, Cinna Davis #4692 and their retained P104/native/caller/compiler lineage. Dirty-output sharing is a standard technique; this literal window and bill are the new application.

Evidence

  • Exact rational matrix equality on the 100 arbitrary fields touched by the 163-event window; the replacement has 161 events.
  • Complete modified-word symbolic replay on all 799 independent input columns, specifying all 638,401 endpoint matrix entries. No predecessor scientific replay is used as the deliverable.
  • Every new ADD has available equal frames. All 31 owned lifetimes return; peak occupancy remains 13. Context and non-ADD events are exactly preserved.
  • Four broken matrix identities and five invalid window premises are rejected. Local prefix row l1 maximum is 17 in both versions relative to independent cut inputs; this is not a rounded-error guarantee.
  • Warning-strict normal and optimized CPython 3.12.15 checks pass locally. Each registered command took 0.26 seconds locally, below its 120-second timeout. Registered package checks, syntax/function-length/indentation checks, exact committed bytes and declared source-history checks pass.
  • The verifier emits its generated SHA256-bound receipt on stdout. Canonical candidate payload SHA256: 5c2ed3597871bcbfa5a00194671e75aab95345ba6a91b1c7c7bd1c78eb1ef495.

From the repository root:

/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -W error -B research/p104-dirty-anchor-window/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -W error -B -O research/p104-dirty-anchor-window/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/research_package.py --package research/p104-dirty-anchor-window
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/check_research_commit.py --package research/p104-dirty-anchor-window --check-source-history

Any CPython 3.12 installation can replace the interpreter path. The standard library suffices. Expected markers: PASS_P104_DIRTY_ANCHOR_WINDOW, PASS_REGISTERED_RESEARCH_PACKAGE, PASS_RESEARCH_COMMIT_BYTES. Normal replay writes no files. --emit-word /absolute/external/path/WORD.json exclusively creates the reconstructed candidate outside the checkout.

Limitations

This is an exact local circuit improvement, not supplier admission or a complete multiplication theorem. Exact endpoint equality does not prove rounded equivalence of intermediate states. Native maps, physical caller, compiler, outer inequalities, precision/tape and the selected cold replay are not rerun. The five framework assumptions remain; selected-frontier files are unchanged. Composition with PR5975 compression is not claimed. No Lean, Docker, independent human or formal proof-kernel acceptance is claimed. A standalone linter was unavailable locally; warning-strict execution, AST checks, tabnanny and registered repository checks were run.

Open next questions

Can this literal sharing window compose with PR5975 compression and enable a paid-profile improvement within the event cap? Start with its four shared-form contacts, preserve every observer, then charge one new productive or paid change. Composition and a newly funded construction remain open; the current scalar saving does not improve κ.

Related open work

The completion refresh inspected all fourteen other account PRs opened since the advance CLAIM (#5997, #5998, #6000 through #6011). None reports the same literal dirty-anchor window or its two-event/twenty-unit saving. No additional predecessor computations were run.

CI notes

At exact head 6dd2ecbe34847270559316d7f1e3590f9fe11be0, both hosted checks passed: plan and replay (research/p104-dirty-anchor-window), in run 40584421368. The checks were read once after completion, and the run head matches the PR head. Hosted replay certifies the registered normal and optimized package commands; the mathematical and admission limits above remain.

Merge Danger

Door: two-way. Blast radius: package. Six new files under research/p104-dirty-anchor-window/; no shared code, predecessor package or selected-frontier file changes.

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.

1 participant