Skip to content

fix(jolt-sumcheck): allow zero-round claims#1489

Closed
quangvdao wants to merge 2 commits into
a16z:mainfrom
quangvdao:quang/allow-zero-round-sumcheck-claim
Closed

fix(jolt-sumcheck): allow zero-round claims#1489
quangvdao wants to merge 2 commits into
a16z:mainfrom
quangvdao:quang/allow-zero-round-sumcheck-claim

Conversation

@quangvdao
Copy link
Copy Markdown
Contributor

@quangvdao quangvdao commented May 1, 2026

Summary

  • Allow SumcheckClaim::new to accept degree-zero claims generally.
  • Cover a nonzero-variable constant sumcheck with degree-zero round polynomials.
  • Keep the zero-round constructor regression test.

Test plan

  • cargo fmt -q
  • cargo nextest run -p jolt-sumcheck degree_zero sumcheck_claim_new --cargo-quiet

Posted by Cursor assistant (model: GPT-5.5) on behalf of the user (Quang Dao) with approval.

Permit degree-zero claims when there are no sumcheck rounds, while preserving the degree check for non-empty sumchecks.

Co-authored-by: Cursor <cursoragent@cursor.com>
@quangvdao quangvdao requested a review from moodlezoup as a code owner May 1, 2026 21:27
@github-actions github-actions Bot added the no-spec PR has no spec file label May 1, 2026
Treat zero as a valid sumcheck degree bound for constant round polynomials, including nonzero-variable claims.

Co-authored-by: Cursor <cursoragent@cursor.com>
@quangvdao quangvdao closed this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-spec PR has no spec file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant