Skip to content

Certify a 343-bit coupled residue domain for P104 lifting - #3035

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/p104-coupled-lifting-residues
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/p104-coupled-lifting-residues

Conversation

@petalas

@petalas petalas commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary

PR3033 scalar split:  1,024 residue bits per 128 Gaussian components
Coupled prefix lattice: 343 residue bits, all real coordinates still <16
N=512 four-block map:  4,096 -> 1,372 residue bits

Close a bounded part of PR3033 open question 2. Prove signed-input equivariance for a coupled translation lattice, certify its exact rank-seven index and triangular basis, and implement the identical lifting map with canonical residues. The inverse uses the image lattice UΓ; a regression example shows why reusing Γ can fail.

This reduces the local nonlinear domain by 66.5%. It establishes no runtime gain, admitted supplier or new κ. Decomposition, an extra narrow linear pass, intermediate widths, buffers, physical restoration and the complete caller/backend bill remain charged or unresolved. Stop after this local result; no dependent construction expansion or selected-frontier change.

Only research/p104-coupled-lifting-residues/ is added. Base main d8e0f83f00191df62174b641e9fff055c357f641, priority revision 6; PR3033 dependency b12bbaeb5ca2e83f15433fc2dd0ba3b766595281. Both were refreshed and unchanged before submission. Canonical investigation.

Evidence

  • Before: PR3033 retains 1,024 independent residue bits per block. After: exact prefix-kernel intersections give index 2^343; a separate simultaneous-congruence modular implementation agrees for ranks 1–7. HNF membership plus equal determinant certifies the complete stated prefix lattice, without a Sympy replay dependency.
  • All 256 basis columns pass forward/inverse translation comparisons against byte-identical predecessor code. Eighteen signed fixtures through 4,090 bits, ±4,096-bit boundary controls, two synthetic wrapped N=512 fixtures and 162 signed pair cases pass. Eight behavioral groups include unpruned rank-one/two quotient oracles, same-index invalid basis, source/typed-receipt corruption and read-only Git-free optimized exports.
  • Normal and optimized registered replay, warnings-as-errors compilation, Ruff and byte-identical optional Sympy regeneration pass locally on macOS arm64/CPython 3.12.15. Two scoped internal reviews found one shared signed-intermediate headroom issue, now fixed and rechecked. All 15 publication files match commit 0cc430349a3f3dc200666bc22e997076e0a557ed. Hosted CI and independent human/formal review remain separate.
python3.12 -B scripts/research_package.py --package research/p104-coupled-lifting-residues

Credit Tekalign/PR3025/3033 for the floor word, collector, scalar split and backend boundary; ywz65/PR2586, Arham Tahir/PR2999 and the retained P104 geometry/native lineage. Substantial automated assistance is disclosed in the package. General lattice parity kernels and Hermite normal form are not claimed as new.

Merge Danger

Door: two-way.

Blast Radius: package.

One additive opt-in research package. No shared checker, frozen predecessor, selected record, priority or other PR disposition changes.

@Mister-Meeseeks
Mister-Meeseeks merged commit 5d93a57 into CrocSwap:main Oct 16, 2026
1 check 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