Skip to content

Reduce multiplication to one fixed-dividend remainder window - #8123

Open
petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w7-1201c-division-reduction
Open

petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w7-1201c-division-reduction

Conversation

@petalas

@petalas petalas commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Result and claim type

This proves a scoped, two-way reduction between full multiplication and a low remainder window on prescribed inputs, with linear fixed-tape overhead. At width $m=6n+1+s$ for $0\le s<6$, one call returns only the low $2n$ bits of $2^{m-1}\bmod D$. The divisor is odd and has two free bit fields among prescribed bits. The quotient is already determined by one field. Those $2n$ remainder bits recover the product of arbitrary $n$-bit operands.

The reverse calls one $n$-bit multiplier. The square-root time endpoint with linear visited space is equivalent for the two problems. The November 24 multiplication lower bound also gives $\Omega(m\sqrt{\log m})$ time on the promised remainder inputs at every sufficiently large width under variable-count Weak ETH. HansBrende's #8100 identified the preprint's exact-division question.

Attempts on the main target

  1. Sparse folding. The first two resulting terms vanish in the returned word. Accumulating the remaining shifted copies takes $2n^2$ destination visits on a dense input in the direct scan schedule.
  2. Carry-separated binary convolution. With two all-ones fields, the middle coefficient is $n$. Reading coefficients independently needs $\lfloor\log_2 n\rfloor+1$ bits per slot. Materializing the packed result costs $\Omega(n\log n)$ time and space on this route.

Reproduction

From the repository root, run

python3.12 -B scripts/research_package.py --package research/fixed-dividend-remainder-window
python3.12 -B scripts/check_research_commit.py --package research/fixed-dividend-remainder-window --check-source-history
python3.12 -B research/fixed-dividend-remainder-window/verify.py
python3.12 -OB research/fixed-dividend-remainder-window/verify.py

Both modes check 137,064 cases across all six length classes, the two cost witnesses and two broken layout controls.

Limitations

The result concerns deterministic fixed tapes and the stated odd-divisor family. The transfer of the lower bound assumes variable-count Weak ETH. An endpoint algorithm remains open. The replay checks integer arithmetic, while the all-width proof accounts for tape scans and space. It does not execute a multitape multiplier or rebuild the preprint's Lean proof.

Open next questions

  • Price wide-word convolution, return scans and carry recovery using logarithmic block widths on dense instances.
  • Vary the shifts under the canonical remainder inequality to reduce the width ratio or the output window.

Related open work

CI notes

Local package replay, committed source-history preflight, and both direct replay modes passed. Hosted planning and package replay passed for commit 757355749e05b1ee7637703127d53f28f4db90b9. GitHub Actions run

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