Skip to content

Prove exact width six for a single carryless odd-product channel - #8107

Open
petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w4-1201a-width-six-product
Open

petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w4-1201a-width-six-product

Conversation

@petalas

@petalas petalas commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Result

Scoped theorem and finite construction. One product of two binary polynomials of degree at most five determines the full ordinary product modulo 64 for independently encoded odd operands. Six coefficients per operand are necessary even to recover only bits four and five. This closes the width question in Clear1nsight’s #7838 handoff.

odd residue = sign × power of five
encode its exponent as a monic quartic with the corresponding factor weight
shift its quartic by one power of z if the sign is negative
multiply the two polynomials over F2
decode the sign from the product degree and the exponent from its factor weight

Evidence

The previous single-product construction used seven coefficients per operand. The new circuit uses six, and all 1,024 ordered input pairs agree with ordinary multiplication at every output bit modulo 64. There are 309 polynomial returns and no conflicting residues. Both encoders, the convolution and the table-free decoder use 145 AND and 440 XOR gates in total.

Run from the repository root with Python 3.12 and the standard library.

python3.12 -I -B research/width-six-odd-product/verify.py
python3.12 -B scripts/research_package.py --package research/width-six-odd-product
python3.12 -B scripts/check_research_commit.py --package research/width-six-odd-product --check-source-history

Limitations

The direct truncated schoolbook control uses 26 AND and 31 XOR gates. The result gives an exact width on this finite odd-input domain and has zero κ credit. The package adds a proof and replay in its own directory.

Open next questions

  • Can an encoder and decoder for the same width beat the direct control? Start by reducing the factor-weight computation on the 309 reachable returns and charge the entire circuit.
  • Can the 32 monic quintics be assigned distinct additive factor weights modulo 32? A feasible assignment would give a width-seven single-product construction modulo 128.

Related open work

The open PR and discussion search found no other active PR on this width-six channel. The predecessor is the archived #7838.

CI notes

All three commands passed locally with Python 3.12.15. The replay planner selected this package alone. The hosted plan and package replay passed for commit aadc90c4fff08962fa90d1408b4ffdae592eb9bb. 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