Skip to content
Draft
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
88 changes: 88 additions & 0 deletions research/deferred-k-q-placement-audit/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Independent mode-0 check of deferred-K Q placement

**No new κ.** The selected conditional result stays the value pinned in
`certificates/selected-result.json` at base
`32890bc5de034ab8fc93ac88ead7279a6a416d04`. This does not admit a global
caller and does not change the eight-H1 deferred-K invoice.

## Scope and evidence

The merged component in `research/deferred-k-query-sharing-component`
removes eight old-h queries and pays 120 bare current-source queries.
Its proof states that `q = R D^{-1}` is bare positive `C1` on physical
axis 0, and that mode-0 `Km0` is a width-one counterexample to wrapping
those queries by `K`. The component checker records that counterexample
as inherited from the frozen source audit and not recomputed by an engine.

This package recomputes it. The literal word, read from the pinned report
`REPORT-v1.md` (SHA256
`fb60187fea8346539abb61a08b1c525825cc84bd7c2847eb44a7c9590f3abee3`), is

```text
D(quadratic=0, linear=[2,2,2,2,0,0,0,0,0])
P(rows=[7,13,11,14,16,32,64,128,256])
X(0)
phase(0).
```

Apply `D`, then `P`, then `X`, then the phase. On nine bits:

- `K|0⟩ = |0⟩` and `K^{-1}|1⟩ = -|7⟩`.
- `K^{-1} X_1 K = -X_7` on every computational basis vector.
- Bare `Q = a I + b X_1`, with `a = (1+i)/2` and `b = (1-i)/2`, sends
`|0⟩` to `a|0⟩ + b|1⟩`.
- The wrapped operator sends `|0⟩` to `a|0⟩ - b|7⟩`.
- Writing composition with the rightmost factor applied first,
`R = D Q` on every basis vector: `Q` is one positive `C` on axis 0 and
`D` is the positive `C` product on axes 1 through 8, low axis first.
So bare `Q` is `D^{-1} R`, which is the report's `R D^{-1}` in that
application order.
- The same `K` commutes with this `R` and fails to commute with bare `Q`,
on every basis vector.
- Source axes `[0,9,10,11,12,13,14,15,16]` send local mask 7 to global
mask `1537 = 2^0 + 2^9 + 2^10` and leave local mask 1 at global mask 1.

Clearing the first linear phase is a negative control: `K^{-1}|1⟩` is then
not `-|7⟩`.

The check is an operator identity for this word. It does not rerun the
native body, install Q120, or price a caller.

## Reproduce

From the repository root:

```sh
python3 scripts/research_package.py --package research/deferred-k-q-placement-audit --check-only
python3 -B scripts/research_package.py --package research/deferred-k-q-placement-audit
```

Direct command: `python3 -I -Werror -B research/deferred-k-q-placement-audit/verify.py`.
Expected token: `PASS_DEFERRED_K_Q_PLACEMENT`. One mode is about one minute
on CPython 3.12.

## Open next questions

Can a version-correct global occurrence ledger fund a gain from this
overlay? The component's own economics note still requires at least 28
further H1 deletions or genuine reuses at `C = .00330007` if only H1
counts change, and the standalone profile loses for every `0 < C < 1`.
The first step is to bind one real caller occurrence by input version,
owner, chart, phase, axes, and lifetime. No such caller is in this
package.

Can the helper and owned raw inverse-transpose be emitted? Start from the
ordered routes. The mode-0 calculation does not supply them.

## Credit

The deferred-K component, literal word, and inherited counterexample are
Chris R / Clear1nsight's PR #5423, with the peer fused-T placement,
Dillon Amburgey / dillona #5402, Ali Romman #5411, zxv #5419, and the
retained native, helper, and precision authors named in that package.
The source-frame audit that first read `Km0` is the pinned
`BALANCED-J-CURRENT-Q-FRAME-audit` report. This package only recomputes
that operator witness.

