Skip to content
Open
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
1 change: 1 addition & 0 deletions research/pr7636-independent-recount/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inputs/** -text
127 changes: 127 additions & 0 deletions research/pr7636-independent-recount/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Independent recount of the PR #7636 word and invoices

**No new κ. No frontier change. No supplier admission.** This package is an
independent finite audit of the open candidate
[PR #7636](https://github.com/CrocSwap/integer-mult-bounds/pull/7636) by
DreamingOfClouds at exact head `7e68d8dd62d9a38c0f3c942262a7a85ca7125b75`
(conditional κ = 0.0036807241001, 22 swap-then-delete composites on the #7630
word). It applies the method of
[PR #7628](https://github.com/CrocSwap/integer-mult-bounds/pull/7628),
[PR #7635](https://github.com/CrocSwap/integer-mult-bounds/pull/7635) and
[PR #7638](https://github.com/CrocSwap/integer-mult-bounds/pull/7638).

## Why this check adds coverage

#7636 ships a complete paid and target invoice for its word. The invoice is the
#7630 invoice plus a declared change. This package binds that change to the word
bytes with separate counts that run in about two seconds. `verify.py` imports no
constructor, application or pricing engine from #7636. No audit of #7636 was
found among the open PRs on 2026-11-17.

## Result

All statements are about the four pinned files in `inputs/pr7636/`. Their bytes
equal the blobs at the PR head (see [SOURCES.json](SOURCES.json)). The base word
and base invoice equal the #7630 word and invoice, byte for byte.

1. **Header.** The two words are equal except `program`. No initial chart
changes.
2. **Chart chronology.** Each field is followed through the complete program of
both words (208,738 and 202,668 events). Each MOVE starts at the current
chart of its field. Each ADD, COPY and SCALE acts at the chart where its
operands are. Each INIT creates a dead owned field and each CLEAR removes a
live owned field at its current chart. The public fields end at the `final`
charts.
3. **Paid recount.** Rank law: `rank(a->b) = dim(A+B) - dim(A∩B)` over GF(2).
In both words each MOVE joins two nested frames and has a positive rank. With
`H(word)` the MOVE rank histogram, exactly `paid(invoice) = 17 · H(word) + K`
with the same `K = {1:384, 8:656, 9:32, 16:416, 24:416, 32:416, 40:416, 48:416, 56:416, 64:208}`
for both words. This `K` equals the one of the #7612, #7630, #7631 and #7633
recounts. The native MOVE change per call is
`{2:-18, 3:-6, 4:-20, 6:+20, 7:+2}`. The MOVE count goes from 6,250 to 6,228
and the total rank of the change is zero. Paid positions go from 110,026 to
109,652, which is 17 · 22 fewer.
4. **Target recount.** For each helper field (every public field that is not a
main, with the main set as #7630 defines it) the target rank is
`rank(final frame) - rank(initial frame)`. Exactly
`targets(invoice) = 17 · T(word) + K_T`, with the same
`K_T = {9:416, 17:416, 25:416, 33:416, 41:416, 49:416, 57:416, 65:416, 73:208, 137:208}`
for both words. The helper change per call is empty. Target positions stay
22,461 and the rank surplus stays 1,424.
5. **Moment signs.** A separate 256-bit integer interval engine evaluates
`M(κ) = Σ (T_r - P_r) r^(1-κ)`. Its signs agree with the PR at ten points.
The #7636 invoice is positive at the claim `0.0036807241001`, at the #7633
value `0.003667193194322`, at the #7630 claim `0.0036667343458` and at the
#7627 value `0.003665731276`. It is negative at the upper bracket
`0.0036807241002`. It is positive at `c - 10^-30` and negative at
`c + 10^-30`, with `c = 0.00368072410014727862067955898005` the crossing
that the PR states. The #7630 invoice is positive at its own claim, negative
just above it and negative at the #7636 claim. The ratio of the claim to
the #7633 value is 1.00368972. The upper bounds of `dM/dκ` on
`[0, 0.00376669]` are negative for both invoices (`-379386.789…` and
`-377942.182…`), so each crossing is unique there.
6. **Tent test.** The change in the moment is zero or positive for every tariff
`min(r, a)` and positive for some a. So #7636 is no worse than #7630 for
every increasing concave tariff with `f(0) = 0`.
7. **Controls.** Ten semantic mutations reject: a growth-only rank law, one more
paid unit, the old word with the new invoice, a dropped MOVE, a changed
initial chart, an ADD at the wrong chart, a MOVE to another chart, a changed
frame, the old invoice at the new claim and a point above the bracket.

## What this does not establish

- `K` and `K_T` are measured from the invoices. They are not derived from the
#7113 caller.
- The main set is the definition of #7630. It is not derived from the physical
caller.
- The 22 composites in `data/edits.json` are not applied to the #7630 word. This
audit binds the finished word to the invoice. It does not check each edit
against the swap law of #7634.
- The exact rational replay of the hub re-settle, the 180 CLEAR certificates
(151 change) and the affected-pair census (1,023 pairs) are not recounted.
- The ordinary bill is not recounted. #7636 states 859,783,396 (from
867,014,040 for #7630), below 10^9. About 140 million of the allowance remain.
- The native, physical, signed, compiler, precision, tape and outer checks are
not replayed.
- The five framework assumptions and the premises that #7636 inherits from #7630
and #7620 remain as stated. A correct count is not a supplier admission.

## Reproduce

From the repository root, Python 3.10 or later, standard library only:

```sh
python3 scripts/research_package.py --package research/pr7636-independent-recount --check-only
python3 scripts/research_package.py --package research/pr7636-independent-recount
python3 -I -B research/pr7636-independent-recount/verify.py
```

Environment of the recorded run: CPython 3.13.9, Windows 11, about 2 s, with
the registered argv run directly. The package runner requires Python 3.12 for
the replay step, and this machine has no Python 3.12. **The Python 3.12 runner
replay is not run.** Canonical main at the start and before submission:
`e54523517d0f03e58352e647c403a5af3e525a57`, priority revision 8, checked
2026-11-17 UTC.

## Open next questions

The structured list is in [TASK.json](TASK.json).

1. Recount the ordinary bill with the formula the PR names. Blocker: that
formula lives in repository scripts that this audit did not read.
2. Apply the 22 edits of `data/edits.json` to the #7630 word and compare with the
#7636 word. Blocker: the coordinate convention needs a careful read.
3. Replay the 180 CLEAR certificates and the census on a Python 3.12 runner.

## Credit

The audited construction, word, invoices and claim are by DreamingOfClouds
(#7636, #7630, #7623), on the swap device of SYLforge (#7616, #7620) and the P104
lineage of Clear1nsight, Ali Romman, Hao Yan, ToikY, Rohan Arun and their
predecessors. The recursive invoice schema and the pricing tools belong to their
authors. The vendored files keep their Apache-2.0 license. The task card
`independent-moment` and the package tooling are by Douglas Colkitt.

This audit was prepared by fluorine with substantial Anthropic Claude
(Claude Code) assistance. New work is Apache-2.0. No independent human review
of this audit exists yet.
66 changes: 66 additions & 0 deletions research/pr7636-independent-recount/SOURCES.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"schema_version": 1,
"base_commit": "e54523517d0f03e58352e647c403a5af3e525a57",
"files": [
{
"path": "certificates/selected-result.json",
"usage": "provenance",
"git_blob": "75d77b328ea02ded535e7f23aee5b1e55d0bb1a8",
"sha256": "154c3d30455d778fd3343b6b4851f0fa4665f0f7625b0adb3675e2bafbbf6bf1"
},
{
"path": "docs/research/agent-task-catalog.json",
"usage": "provenance",
"git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec",
"sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81"
},
{
"path": "research/pr7636-independent-recount/inputs/pr7636/base-7630-word.json.gz",
"usage": "input",
"git_blob": "d652af4f8a2ef41d996b59251c036c77fef74aaa",
"sha256": "fa1a8dad12d28e6e5ced5a6989d49074efe15d6647ffc122cb28fcd666f366c2",
"origin": {
"pull_request": 7636,
"commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75",
"path": "research/p104-swap-composites-on7630/data/base-7630-word.json.gz"
},
"pin": "head:f4626875c6beb8ccde35e7db22be99f99c9ac24f:research/pr7636-independent-recount/inputs/pr7636/base-7630-word.json.gz"
},
{
"path": "research/pr7636-independent-recount/inputs/pr7636/word-7636.json.gz",
"usage": "input",
"git_blob": "e53c2271bf0bbcfdcfbc1834bc12ceeb54d52d4b",
"sha256": "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659",
"origin": {
"pull_request": 7636,
"commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75",
"path": "research/p104-swap-composites-on7630/data/word.json.gz"
},
"pin": "head:f4626875c6beb8ccde35e7db22be99f99c9ac24f:research/pr7636-independent-recount/inputs/pr7636/word-7636.json.gz"
},
{
"path": "research/pr7636-independent-recount/inputs/pr7636/invoice-7630.json",
"usage": "input",
"git_blob": "8b5bd00eaf6e147af61b3088c5a2d6733249b40e",
"sha256": "887128e79be28ded1a8a62fc6311ccaa975e5bcf9b7868dbcc5c8bdceaa6e9d4",
"origin": {
"pull_request": 7636,
"commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75",
"path": "research/p104-swap-composites-on7630/data/invoice-7630.json"
},
"pin": "head:f4626875c6beb8ccde35e7db22be99f99c9ac24f:research/pr7636-independent-recount/inputs/pr7636/invoice-7630.json"
},
{
"path": "research/pr7636-independent-recount/inputs/pr7636/invoice-7636.json",
"usage": "input",
"git_blob": "93129ac5c420dee957ca4fa0d89505edc99d2d49",
"sha256": "18adee673515c4ece7208b53c7cc17a2e121843d55f62067d2e43e341872f0d5",
"origin": {
"pull_request": 7636,
"commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75",
"path": "research/p104-swap-composites-on7630/data/invoice-new.json"
},
"pin": "head:f4626875c6beb8ccde35e7db22be99f99c9ac24f:research/pr7636-independent-recount/inputs/pr7636/invoice-7636.json"
}
]
}
111 changes: 111 additions & 0 deletions research/pr7636-independent-recount/TASK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"schema_version": 1,
"task_id": "independent-moment",
"priority_revision": 8,
"base_commit": "e54523517d0f03e58352e647c403a5af3e525a57",
"original_card": {
"id": "independent-moment",
"question": "Does a changed construction's serialized target/paid invoice independently support its claimed improvement?",
"starting_points": [
"docs/research/current-priorities.md",
"docs/research/research-family-status.md",
"certificates/selected-result.json",
"docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md",
"docs/research/recursive-invoice-preflight.md"
],
"methods": [
"Construct and independently check one source-bound instance of the stated first experiment.",
"Seek an exact counterexample or target-specific complete-budget obstruction to that same proposed change."
],
"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_selected_baseline.py"
],
"expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY",
"inspect": "Read revision 8, the selected review and live exact-source handoffs. Then follow this card's bounded first_experiment.",
"scope": "Source-bound orientation only, not a supplier replay or theorem proof."
},
"first_experiment": "Independently recount one changed emitted word and its complete caller, importing no constructor or pricing engine. Include target losses, owned lifetimes, native orientation and extra charges. Check existing #5633/#5708/#5717/#5719 coverage to avoid duplicate audits and preserve its exact head. Stop after the chosen missing implication; a correct root alone is not supplier admission.",
"bottleneck_link": "Judge the actual current supplier contract and complete signed target/paid bill; frozen-profile ceilings require an applicability proof.",
"allowed_variations": [
"One exact source head, helper/cut region or quantified proposition and changed hypothesis; check live handoffs first. Different seeds are not different scopes."
],
"scope_change_triggers": [
"Changing source head, helper/cut domain, operation alphabet or caller boundary without recording the new scope.",
"Treating an archived proposal or local numerical pass as complete supplier admission."
],
"overlap_terms": [
"invoice",
"signed moment",
"productive target",
"independent recount"
],
"existing_checks": [
{
"scope": "PR #4088: mixed local/owner/phase ledger and moment reported.",
"evidence": "research/staged544-mixed-fourth-entry/README.md",
"remaining": "Independent binding of changed construction to paid histogram, distinct from full admission.",
"status": "author-checked",
"source_commit": "72d7efc181edb21806a878f174847c96dd410ab0",
"selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129"
},
{
"scope": "PR #4091: sharp pooled ceiling proposed for fixed THREE/FOUR words and inventory.",
"evidence": "research/staged-fourth-mixture-ceiling/README.md",
"remaining": "Validate dual, exhaustive pattern scope and exact source equivalence before applying to newer fills.",
"status": "author-checked",
"source_commit": "a29bdd8f56cd18b805917775cdec09ff935eddc4",
"selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129"
},
{
"scope": "PR #4067: paid (2,2) to (1,3) exchange and fixed OQ4 host reported.",
"evidence": "research/r437-two-window-carrier/README.md",
"remaining": "Independent full cost delta; remaining caller/precision/stock obligations are separate.",
"status": "author-checked",
"source_commit": "a95f11c52e3ca1e4c5171b3c20d8f4b0815aee2e",
"selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129"
},
{
"scope": "Selected PR5599: complete helper-subspace construction and independent caller replay; five framework assumptions remain.",
"evidence": "docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md",
"remaining": "The next experiment must identify uncovered source-specific work. Successor archive intake does not transfer this admission.",
"status": "reviewed",
"source_commit": "09dd0965711ca7eeb169057a420abab1c9052137",
"selected_record_sha256": "2a0220e866417774606e0f991e41b9c1d26b1f43b97857238cf478dbc7d330b5"
}
]
},
"scope_status": "refined",
"actual_scope": "Independent recount, at the exact open PR #7636 head 7e68d8dd62d9a38c0f3c942262a7a85ca7125b75, of (1) the header and initial-chart equality with the #7630 word, (2) the chart chronology of both complete words, (3) the MOVE rank histogram of both words and its relation to the declared 17-call paid invoices, (4) the helper target ranks of both words and their relation to the declared target invoices, and (5) the signs of the declared complete moments at the claim, at the stated crossing, at the upper bracket and at the #7633, #7630 and #7627 values. No constructor, application or pricing engine of the PR is imported.",
"scope_change_reason": "The first experiment of the card is applied to a newer exact head. No audit of #7636 was found among the open PRs on 2026-11-17. #7636 changes 22 composites of the #7630 word and re-derives the hub events jointly. The recount shows that the paid MOVE ranks change and the helper targets and initial charts do not.",
"bottleneck_link": "The complex supplier binds. #7636 changes the paid MOVE rank histogram of the P104 word. Its invoice is the #7630 invoice plus a declared per-call delta. This audit binds that delta to the emitted word bytes.",
"budget_minutes": 60,
"stop_rule": "Stop after the word-to-invoice binding and the moment signs are resolved or one exact mismatch is found. Do not replay the native, signed, physical, ordinary, CLEAR certificate or outer stages.",
"outcome": "completed",
"evidence": "verify.py passes on CPython 3.13.9 (Windows) in about 2 s: paid = 17 x (MOVE rank histogram of the word) + one fixed caller histogram, equal for #7630 and #7636 and equal to the one of the #7612, #7630, #7631 and #7633 recounts; targets = 17 x (helper target histogram) + one fixed caller target histogram; the native delta {2:-18,3:-6,4:-20,6:+20,7:+2} is recounted from the words and has total rank zero; the helper delta and the initial-chart delta are empty; both words have a legal chart chronology; ten moment signs agree with the PR, including both sides of the stated crossing at 10^-30; the derivative bounds are negative; and ten controls reject.",
"author": "fluorine",
"ai_assistance": "Prepared with substantial Anthropic Claude (Claude Code) assistance: task selection, verifier code, runs and text. No independent human review of the mathematics.",
"open_questions": [
{
"question": "Recount the ordinary bill. #7636 states 859,783,396 (from 867,014,040 for #7630), below 10^9.",
"why_it_matters": "The moment does not depend on it, but the 10^9 allowance does. About 140 million remain.",
"first_step": "Count the route, scalar and odd-division items of the word with the formula the PR names and compare with the stated total.",
"blocked_by": "The formula lives in repository scripts that this audit did not read."
},
{
"question": "Check the 22 swap-then-delete composites in data/edits.json against the #7630 word and the swap law of #7634.",
"why_it_matters": "This audit binds the result of the edits to the invoice. It does not check that each edit is a legal rewrite of the #7630 word.",
"first_step": "Apply the 22 edits to the #7630 word and compare the interior sequence with the #7636 word.",
"blocked_by": "The coordinate convention of edits.json needs a careful read."
},
{
"question": "Replay the 180 CLEAR certificates and the affected-pair census (1,023 pairs) under the rule of #7620.",
"why_it_matters": "151 CLEAR contents change with the re-derived hub content. A count audit does not cover them.",
"first_step": "Run the PR check.py on a Python 3.12 runner and compare its output with the pinned hashes.",
"blocked_by": "This machine has no Python 3.12."
}
]
}
26 changes: 26 additions & 0 deletions research/pr7636-independent-recount/VERIFY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"schema_version": 1,
"status": "ready",
"python": "3.12",
"requirements": [],
"inputs": [
"research/pr7636-independent-recount/inputs/pr7636/base-7630-word.json.gz",
"research/pr7636-independent-recount/inputs/pr7636/word-7636.json.gz",
"research/pr7636-independent-recount/inputs/pr7636/invoice-7630.json",
"research/pr7636-independent-recount/inputs/pr7636/invoice-7636.json"
],
"commands": [
{
"argv": [
"{python}",
"-I",
"-B",
"-W",
"error",
"{package}/verify.py"
],
"timeout_seconds": 120,
"checks": "Input pins; complete chart chronology of both words; GF(2) MOVE rank recount and 17-call paid split; helper target recount and 17-call target split; ten moment signs including the stated crossing, strict monotonicity and a tent-tariff test with an independent 256-bit interval engine; ten rejecting controls."
}
]
}
Binary file not shown.
Loading
Loading