Skip to content

Add clipped Karatsuba Newton reciprocals - #9598

Open
kim-em wants to merge 11 commits into
mainfrom
poly-fast-clipped
Open

Add clipped Karatsuba Newton reciprocals#9598
kim-em wants to merge 11 commits into
mainfrom
poly-fast-clipped

Conversation

@kim-em

@kim-em kim-em commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Depends on #9585.

This stacked change closes the remaining generic multiplication slice gap and starts milestone 3:

  • replaces the quadratic Karatsuba slice fallback with interval-aware recursive Karatsuba
  • computes each of the three recursive subproducts once over the bounding interval of its shifted contributions
  • proves the exact MulPlan slice coefficient law for all intervals
  • adds plan-driven bounded truncated-series multiplication
  • implements Newton reciprocal doubling with both products routed through MulPlan.slice
  • proves exact agreement with TSeries.invOfUnit and the multiplicative inverse equation
  • adds reciprocal conformance coverage

Verification:

  • lake build HexPolyFast
  • lake build HexPolyFast.Conformance
  • repository-wide lake build was started from a cold cache and stopped after 4,700/10,294 unrelated Mathlib-heavy targets; no failures occurred before stopping

@kim-em
kim-em force-pushed the poly-fast-clipped branch from 57e73c6 to f4d6d18 Compare August 25, 2026 04:07
Kim Morrison and others added 4 commits August 25, 2026 04:38
# Conflicts:
#	.github/workflows/ci.yml
#	scripts/bench/proof_only_runtime_exemptions.json
# Conflicts:
#	.github/workflows/ci.yml
#	scripts/bench/proof_only_runtime_exemptions.json
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