Skip to content

feat(univariate): randomized Cantor-Zassenhaus root search - #254

Open
olympichek wants to merge 9 commits into
Verified-zkEVM:mainfrom
formal-land:gs-univariate-las-vegas
Open

feat(univariate): randomized Cantor-Zassenhaus root search#254
olympichek wants to merge 9 commits into
Verified-zkEVM:mainfrom
formal-land:gs-univariate-las-vegas

Conversation

@olympichek

@olympichek olympichek commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Overview

This PR adds a Las Vegas randomized Cantor-Zassenhaus univariate root-search backend.

This PR includes:

  • A configurable randomized splitter with probe families and deterministic fallback behavior.
  • Odd-characteristic splitting and characteristic-two trace splitting to support both odd and even (binary) fields.
  • Soundness and completeness proofs for the Las Vegas root-search.
  • Probabilistic proofs for the randomized splitter: each split attempt succeeds with probability at least 1/2 under uniform probes
  • Regression tests for Las Vegas root search.
  • Benchmarks comparing different univariate root search backends.

Technical details

The source of randomness in the executable code is caller-supplied ProbeFamily data. However, once the probe family, config, and input polynomial are fixed, the splitter is pure and deterministic. Tests and concrete field contexts use deterministic probe families; the binary benchmarks precompute fixed-seed probe tables before timing and then pass those tables through the same explicit probe interface.

@dhsorens

dhsorens commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Maintainer re-land in progress. This PR is the source of truth for the roots stack (Shoup + Las Vegas). We are re-landing onto current main rather than force-merging this stale branch (module system #280, Mathlib 4.32, Binary/Tower integration for char-2 instead of a parallel Binary/Extension + GF2_32/48/64/72 dump).

A new PR will open for the port; this PR will close as superseded when that lands. Attribution to Valerii Huhnin (olympichek) is retained.

@dhsorens

dhsorens commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Re-land PR opened: #290. This PR can close as superseded when #290 merges.

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.

2 participants