Prepared by unpaidmoon with substantial Cursor Grok assistance.
Apache-2.0. This is not a formal verification of the multiplication theorem.
30 changes: 30 additions & 0 deletions research/deferred-k-q-placement-audit/SOURCES.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"schema_version": 1,
"base_commit": "32890bc5de034ab8fc93ac88ead7279a6a416d04",
"files": [
{
"path": "certificates/selected-result.json",
"usage": "provenance",
"git_blob": "fc3d4ba105e1f097d0d7d051a308281e86ab1446",
"sha256": "66974efdced4083c00025f97d95d83909a226cdf801edb9301c195c6641f6903"
},
{
"path": "docs/research/agent-task-catalog.json",
"usage": "provenance",
"git_blob": "f126dd2e2dad2b669e75d1d0d0bd05c600725602",
"sha256": "f7a48bfa2659b88378282a8eee7d9fe52cdf505594124c4d1686b58510fffd72"
},
{
"path": "research/deferred-k-query-sharing-component/PROOF.md",
"usage": "input",
"git_blob": "9ec973a52ad67eb6fe31709961c005630c3d2190",
"sha256": "4cff7aad4cd31479bcbce7eeb23015fa6ae60bc78640756ad3dc5f39544b108d"
},
{
"path": "research/deferred-k-query-sharing-component/verification/inputs/outputs/kappa0033-race-20261024/plan/BALANCED-J-CURRENT-Q-FRAME-audit/REPORT-v1.md",
"usage": "input",
"git_blob": "b2cc05dcf9f4136803ee49bfa63555509b69c5b2",
"sha256": "fb60187fea8346539abb61a08b1c525825cc84bd7c2847eb44a7c9590f3abee3"
}
]
}
106 changes: 106 additions & 0 deletions research/deferred-k-q-placement-audit/TASK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"schema_version": 1,
"task_id": "independent-moment",
"priority_revision": 7,
"base_commit": "32890bc5de034ab8fc93ac88ead7279a6a416d04",
"original_card": {
"id": "independent-moment",
"question": "Does a new paid-profile or mixture-ceiling claim have independent source-bound coverage of its actual changed ledger?",
"starting_points": [
"docs/research/research-family-status.md",
"certificates/selected-result.json",
"research/staged544-mixed-fourth-entry/README.md",
"research/staged-fourth-mixture-ceiling/README.md",
"research/r437-two-window-carrier/README.md"
],
"methods": [
"Independently reconstruct one changed paid ledger or pooled dual with exact source and model binding.",
"Check a genuinely uncovered moment implication with a different enclosure method and semantic controls."
],
"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": "Choose one uncovered implication in #4088 literal mixed fill, #4091 pooled dual/model binding or #4067 changed frame/host bill. #4091 pins an earlier #4088 head: validate word, capacity and stock equivalence before applying that ceiling to the later fill.",
"scope": "Source-binding orientation only; no scientific replay, theorem acceptance or supplier admission. Budget any heavy replay separately."
},
"first_experiment": "Independently reconstruct one changed ledger or pooled certificate with a positive case and a semantic failure control. Compare exact sources and name what existing checks miss. Keep this separate from supplier-boundary-audit (ordinary/outer dispatch) and uniform-transfer-audit (all-size proof). Stop after the chosen implication; more digits of an unchanged root are not additional mechanism coverage.",
"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.",
"Calling an aggregate histogram or source archive an independently accepted physical supplier."
],
"overlap_terms": [
"independent moment",
"rank histogram",
"exact enclosure",
"2979",
"rank7 joint endframes",
"paired extraction",
"joint lowering",
"4088",
"4091",
"4067",
"staged544-mixed-fourth-entry",
"staged-fourth-mixture-ceiling",
"r437-two-window-carrier"
],
"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_status": "changed",
"actual_scope": "Independently recompute the mode-0 Km0 counterexample to K-conjugated current-source Q in the merged deferred-K component, including the 512-state identity K^{-1} X_1 K = -X_7 and the placement R = D Q. No global occurrence ledger and no new kappa.",
"scope_change_reason": "Handoff discussioncomment-19160035 asks first for an independent inspection of the literal correction and source-phase Q placement. The component checker records that Km0 witness as inherited and not recomputed. This package closes that operator check only. It does not reconstruct a mixture ceiling or bind the missing global caller ledger.",
"bottleneck_link": "A K-wrapped query implements a different map from the bare current-source Q that the eight-H1 overlay uses. Billing that wrapped route in a later global invoice would charge an operator the component does not execute. The local saving still does not fund kappa until a version-correct occurrence ledger exists.",
"budget_minutes": 60,
"stop_rule": "Stop after the pinned mode-0 word, the all-basis conjugation, and the R = D Q placement. Do not emit a global caller ledger or rerun native, phase, or pricing engines.",
"outcome": "completed",
"evidence": "research/deferred-k-q-placement-audit/verify.py prints PASS_DEFERRED_K_Q_PLACEMENT. Positive case is the pinned literal word on all 512 computational basis states. The failure control clears one linear phase and no longer yields -|7>.",
"author": "unpaidmoon",
"ai_assistance": "Prepared by unpaidmoon with substantial Cursor Grok assistance.",
"open_questions": [
{
"question": "Can one version-correct global occurrence ledger fund a gain from the eight-H1 deferred-K overlay?",
"why_it_matters": "The local profile still loses for every 0<C<1, and the necessary further-saving gate asks for at least 28 additional H1 deletions or genuine reuses at C=.00330007.",
"first_step": "Join one actual caller occurrence to its input version, owner, chart, phase, axes, and lifetime, and debit every helper once.",
"blocked_by": "No complete global caller is supplied with this component. This Q-placement check does not create one."
},
{
"question": "Can the full physical raw inverse-transpose, including helper and owned directions, be emitted?",
"why_it_matters": "MAIN algebraic inverse products do not certify a literal helper/owned dual.",
"first_step": "Construct the ordered helper and owned raw-dual routes and check source classes, normalizers, and zero returns.",
"blocked_by": "That dual is outside the mode-0 operator calculation."
}
]
}
35 changes: 35 additions & 0 deletions research/deferred-k-q-placement-audit/VERIFY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"schema_version": 1,
"status": "ready",
"python": "3.12",
"requirements": [],
"inputs": [
"research/deferred-k-query-sharing-component/PROOF.md",
"research/deferred-k-query-sharing-component/verification/inputs/outputs/kappa0033-race-20261024/plan/BALANCED-J-CURRENT-Q-FRAME-audit/REPORT-v1.md"
],
"commands": [
{
"argv": [
"{python}",
"-I",
"-Werror",
"-B",
"{package}/verify.py"
],
"timeout_seconds": 180,
"checks": "Read the pinned mode-0 literal word and PROOF.md Km0 sentence, then recompute K, bare Q, K-conjugated Q, R=DQ, and K-versus-R commutation on all 512 basis states. A one-coordinate phase mutation must miss -|7>."
},
{
"argv": [
"{python}",
"-I",
"-O",
"-Werror",
"-B",
"{package}/verify.py"
],
"timeout_seconds": 180,
"checks": "Same operator identities under optimized bytecode. No native, phase-table, emitter, or economic replay."
}
]
}
Loading