Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint clippy fix #17

Open
wants to merge 78 commits into
base: main
Choose a base branch
from
Open

Conversation

hero78119
Copy link

No description provided.

yczhangsjtu and others added 29 commits February 17, 2025 15:52
Allow WHIR to process polynomials shorter than the folding factor. This
is achieved by padding the short polynomial until it reaches
2^(folding_factor)
Fixed the bugs in the simple batching case and add tests. Use `cargo
test --package whir --lib -- whir::tests::test_whir --exact
--show-output` to run the new batching test.
…h#16)

Finished batched openings on polynomials of the same size on different
points.

Main contributions:
1. Update the original simple_batch_prove to support multiple (or 0)
points evaluated across all polynomials.
2. A new sumcheck protocol in `sumcheck/prover_batched` and
`sumcheck/prover_not_skipping_batched` which uses a separate Eq
polynomial for each point.
3. New `same_size_batch_prove` and `same_size_batch_verify` which first
runs the new "unify" sumcheck to obtain the evaluation of all
polynomials on the same point, and then perform regular WHIR operations.
4. New tests: `make_whir_batch_things_diff_point`.

Remaining Issues:
1. One can imagine the support of multiple same / different opening
points on each polynomial, not sure if this would be useful
2. Existing ceno interface of `prove_with_merlin_simple_batch`, etc. now
requires copying the point and eval. This problem can be mitigated by
making modifications in ceno.
3. Ceno interface for opening different points is not implemented.
@yczhangsjtu yczhangsjtu changed the base branch from feat/ceno-binding-batch to main February 26, 2025 10:26
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.

3 participants