Skip to content

Audit ideal lattice closure across an admitted rounded leaf - #1908

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
adamgall:research/uniform-transfer-audit-09
Oct 14, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
adamgall:research/uniform-transfer-audit-09

Conversation

@adamgall

Copy link
Copy Markdown
Contributor

Result

An exact, source-bound counterexample to transporting ideal affine-lattice closure through an admitted internally rounded leaf. This is not a bug in PR628 or PR1848, and does not change the selected supplier or kappa.

For the pinned PR628 length-one outside leaf (b=1/4, phase (3/5,4/5), beta 1/2, working precision 4), source (-17,4) and zero target produce (39/8,-1/16), whereas the exact ideal operator produces (5,0). The ideal shear preserves the all-integer lattice x=(-17+4i)k, y=5j; the actual admitted implementation does not. A later exact-addition pair using the unchanged actual real output with precisions 0 and 4 leaves 1/8. Same-grid pairs and the leaf's own literal inverse restore exactly.

The README gives the independent rational trace and a sharp half-open rounding-cell admission repair. Higher execution precision provides a positive example where the later pair cancels even though exact lattice closure still fails.

Scope and predecessors

Only research/rounded-leaf-lattice-closure/ is added. Frozen sources, selected record, shared indexes and workflows remain unchanged.

Verification actually run

macOS arm64, CPython 3.12.12, standard library only:

uv run --python 3.12 --no-project python scripts/research_package.py --package research/rounded-leaf-lattice-closure
uv run --python 3.12 --no-project python -I -O -B research/rounded-leaf-lattice-closure/verify.py --witness-only

Observed PASS_REGISTERED_RESEARCH_PACKAGE and PASS_ROUNDED_LEAF_LATTICE_CLOSURE_WITNESS; combined final command duration 1.22 seconds.

The registered replay checks 8,064 actual leaf cases and 8,064 literal inverses, 4,032 exact Gaussian-unit positive controls, 3,456 increment lattice-escape cases, and 3,600 sharp-cell checks. Other controls cover dirty targets, signed ties, matched precision, higher precision without exact lattice closure, input pin corruption, and rejected underprecision/off-grid/nonunit/aliased calls. No floating point, full repository suite or full selected cold replay was used.

Limits and next question

This is an admitted generic primitive input, not a proved occurrence in a selected multiplier or a particular prepared prime-power kernel. Finite census evidence is not a universal compiler proof. The all-integer ideal closure and safe-cell statements have written proofs; one exact instance falsifies the proposed shortcut.

Next: for a concrete caller, propagate a source-dependent error enclosure through the actual rounded updates and certify containment in every later mixed-precision equality cell, including dirt and complete precision cost. No such selected-caller policy or cost saving is claimed here.

Credit Chafik Boukhalfa/chafreaky, Gareth Davidson/bitplane, woklerx, and the analytic lineage retained in PR628's NOTICE. Prepared for adamgall with substantial OpenAI Codex assistance in derivation, implementation and prose; Apache-2.0. No independent human review or literature-priority claim.

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

Copy link
Copy Markdown
Contributor

Batch review at e54fcebd99d888b6fc4acb20fde81002e3ba024e.

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

Reviewed scope: Actual pinned rounded leaf gives39/8-i/16 where the ideal lattice map gives5; a later mixed-precision pair leaves1/8. Independent rational formula,8064 leaf/inverse cases and3600 half-open-cell checks pass. This falsifies ideal-to-actual lattice-closure inference, not the admitted primitive or a selected caller.

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