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
97 changes: 97 additions & 0 deletions research/staged544-a1858-contraction-audit/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Independent cleanup certificate for the A1858 contraction

**Partial. No new κ.** Selected κ stays `0.001672660197076918`.

## Scope and evidence

Original card: `independent-moment`, scope **refined**. This is not the #2979
rank-7 group audit and not the separated seven-block contraction in PR #4019
(upstream #4112). Discussion #1166 comment 19035159 asks for an independent
challenge of the consecutive A1858 contraction and its cleanup in
[PR #3998](https://github.com/CrocSwap/integer-mult-bounds/pull/3998), head
`389268a6b5e0373a3125d5c6fcd6995f4ea324f5`.

On all four frozen words vendored from that head, zero-based `A[1858:1861]` is

```
457 <- 457 - 475
456 <- 456 + 457
456 <- 456 + 475
```

with common frame `span(82,42)`. The two-ADD image

```
456 <- 456 + 457
457 <- 457 - 475
```

has the same exact rational matrix on `{456,457,475}`. An independent cleanup
derivation, which does not import PR #3998, reproduces each stored cleanup
section. Replacing the triple by the pair changes cleanup only by substituting
the three inverse ADDs

```
456 <- 456 - 475
456 <- 456 - 457
457 <- 457 + 475
```

with the two inverse ADDs

```
457 <- 457 + 475
456 <- 456 - 457
```

at one index (`3447` on both PR3734 words, `3448` on both PR3945 words). The
forward ADD count and the cleanup ADD count each fall by one. The deleted gate
is the inverse of the central ADD. The two surviving inverses also exchange
order; a pure deletion would not be the inverse of the contracted pair.

The same scan of every consecutive ADD triple in `A` after `prelude_events`,
in all of `B`, and in all of `restore` finds this one inverse site before the
edit and none after it. That domain is wider than PR #3998's warp-cut segments.
A wrong central sign, a reversed cleanup order, a helper destination omitted
from cleanup, and a target destination inserted into cleanup are rejected.
The general coefficient identity `[g,h] = [h,(i,k,-ab),g]` is checked for one
non-unit pair at the middle central position.

## What this does not establish

The recursive profile `{1:2440,2:725,3:224,4:102,5:20,8:8}` is not recomputed.
No frame climb, native operator, owner schedule, precision, stock, tape, or
supplier bill is replayed. The scalar saving is not integrated into a new
PR3945 producer. No selected-frontier change.

## Reproduce

Python 3.12, standard library only, from the repository root:

```sh
python3 -B research/staged544-a1858-contraction-audit/verify.py
python3 scripts/research_package.py --package research/staged544-a1858-contraction-audit
```

Expected first line: `PASS_A1858_CLEANUP_CONTRACTION words=4 sites_before=1 sites_after=0 forward_add_delta=-1 cleanup_add_delta=-1 pr3734_cleanup_index=3447 pr3945_cleanup_index=3448`.

The four gzip inputs are byte copies of PR #3998 `inputs/`, pinned by the
SHA256 values in `verify.py`. Base commit `bb4bccbf42844d2801487450727c2f63e10d1d0f`.
Catalogue and selected-record provenance are in [SOURCES.json](SOURCES.json).

## Open next questions

- Recompute the frame bill of the contracted word, including the successor
climb of registers 456, 457 and 475. The cleanup identity does not decide
whether the published histogram is unchanged.
- The handoff's second half, carrying this scalar saving into the PR3945
producer with native, owner and precision obligations, is still open. Stop
if that bill repays the two removed ADDs.

## Credit

Dataisfire's PR3734 words and Dugongue's PR3945 words are the frozen inputs.
Chris R / Clear1nsight wrote the PR #3998 contraction and asked for this
check in discussion comment 19035159. The separated A2 audit in #4112 is a
different block. unpaidmoon, with substantial Cursor
Grok assistance. Apache-2.0. No independent human or formal-kernel review.
18 changes: 18 additions & 0 deletions research/staged544-a1858-contraction-audit/SOURCES.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"schema_version": 1,
"base_commit": "bb4bccbf42844d2801487450727c2f63e10d1d0f",
"files": [
{
"path": "certificates/selected-result.json",
"usage": "provenance",
"git_blob": "b1fea0c94436b236cc2b7d41a7be032811b94c81",
"sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129"
},
{
"path": "docs/research/agent-task-catalog.json",
"usage": "provenance",
"git_blob": "67f085acd86acd7d4e03922d9cf4b26bca66fed5",
"sha256": "47b42433f5a85809a3aadd29c2c339da2c6ed728e4f7762df6b88bccb7874cf0"
}
]
}
72 changes: 72 additions & 0 deletions research/staged544-a1858-contraction-audit/TASK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"schema_version": 1,
"task_id": "independent-moment",
"priority_revision": 6,
"base_commit": "bb4bccbf42844d2801487450727c2f63e10d1d0f",
"original_card": {
"id": "independent-moment",
"question": "Does one changed supplier or assembly claim lack a source-bound independent check of a specific new implication?",
"starting_points": [
"certificates/selected-result.json",
"research/rank7-joint-endframes/README.md",
"docs/research/research-family-status.md"
],
"methods": [
"Independently reconstruct a coordinated frame/circuit change and its single-change control, then derive the complete rank and physical ledger.",
"Implement certified moment inequalities through a different exact enclosure method."
],
"acceptance_gate": "Demonstrate independence, source binding, positive cases and semantic failure controls. Name the existing checks and the missing coverage. More digits or another equivalent evaluation of an unchanged root is not by itself new verification coverage.",
"first_step": {
"command": [
"python3",
"-B",
"scripts/research_baseline.py"
],
"expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY",
"inspect": "Read #2979 joint rank-7 end-frame proposal and the revision-6 evidence status. Its claimed kappa is not selected. Compare coordinated changes with the losing single-change controls and locate the complete physical ledger; an aggregate moment alone does not validate the mechanism.",
"scope": "Positive control / source-bound orientation only; this is not a new construction or full cold replay."
},
"first_experiment": "Prioritize a bounded independent audit of #2979: reconstruct one joint group and its single-lowering control, check the declared frames/chronology, then trace changed children, idle widths and cleanup buffers into the complete invoice and both supplier caps. Choose one still-missing implication after checking existing audits. Stop with exact unresolved dependencies if full admission exceeds the session; do not launch a new lowering census on an unvalidated premise or substitute extra root digits for mechanism checking.",
"bottleneck_link": "Independent pricing prevents unsupported frontier claims and can reveal genuine accounting slack.",
"allowed_variations": [
"Reconstruct either a source ledger or a numeric enclosure with a different method."
],
"scope_change_triggers": [
"Importing the primary function and calling its output independent verification.",
"Promoting #2979 from merged source archive to validated supplier solely from author PASS receipts or aggregate pricing."
],
"overlap_terms": [
"independent moment",
"rank histogram",
"exact enclosure",
"2979",
"rank7 joint endframes",
"paired extraction",
"joint lowering"
]
},
"scope_status": "refined",
"actual_scope": "Independently derive the cleanup edit of the consecutive A1858 contraction on the four frozen PR3998 words, without importing that package and without replaying its frame bill.",
"scope_change_reason": "The card's #2979 rank-7 reconstruction is a different object. Comment 19035159 asks for one source-bound check of the PR3998 A1858 contraction and cleanup. Upstream #4112 already accepted the separated PR4019 blocks, so this package does not repeat that audit.",
"bottleneck_link": "A scalar ADD deletion is not a supplier improvement until its cleanup and frame invoice are source-bound. This checks the cleanup half only.",
"budget_minutes": 60,
"stop_rule": "Stop after the four-word cleanup identity, the inverse-site count, and the sign/order controls. Do not replay the frame census or build a PR3945 producer.",
"outcome": "partial",
"evidence": "Author-checked finite certificate. Independent cleanup derivation matches the stored sections. The contraction deletes one inverse ADD and swaps the other two. Recursive profile not recomputed.",
"author": "unpaidmoon",
"ai_assistance": "Substantial Cursor Grok assistance.",
"open_questions": [
{
"question": "Does the contracted word keep the published recursive profile on registers 456, 457 and 475?",
"why_it_matters": "The cleanup identity removes two scalar ADDs but does not price the frame climbs.",
"first_step": "Recompute the successor climb of those three registers on one PR3734 word and compare it with the baseline histogram.",
"blocked_by": "This package does not vendor the frame tracer."
},
{
"question": "Can the two-ADD image be carried into the PR3945 producer with native, owner and precision costs still paid?",
"why_it_matters": "Comment 19035159's second half is the only route from this scalar saving to a supplier bill.",
"first_step": "Price one contracted PR3945 word's native and owner obligations before claiming the two removed ADDs survive.",
"blocked_by": "Those obligations are outside the frozen scalar words checked here."
}
]
}
23 changes: 23 additions & 0 deletions research/staged544-a1858-contraction-audit/VERIFY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"schema_version": 1,
"status": "ready",
"python": "3.12",
"requirements": [],
"inputs": [
"research/staged544-a1858-contraction-audit/inputs/BORROW-WORD-43base.json.gz",
"research/staged544-a1858-contraction-audit/inputs/BORROW-WORD-43extra.json.gz",
"research/staged544-a1858-contraction-audit/inputs/PR3945-WORD-base.json.gz",
"research/staged544-a1858-contraction-audit/inputs/PR3945-WORD-extra.json.gz"
],
"commands": [
{
"argv": [
"{python}",
"-B",
"{package}/verify.py"
],
"timeout_seconds": 120,
"checks": "SHA256-pinned four-word A1858 matrix, stored-cleanup match, one inverse site, local cleanup substitution, and sign/order/target controls"
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading