Skip to content

Join Tensor error bounds through compression and final restoration - #5325

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
aliromman:codex/tensor-restored-error-join
Oct 23, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
aliromman:codex/tensor-restored-error-join

Conversation

@aliromman

@aliromman aliromman commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

This conditional enabling proof joins expansion, normalized chirp, compression and final restoration into one Tensor error budget. It makes the 3D-bit compression attenuation explicit and gives a smaller sufficient final error comparison. The complete κ calculation and selected frontier are unchanged.

Proof, exact receipt, source pins, and checker. Base: canonical main ff3cc58e370d0f678e529246f8c73e8094e18fcf, priority revision 7.

B(D,A) = 8^-D [a(1-beta^D)/(1-beta)+4 sqrt(2) 2^A+22]
         +(16/7)(1-8^-D)
a=sqrt(2)+2^-11; beta=21/38; D>=1; A>=0
restored error < 2^(gamma-p) B(D,A)
p >= gamma+max(A-3D,0)+12 implies restored error < 1/256.

All source premises remain: p>=101, p-A>=13, geometry, a common p grid, local work-precision guards, exact factor/coordinate identities, and valid coefficient and primitive contracts. The result replaces only the sufficient final error comparison. It does not install a production policy.

Use CPython 3.12 and the standard library:

python3.12 -B scripts/research_package.py --package research/tensor-restored-error-join
python3.12 -B scripts/check_research_commit.py --package research/tensor-restored-error-join

Both registered modes passed under Python 3.12.13, with warnings as errors and with -O. Expected verifier marker: PASS_JOINED_TENSOR_ERROR_GUARD. The checks authenticate main-branch composition sources, inspect five schedule sites and both restored components, and verify 3,104 exact rational recurrence cases. The written inequalities prove the all-dimension bound; the cases do not replace that proof. The committed-byte check, export inventory check and both direct exported replay modes passed. git diff --check passed. Full-history validation was not run in the shallow checkout. No full physical caller, Lean, native/compiler or selected replay ran.

No production geometry, coefficient backend or complete physical Tensor was re-admitted. CRT entrance/product/return and both S factors remain separate obligations.

This packages the completed Discussion result as the same contribution with a committed proof and replay. @kumagi’s PR #5295 supplies the expansion theorem at commit 351975ee703ec5aa1b18f70f73700d434026199a. This is an explicit external theorem premise, not an executed local input. @JoyboyBrian’s PR #5081 supplies the compression refinement. @jmbarrancoml’s retained physical Tensor and chirp sources are linked in the proof and pinned at the base in SOURCES.json. @mdumitrean and the retained native, ownership, precision and compiler authors keep their source credit. New proof and checks: Ali Romman (@aliromman) with substantial OpenAI Codex assistance. Apache-2.0. This is author-checked evidence; independent acceptance is not claimed.

@Mister-Meeseeks
Mister-Meeseeks merged commit 3b785d5 into CrocSwap:main Oct 23, 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