Skip to content

Multiply structured binary integers in linear tape time using Clifford readouts - #7851

Open
aliromman wants to merge 1 commit into
CrocSwap:mainfrom
aliromman:codex/clifford-multiplication-observations
Open

aliromman wants to merge 1 commit into
CrocSwap:mainfrom
aliromman:codex/clifford-multiplication-observations

Conversation

@aliromman

@aliromman aliromman commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This construction multiplies ordinary binary integers in linear fixed-tape time and space on a dense, growing family. It recovers an unknown affine support and quadratic Clifford phase from each operand, computes the required Bell observations, and delivers the carried binary product. The family permits independent growing periodic words and signed defects in both operands. A second branch permits a growing number of independently chosen Clifford charts per operand and takes O(n (log log(n+4))^0.831) time with O(n) backing. The complete controller tests membership from the literal bits. Proof and complete costs · Implementation · Combined Lean theorem

Each output trit selects a fixed binary pair or the two orientations of a Bell pair. Contracting the certified charts keeps one affine support, a quadratic sign, and a scale that changes by at most one bit at each edge. This lets the consumer deposit signed powers directly into ordinary product bits. The tensor-I/X/Z trace readout and these trit observations determine each other exactly. On an explicit subfamily, materialising the uncarried defect coefficients requires Ω(n log n) bits even with free input charts. The group sweeps of the complete Gaussian caller and the serial width-class sweeps of the direct Fourier caller also have superlinear movement on the same inputs. The comparisons apply to the named execution schedules and output representations. Readout equivalence · Physical traversal · Comparisons and hard examples

A nonmember pays O(n) for recognition and uses the pinned general multiplier. Its proposed worst-case saving remains κ = 0.00387992803556 under the predecessor's complete native and outer cost proofs. Main selects the conditional κ = 0.00363005817. The admitted Clifford branches use exact bit arithmetic and require no native H, BIT, Fourier or observation service. The full four-qubit width-13 Moore–Penrose decoder has a different contract. Fallback and hashes · Base and selected record

Verification. Two dense 6,560-bit fixtures gave independently checked 13,119-bit products. One used sixteen independently fitted charts per operand and all 256 chart pairs. Checks include 77,568 literal projected values, invalid supports, signed cancellation, long carries and a retained Fourier regression. All eight registered commands passed from a read-only, Git-free export with ten declared external input files. The warning-as-error Lean build and kernel replay of all 19 local modules cover exact contractions, unit movement, block carries and the final dense assembly. Its printed axioms are propext, Classical.choice and Quot.sound. The affine-hull implementation, Python-to-tape correspondence, total tape price and source-specific comparison have written proofs and executable checks. There was no wall-clock benchmark or historical frontier-suite rerun. Independent scientific review is open. Receipt · Coverage and Lean reproduction

GitHub ran 760 onboarding tests before package selection. One failed and 24 were skipped. The selected record requires make frontier7000-verify, while the CI guide lists make frontier6030-verify. Replaying this test on the unmodified base gave the same failure. GitHub skipped the package replay. Hosted check · Navigation assertion · Base CI guide.

From the repository root with CPython 3.12, run

python3.12 -B scripts/research_package.py --package research/clifford-ternary-product

Expected final line

PASS_REGISTERED_RESEARCH_PACKAGE research/clifford-ternary-product outcome=completed

Attribution. @aliromman prepared the construction with substantial OpenAI Codex assistance. The earlier exact stabilizer contractions and supplied-train support decoder informed the producer. @apoursh supplied the compact, mixed and two-site canonical readouts used to distinguish the observation contracts. The general fallback consumes the direct Fourier source at 3615fd982f2f4dc7172bef6f0dc9a4f77d5ab6dd and the complete mixed-rank price associated with @Clear1nsight. The original compiler, CRT, native supplier and classical stabilizer credits are retained. The bound uses the mixed-rank word at 87fbf4f7b35b0f18ab12b5767775a9a424cf0b15 and its uniform composition at 343f7b1817e26ad3f89d2ddad313b12741d53602. Attribution source for the complete price · Complete Gaussian proof. Exact contraction source · PR #7815 · PR #7821 · PR #7823 · PR #7824 · PR #7830 · PR #7846 · PR #7849 · Credit and source roles · Coordination

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.

1 participant