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/pr7612-independent-invoice-recount/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inputs/** -text
132 changes: 132 additions & 0 deletions research/pr7612-independent-invoice-recount/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Independent recount of the PR #7612 word, paid invoice and moment signs

**No new κ. No frontier change. No supplier admission.** This package is an
independent finite audit of one open candidate,
[PR #7612](https://github.com/CrocSwap/integer-mult-bounds/pull/7612) at exact
head `e814828ee5b869c9468282d57ba28c364b07d130` (conditional κ = 0.003652740309,
Clear1nsight). The author requested independent review in the
[handoff thread](https://github.com/CrocSwap/integer-mult-bounds/discussions/1166#discussioncomment-19626233).

## Why this check adds coverage

The four-command generic replay of #7612 does not count the candidate invoice
from the candidate word. `build.py` builds `data/invoice-new.json` as the #7611
invoice plus the declared delta `{1:-34, 2:+34, 3:-17, 4:-17, 5:+17}`. Only the
two dedicated application stages (about 20 minutes, 2 GiB) reconstruct the
complete invoice. This package binds the declared paid histogram to the word
bytes with a separate count that runs in about one second. `verify.py` imports
no constructor, application or pricing engine from the PR.

## Result

All statements are about the four pinned files in `inputs/pr7612/`. Their bytes
equal the blobs at the PR head (see [SOURCES.json](SOURCES.json)).

1. **Edit recount.** A diff that does not use the PR's index literals finds
exactly one dropped event (index 41074, `MOVE 329 373->618`) and four
substitutions (indices 41073, 41075, 41166, 42110). All of them act on fields
134 and 329. The word headers are equal. Scalar content of the edited ADD is
equal. The incident ranks change from `{1,1,3,4}` to `{2,2,5}`.
2. **Chart chronology.** Each field is followed through the complete program of
both words (76,668 and 76,667 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)
for the frame spans A and B. In both words each MOVE joins two nested frames
and has a positive rank. Let `H(word)` be the MOVE rank histogram (public and
owned MOVEs together). Then, exactly:

`paid(invoice) = 17 · H(word) + K`

with the same word-independent caller histogram

`K = {1:384, 8:656, 9:32, 16:416, 24:416, 32:416, 40:416, 48:416, 56:416, 64:208}`

for #7611 and for #7612. The recounted native delta is
`H(7612) - H(7611) = {1:-2, 2:+2, 3:-1, 4:-1, 5:+1}`. Paid positions are
110,281 and 110,264. The two invoices state equal targets (22,461 positions,
rank surplus 1,424).
4. **Moment signs.** A separate 256-bit integer interval engine (logarithms from
an `atanh` recurrence, exponentials from a Taylor series, both with explicit
remainder bounds) evaluates `M(κ) = Σ (T_r - P_r) r^(1-κ)`. The signs agree
with the PR at seven points: the candidate is positive at the claim, at the
tested point `0.003652740309007`, at the stated lower bracket and at the
#7611 raw upper. The candidate is negative at the stated upper bracket. The
#7611 invoice is negative at the claim and at its raw upper. An upper bound
of `dM/dκ` on `[0, 0.00376669]` is negative for both invoices (about
-3.8086e5 for #7612), so each crossing is unique on that interval.
5. **Controls.** Nine semantic mutations reject: a growth-only rank law, one
more paid unit, the old word with the new invoice, the ADD at the old contact
chart, the dropped MOVE restored, a wrong restoration chart, a changed frame
373, the #7611 invoice at the claim, and a point above the bracket.

**Local-only supplement.** `verify.py --lineage` reads the #7604, #7605 and
#7608 words and invoices from the PR head tree in local Git objects. The same
`K` holds for all three. This mode skips when the PR head object is absent. It
is not part of the registered command.

## What this does not establish

- The histogram `K` is measured from the invoices. This package does not derive
it from the #7113 caller.
- The target histogram is not recounted. The package only checks that the edit
leaves headers, owned MOVEs, INIT and CLEAR events unchanged and that both
invoices state equal targets.
- No physical map, Clifford identity, native or signed application, compiler,
precision, tape, ordinary bound or outer predicate is replayed.
- The five framework assumptions and the CLEAR44 service premise of #7608/#7611
remain as stated in the PR.
- A correct count and a correct root are 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/pr7612-independent-invoice-recount --check-only
python3 scripts/research_package.py --package research/pr7612-independent-invoice-recount
```

Direct run, with the optional lineage supplement:

```sh
git fetch --no-tags https://github.com/CrocSwap/integer-mult-bounds.git pull/7612/head
python3 -I -B research/pr7612-independent-invoice-recount/verify.py --lineage
```

Environment of the recorded run: CPython 3.13.9, Windows 11, about 1 s, with
the registered argv run directly, in normal and `-O` mode. The metadata and pin
check passed. 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-16 UTC.

## Open next questions

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

1. Derive the caller histogram `K` from the #7113 signed caller definition.
With that derivation, the complete paid invoice of each P104 successor word
follows from the word bytes in about one second. First step: count the QUERY
and IDLE charges by rank in the retained #7605 signed application. Blocker:
that reconstruction lives in the dedicated application stages, which this
session did not read.
2. Recount the productive target histogram from the word header and owner
chronology. First step: apply the target rule of the reviewed #5599/#7000
proof review to the `hosted` and `ports` fields. Blocker: the word file does
not state the helper target semantics.

## Credit

The audited construction, word, invoices and claim are by Clear1nsight
(#7612, #7611), on the retained P104 lineage of Ali Romman (#7605),
DreamingOfClouds, SYLforge, 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/pr7612-independent-invoice-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/pr7612-independent-invoice-recount/inputs/pr7612/word-7612.json.gz",
"usage": "input",
"git_blob": "8f530e70f8ce01c13f1c6f0eeba0caa5b6c8ad23",
"sha256": "92a3b664c99e5a8d52771f3d682af6b34dead3df3498eeb58d4f437873db33d6",
"origin": {
"pull_request": 7612,
"commit": "e814828ee5b869c9468282d57ba28c364b07d130",
"path": "research/p104-contact134-329-on7611/data/word.json.gz"
},
"pin": "head:1f04a53c38623905e6eea0b185a5f344fe1bba66:research/pr7612-independent-invoice-recount/inputs/pr7612/word-7612.json.gz"
},
{
"path": "research/pr7612-independent-invoice-recount/inputs/pr7612/word-7611.json.gz",
"usage": "input",
"git_blob": "0821cb79b8f386e27258984d2bc18866a1cff827",
"sha256": "cb8c33817afbf7863074af90e3d287d1ef48c45a761f653143947ce2f58db1b6",
"origin": {
"pull_request": 7612,
"commit": "e814828ee5b869c9468282d57ba28c364b07d130",
"path": "research/p104-contact134-329-on7611/retained/pr7611/data/word.json.gz"
},
"pin": "head:1f04a53c38623905e6eea0b185a5f344fe1bba66:research/pr7612-independent-invoice-recount/inputs/pr7612/word-7611.json.gz"
},
{
"path": "research/pr7612-independent-invoice-recount/inputs/pr7612/invoice-7612.json",
"usage": "input",
"git_blob": "9a2c003c454a8ef8e6129464ee7c9825c91cc42a",
"sha256": "c34cea264b96ad495401064bee801de6bea6509372770daec6e8bb3053b3d883",
"origin": {
"pull_request": 7612,
"commit": "e814828ee5b869c9468282d57ba28c364b07d130",
"path": "research/p104-contact134-329-on7611/data/invoice-new.json"
},
"pin": "head:1f04a53c38623905e6eea0b185a5f344fe1bba66:research/pr7612-independent-invoice-recount/inputs/pr7612/invoice-7612.json"
},
{
"path": "research/pr7612-independent-invoice-recount/inputs/pr7612/invoice-7611.json",
"usage": "input",
"git_blob": "859aa639fdca06dba05e2beb167302343e1ad081",
"sha256": "3e02c92a82e403154a33dc4ad7cc7b49e3add55ec9a1f8db330b3ac32007ccbb",
"origin": {
"pull_request": 7612,
"commit": "e814828ee5b869c9468282d57ba28c364b07d130",
"path": "research/p104-contact134-329-on7611/retained/pr7611/data/invoice-new.json"
},
"pin": "head:1f04a53c38623905e6eea0b185a5f344fe1bba66:research/pr7612-independent-invoice-recount/inputs/pr7612/invoice-7611.json"
}
]
}
105 changes: 105 additions & 0 deletions research/pr7612-independent-invoice-recount/TASK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"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 #7612 head e814828ee5b869c9468282d57ba28c364b07d130, of (1) the five-event edit from the #7611 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 invoice, and (4) the signs of the declared complete moment at the claim, the tested point, the stated bracket and the #7611 raw upper. No constructor, application or pricing engine of the PR is imported.",
"scope_change_reason": "The card names #5633/#5708/#5717/#5719 as existing coverage. The live handoff thread now requests independent review of #7612, so the same first experiment is applied to that newer exact head. The word-independent caller part of the paid histogram is measured from the invoices, not rederived from the caller.",
"bottleneck_link": "The complex supplier binds. #7612 changes only paid MOVE ranks of the P104 word. Its generic replay builds the candidate invoice as the #7611 invoice plus a declared delta. This audit binds the declared paid histogram to the emitted word bytes with a separate rank count.",
"budget_minutes": 60,
"stop_rule": "Stop after the word-to-paid-invoice binding and the moment signs are resolved or one exact mismatch is found. Do not replay the native, signed, physical or outer stages.",
"outcome": "completed",
"evidence": "verify.py passes on CPython 3.13.9 (Windows) in about 1 s: paid = 17 x (MOVE rank histogram of the word) + one fixed caller histogram for #7611 and #7612, the native delta {1:-2,2:+2,3:-1,4:-1,5:+1} is recounted from the words, both words have a legal chart chronology, seven moment signs agree with the PR, and nine controls reject. The optional --lineage mode finds the same caller histogram for the #7604, #7605 and #7608 words (local Git objects only).",
"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": "Derive the word-independent caller histogram {1:384, 8:656, 9:32, 16:416, 24:416, 32:416, 40:416, 48:416, 56:416, 64:208} from the #7113 signed caller definition, without the invoice files.",
"why_it_matters": "With that derivation the complete paid invoice of each P104 successor word follows from the word bytes in about one second. Reviewers can then reject a wrong declared delta before the 20-minute application replay.",
"first_step": "Read the 17-call caller in the retained #7605 signed application and count its QUERY and IDLE charges by rank. Compare with the histogram above.",
"blocked_by": "The caller reconstruction lives in the dedicated application stages. This session did not read or replay them."
},
{
"question": "Recount the productive target histogram (22,461 positions) of the #7612 word from the word header and owner chronology.",
"why_it_matters": "This audit only confirms that the two invoices state equal targets and that the edit leaves headers, owned MOVEs, INIT and CLEAR events unchanged. The target law itself is not recounted.",
"first_step": "Locate the target rule in the reviewed #5599/#7000 proof review and apply it to the hosted and ports header fields of the word.",
"blocked_by": "The target credit rule depends on helper target semantics that the word file does not state."
}
]
}
26 changes: 26 additions & 0 deletions research/pr7612-independent-invoice-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/pr7612-independent-invoice-recount/inputs/pr7612/word-7612.json.gz",
"research/pr7612-independent-invoice-recount/inputs/pr7612/word-7611.json.gz",
"research/pr7612-independent-invoice-recount/inputs/pr7612/invoice-7612.json",
"research/pr7612-independent-invoice-recount/inputs/pr7612/invoice-7611.json"
],
"commands": [
{
"argv": [
"{python}",
"-I",
"-B",
"-W",
"error",
"{package}/verify.py"
],
"timeout_seconds": 60,
"checks": "Input pins and canonical word digests; independent edit recount; complete chart chronology of both words; GF(2) MOVE rank recount and 17-call paid split; seven moment signs and strict monotonicity with an independent 256-bit interval engine; nine rejecting controls."
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"schema":"integer-mult-recursive-invoice/v1","contract":{"model":"mixed-target-unnormalized-power-v1","rank_semantics":"H_r costs r^(1-C); debit surrendered productive fields","ambient_rank":145,"boundary":"complete signed #7113 caller application with 17 native calls"},"paid":{"1":68197,"2":14382,"3":14093,"4":3791,"5":5865,"6":289,"7":187,"8":741,"9":32,"16":416,"24":416,"32":416,"40":416,"48":416,"56":416,"64":208},"targets":{"1":306,"2":357,"3":799,"4":3825,"5":1360,"6":731,"7":323,"8":544,"9":10888,"17":416,"25":416,"33":416,"41":416,"49":416,"57":416,"65":416,"73":208,"137":208}}
Loading
Loading