Skip to content

Certify the sharp recursive-size window of Gaussian residue recovery - #3926

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ToikY:codex/gaussian-residue-shrink-window
Oct 20, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ToikY:codex/gaussian-residue-shrink-window

Conversation

@ToikY

@ToikY ToikY commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

PR3881 supplies a paid exact-residue multiplication to lower Gaussian recovery precision. This package determines exactly when that child is strictly smaller than the declared parent width, including partially filled top digits, and executes the new boundary point. No new κ, physical caller or whole-cost improvement is claimed.

For the unchanged 455-point source box and 64-bit digits:

  • At the full 14,592-bit width, the largest admitted residue width is k=28, p=180, with 14,556-bit child inputs. At k=29 the maximal input attains 15,011-bit children, so strict shrinkage fails.
  • k=27 is the largest fixed width that works throughout its entire supported tail, n=28..14,592. k=28 has explicitly classified holes above 8,192 bits.
  • The sharp formula is min(k,t)+(L−1)(2k+ceil(log₂ L)), where L=ceil(n/64) and t is the top digit width. It finds 599 admissible pairs missed by the conservative bound; the unchanged predecessor’s conservative receipt remains correct. An actual n=65/k=29 execution has 60-bit children despite its conservative 88-bit bound.

The written proof covers general positive n,b and source-admitted k, with an attaining all-ones input. Exact arithmetic certifies p_min=208−k for all k=0..64 for this frozen sufficient certificate. The all-input finite-box implication retains the predecessor’s numerical/backend proof premises.

Validation: all 933,888 fixed-box (n,k) pairs checked by two separately implemented engines; 70 independent literal packed-word witnesses; three freshly regenerated p=180 operator certificates/matrices; two complete maximal-input Gaussian products; 12 real CLI negative controls and two positive controls under normal/optimized Python. Python 3.12 registered replay passed (20.86 s, maximum child RSS 75,497,472 bytes); a regular-only, read-only, inode-disjoint Git-free export passed all three commands. Commit-byte and scoped diff checks passed. No fresh Lean/native/selected-supplier cold replay is claimed.

Reproduce: python3.12 -B scripts/research_package.py --package research/gaussian-residue-shrink-window.

Credit Dugongue for PR3881 at 75e098dc12a2567e73a2858137408e08d31dbf84, Mason Hale for the certified Gaussian backend, and their retained source notices for earlier contributors. Jose Manuel’s PR3878 is physical-caller context only. New work by ToikY with substantial OpenAI Codex assistance, including separate AI arithmetic verification and mathematical review; no independent human or formal-kernel review.

Remaining obligations: actual physical tensor/CRT/residue composition, the complete paid cost inequality, and an all-size recurrence/basecase policy. Q=448 enclosure arithmetic is unchanged. PR3890, upstream sources and the selected frontier are preserved. Base refreshed at main 20ecf2891d80b5acf18d980b2164fb44ea7faa90, priority revision6; live overlap rechecked before publication.

Task: independent-moment, scope refined to a concrete recursive-size interface (seed 95c2f6780dcb30b8ecca22b24e893a81); the proposed formal/chronology checks were already covered. TASK.json records the original card and refinement. Open next questions give the scoped physical-caller/cost follow-up and blockers.

Source-bound strict-child theorem, independent exact verification, actual k28/p180 Gaussian boundary execution and fail-closed CLI controls. No new kappa. Credit Dugongue and Mason Hale; substantial OpenAI Codex assistance.
@Mister-Meeseeks
Mister-Meeseeks merged commit 0a2d65f into CrocSwap:main Oct 20, 2026
2 checks passed
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