Skip to content

Research audit: maximal invariant compact-control guard with saturated digits - #1475

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
thakrarsagar:research/cycle18-seed69-compact-saturation
Oct 14, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
thakrarsagar:research/cycle18-seed69-compact-saturation

Conversation

@thakrarsagar

Copy link
Copy Markdown
Contributor

Saturated temporary digits can be safe for one earlier-source compact-control call and fail on the next. This audit derives the exact complete-map agreement set and its largest subset invariant under the intended XOR, with an explicit carry predicate and exact all-n transfer counts.

At n=2,K=6,G=2, the invariant good fraction is 1499/2048, versus PR1219's 567/1024. The full agreement fraction is 6841/8192, but that set is not invariant and cannot be used blindly as the current-address repair guard. The retained construction and predecessor guards are correct.

Mathematical audit / research note; no new kappa. Only research/compact-saturation-audit-seed69/ is added. The source word, production predicates, selected result and upstream/ are unchanged.

The written proof covers n>=1,G>=1,K>=G+1,0<=rho<K. It retains all four swaps, four rotations, highest-bit completion and the complete exceptional-repair charge. Maximality applies to invariant agreement guards for this fixed word and complete rectangle, not every repair method.

Reproduce with Python 3.12 and the standard library:

python3.12 -B scripts/research_package.py --package research/compact-saturation-audit-seed69

Expected: PASS_COMPACT_SATURATION_AUDIT states=1196544 physical=1536 controls=7 headline=1499/2048 no_new_kappa, then PASS_REGISTERED_RESEARCH_PACKAGE ... outcome=completed.

Verification covers all 1,196,544 quotient states in six domains, 38,080 carry-transition cases, every permutation/inverse and sorted repair payload, plus 1,536 original physical-interpreter comparisons. Seven mathematical controls run in the committed verifier. Eight algorithm corruptions, six source corruptions and two receipt corruptions were also rejected locally. Python 3.14.8, optimized 3.12.15 and optimized 3.11.15 agree; 17 existing compact-control tests, five selected-record tests and selected integrity pass. Finite replay supports the all-n written proof; it is not formal verification of the multiplication theorem.

Research base: 410026dc5513b87db92ae98571d1d5984c69a983. Refreshed main: 4040a0f46d67b41c36a472a7cd4af791fd4c36cc, with all inputs and applicable rules unchanged. OS assignment seed69 selected the adversarial-audit track. Exact SHA256/Git pins, the local claim, completed coverage and open next questions are included. The final overlap snapshot covers 828 open PRs, 162 discussion records and 328 local records; no matching saturation/invariance audit was found.

Credit Douglas Colkitt and OpenAI's original framework, Hanson Sun / bbMisk's PR1219 and adjacent PR1247, and @martinxxx9's PR1108. The new scope removes PR1219's nonsaturation restriction and follows compact carries across multiple digits. No pending implementation is imported. Prepared by Sagar Thakrar with substantial OpenAI Codex assistance, Apache-2.0; no independent human review.

Full selected cold replay, Linux, physical/tape/hosting admission and Lean were not run. Later-source composition and inherited compiler, precision and analytic obligations remain open. Hosted CI success is not asserted. Review should focus on PROOF.md Sections 2-4 and the distinction between agreement and an invariant repair guard.

@Mister-Meeseeks
Mister-Meeseeks merged commit f55c248 into CrocSwap:main Oct 14, 2026
14 of 61 checks passed
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

Batch review at 0bca9e7b4e4c9843ceaa99bdda6ccc047d503ac9.

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

Reviewed scope: Exact agreement and maximal invariant guard for the unchanged earlier-source compact-control word, including saturated digits and carry propagation. Full finite permutations, repair destinations and all-n transfer-matrix proof checked; production guard and κ unchanged.

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.

@thakrarsagar
thakrarsagar deleted the research/cycle18-seed69-compact-saturation branch October 14, 2026 19:57
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