Skip to content

Research audit: sharp logarithmic dirty-prefix coefficient bound (no new kappa) - #1085

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
bbMisk:hanson/audit-dirty-prefix72-82b99c7d
Oct 14, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
bbMisk:hanson/audit-dirty-prefix72-82b99c7d

Conversation

@bbMisk

@bbMisk bbMisk commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

PR905 bounds the coefficient row sum of a balanced dirty commutator prefix by 2*3^ceil(log2 n). This research audit proves the sharp bound ceil(log2 n)+2 for every ideal prefix and inverse prefix, in both call directions, using the unchanged PR628 dispatcher. Each matrix entry is zero or a single signed ordered monomial. An identity-factor family attains the bound.

In PR905's existing sufficient precision formula, this reduces the radix-64 example from 1,162,553 to 1,162,523 fractional bits (p=128, magnitude at most 2^20, no finer incoming grid). The 4,000 paid leaf calls, six dirty arrays and cubic asymptotic guard remain unchanged. No new kappa or runtime improvement is claimed.

Only research/dirty-prefix-monomial-audit/ is added: written proof, independent exact checker, deterministic receipt, controls, source pins and validation record.

Reproduce with Python 3.10+ and the standard library:

python3 -I -O -B research/dirty-prefix-monomial-audit/verify.py
python3 -I -O -B research/dirty-prefix-monomial-audit/test_package.py

Expected: PASS_DIRTY_PREFIX_MONOMIAL traces=168 boundaries=1184622 budgets=1242 controls=10 kappa=unchanged, followed by eight passing package tests.

Evidence includes every primitive boundary at 84 frozen factor counts through 257; comparisons with the pinned dispatcher; 32 abstract induction cases; 430 dense noncommuting matrix boundaries and 44 independent Gauss-Jordan prefix inversions; 1,242 precision comparisons; and ten mathematical controls. Normal execution, isolated optimized read-only relocation, source-drift and receipt-tamper rejection, the selected-record checker and its five tests all pass. Finite replay supports the written all-n induction; it is not formal verification or independent human peer review. Full repository/supplier replays, new rounded-kernel execution and hosted CI are not claimed.

Base: 2921874911956718fcaaaf9396fe8267b3cfa9f0. Assignment seed: 72, adversarial mathematical audit. All eight consumed inputs remain byte-identical at refreshed main abdc6a7002abdbcd9e21bfc5e1a795784deacfdf. SHA256, Git blobs and original predecessor heads are recorded. No pinned coordination issue existed, so the sprint claim is local. The selected frontier and upstream/ are untouched.

Credit Chafik Boukhalfa for PR628/905 and the PR862 subset/preparation argument, Gareth Davidson for PR877's prefix perturbation method, and 0xkilgore for PR663's exact call count. PR896 addresses nonlinear restoration. Concurrent PR1057 changes the dirty allocator and uses a different growth majorant; this contribution keeps the reserved-depth allocation. Common-isometry, preparation, phase access, leaf error, internal growth and physical/compiler/transform obligations retain their stated scope.

Prepared for Hanson Sun (@bbMisk) with substantial OpenAI Codex assistance in derivation, implementation, verification and writing. Apache-2.0. No literature-priority claim.

@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

100-PR batch review at 82b99c7d12dac009d35636562df4c6c91e885409.

Merged to main, preserving the original contributor commits and package attribution.

Reviewed scope: Sharp reserved-depth ideal dirty-commutator prefix coefficient bound; inherited rounded precision guard only, no altered primitive.

The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions.

Batch review, attribution and evidence. Thank you for the contribution.

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