Skip to content

Reduce exact multiplication to one integer square-root window - #8112

Open
petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w1-1201b-single-root-product
Open

petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w1-1201b-single-root-product

Conversation

@petalas

@petalas petalas commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Result

Scoped proof. The full product of two unsigned $n$-bit integers is recoverable from the lowest $2n$ bits of one floor square root on a $(24n+1)$-bit radicand. The encoder copies the operands into separate fields. The decoder negates the returned word modulo $2^{2n}$ and flips its top bit if the first operand is odd. Both take linear tape work and space.

x, y → fixed bit fields in R → one floor-square-root window → negation and parity bit → xy

An even shift places the encoded product word inside any prescribed contiguous root window whose width is at least a fixed fraction of the declared input length, provided its position is computable in linear tape time. Under variable-count Weak ETH this gives an $\Omega(m\sqrt{\log m})$ worst-case lower bound at every sufficiently large input length $m$, even on the family with just two varying operand fields. With linear visited space, attaining the square-root logarithmic endpoint for any such window is equivalent to attaining it for full multiplication. The endpoint remains open. Proof

Evidence

Run from the repository root.

python3.12 -B scripts/research_package.py --package research/isqrt-window-product
python3.12 -B scripts/check_research_commit.py --package research/isqrt-window-product --check-source-history
python3.12 -I -W error -B -O research/isqrt-window-product/verify.py

The replay checks 87,380 exhaustive operand pairs, 105 larger pairs, and 3,291 prescribed-length window placements. The rejection controls detect an omitted rounding bit, an omitted parity correction, and an odd radicand shift. The Python replay checks exact arithmetic. The written proof accounts for the fixed-tape scans and invokes the November theorem for the conditional lower bound and the Newton reduction for the reverse endpoint transfer. Independent human and formal proof-kernel review are unclaimed. November 24 proof source

Open next questions

  • Can the radicand dilation of 24 be reduced while keeping one call and linear adapters? Try a placement that keeps higher-order terms outside the returned window and account for their carries.
  • Can the reduction use a scattered output such as the even-indexed bits? Test whether a spacing map preserves the ordinary binary product under carry propagation.

Related open work

  • #8102 proposes the November tape theorem as a frontier record. Its scope identifies the full-root corollary and the unresolved multiplication endpoint.

CI notes

The hosted plan and replay checks passed for 27b9953f58a9b009ecafb23017fb3cdca6e024ff. The registered verifier uses only the Python 3.12 standard library. GitHub Actions run 46735982091

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