Skip to content

Prove the native P104 channel's all-cut precision interface - #2096

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
adamgall:research/contribution-20261014-10
Oct 15, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
adamgall:research/contribution-20261014-10

Conversation

@adamgall

Copy link
Copy Markdown
Contributor

Result and research claim

This supplies a finite local precision interface for the actual native P104 G/2 channel of PR1991, not a new channel compilation, side correction or supplier. The domain is the immutable 4,058-event word: 104 sources, 104 targets, 72 arbitrary dirty helpers and eight distinct owned private-copy lifetimes.

The norm is the maximum of individual register Hilbert norms, not an addresswise maximum or a concatenated all-register norm. If each independent input has norm at most B, exact signed propagation gives:

Quantity Exact coefficient
Maximum ideal input-to-prefix row norm 106 (the ideal endpoint maximum is only 26)
All-cut accumulation of independent unit absolute defects at every update 450
All-cut weighted accumulation, with addition weight 1+abs(a) and other update weights 1 668
Native-child-only all-cut accumulation 356, versus final all-role coefficient 336

The absolute-defect statement is sharp for independent arbitrary additive vector defects. There are 4,042 defect sites: 1,410 native transports, 2,624 scalar additions and eight copies. Exact-zero allocation, exact monomial factors and owned discard are explicit premises. Final all-defect coefficients are 7 for sources, 1153/4 for targets and 450 for dirty helpers. Discarding a private copy does not erase errors already propagated to other registers.

For state-relative local defects bounded by u times the actual input norm at a native transport/copy, or u*(||dst||+abs(a)*||src||) at an addition, the complete all-cut feedback implication is

668*u < 1
M <= 106*B/(1-668*u)
max_boundary_error <= 106*668*u*B/(1-668*u).

Thus u <= 2^(-b-17) suffices for all-role error at most B*2^-b, for every integer b>=0. The feedback estimate is sufficient, not an attained rounding error or a minimal-precision claim. In particular, neither endpoint-only accuracy nor exact symbolic dirty restoration can replace all-cut stability.

Proof-critical native binding and method

The retained primitive is C_q=((1+i)I+(1-i)X_q)/2, with eigenvalues 1 and i on the two eigenspaces of the involutive permutation X_q. Its inverse and every address-permutation/Gaussian-phase factor are unitary. The replay authenticates source bytes before importing the retained independent interpreter, then checks all 740 transport recipes / 1,410 occurrences, 208 monomial endpoint adapters and 948 exact normalized Gaussian columns, including signed Pauli actions and scalar phases. It does not assume an unspecified recursive child is contractive.

A physical defect after an instruction is conjugated by that instruction's actual unitary canonical frame. Its Hilbert norm is unchanged, leaving the exact literal scalar recurrence. Forward input/error-symbol rows cover every instruction boundary; a separate reverse-adjoint recurrence agrees on all 62,867 nonzero signed endpoint-response coefficients and the entire arbitrary-input map. Sign-aligned constructive executions attain 106, 450 and the independent weighted-defect coefficient 668. Exact native controls distinguish Hilbert from pointwise norms and show that norm bounds alone cannot authenticate global phase.

Accounting and limitations

The word and paid profile are unchanged:

1074 H1 + 58 H2 + 86 H3 + 104 H4 + 48 H5 + 24 H6 + 8 H7 + 8 H8, rank mass 2368 = 2312 boundary coverage + COPY56.

No precision reserve or recursive charge is removed. The abstract argument applies to the same scalar word with unitary charts in any Hilbert dimension, but only the concrete nine-coordinate/512-address native realization is source-checked. This does not establish actual rounded-child error bounds, internal recursive-kernel stability, the I-G/2 correction, chronological global owner hosting, tape/all-size admission, a completed supplier moment or a new κ. The selected frontier and frozen predecessors are untouched.

Evidence and reproduction

Eight files, all under research/p104-native-precision/, including proof, full selection/task/source/replay metadata, exact receipt and semantic tests.

uv run --python 3.12 --no-project python scripts/research_package.py --package research/p104-native-precision

Observed locally on CPython 3.12/macOS arm64; the complete registered replay also passed a separate AI-assisted review/replay before publication:

PASS_P104_NATIVE_PRECISION input=106 absolute=450 relative=668 guard_bits=17 native_recipes=740 endpoint_coefficients=62867 controls=13 no_new_kappa
PASS_P104_NATIVE_PRECISION_TESTS dense_defects=4042 independent_impulses=18 source_drift=reject read_only_optimized_export=pass
PASS_REGISTERED_RESEARCH_PACKAGE research/p104-native-precision outcome=completed

The 13 controls include constructive sharpness, endpoint/interior distinctions, dirty-restoration defects, surviving private-copy errors, missing compensation/cleanup, private-lifetime aliasing, native normalization, wrong norm, phase blindness and the relative-feedback guard. The additional execution uses all 4,042 rational defects and 18 individual impulses spanning every native rank and private lifetime. A changed interpreter is rejected before execution; an optimized read-only relocated export preserves all bytes. Default replay compares canonical payloads and writes nothing. No selected cold replay, proof-assistant run or hosted CI pass is claimed.

Provenance, predecessors and scope change

  • Scientific base: 564148b82ae9df72163f22106f15e73efca8aff2; contribution commit: f22626f334a06f6e842766e4a6647419e6821d2d.
  • Independent sole chooser seed: 1be10fd8d275206692a433be1dacd810, complex-mechanisms, priority revision 4. The P104 card is explicitly changed from correction construction to this separate local precision obligation left open by PR1991; no claim to passing its supplier-construction gate.
  • PR1972, fd82d172f46933fd253c2c6de4bd5eaff5429cfd, supplies the entire scalar/frame channel. PR1991, reviewed at 6e222517e182e98499239bc9a4009f540e1c5520, supplies its concrete native realization.
  • PR2067 concerns an all-size endpoint recurrence for complete PR628 balanced-word leaves, a different word and error domain. The selected1094 wire-prefix and dirty-prefix monomial audits are credited norm-method precedents, not transplanted constants.
  • Active terminal correction work in Discussion2080 is separate and is neither consumed nor certified here.
  • The inspected canonical checkpoint 0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2 changes guidance only; catalogue/scientific inputs are unchanged. Final targeted offline overlap used the shared complete snapshot of 353 open PRs and 738 discussion/comment/reply records, plus local and targeted live predecessor reading. Coverage and exact timestamps are recorded in TASK; absence of matches is not a novelty guarantee.

Credit Rohan Arun/PR1972, Chafik Boukhalfa/PR1991, Adam Gall/PR1940, Josie Elliston/PR1071, Ali Romman/PR1125 and PR1862/1931, icekylinx's Clifford lineage, and the retained E8/dirty-helper predecessors. Source-specific notices remain unchanged. New material is Apache-2.0. Prepared by Adam Gall with substantial OpenAI Codex assistance in research, proof, implementation, verification and writing; review was also AI-assisted, not independent human or formal review.

Open next questions

  1. Bind an actual rounded recursive child to the completed-output Hilbert-norm defect contract at the P104 ranks; native unitarity alone does not supply this implementation premise.
  2. Once a corrected chronological P104 word is available, recompute the combined prefix and defect maps, rather than composing only endpoint error constants.
  3. Propagate actual owner-family magnitudes and nonzero helper residual errors through globally hosted corrected calls, retaining all precision/tape/all-size charges.

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.

2 participants