Expose jagged assist claim helper#64
Merged
Merged
Conversation
kunxian-xia
reviewed
Jun 22, 2026
kunxian-xia
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Downstream jagged PCS provers need the assist sumcheck claimed sum in the transcript before running the assist proof. Without an exported helper, callers either recompute the same ROBP-derived value separately or duplicate private jagged internals, which is fragile for GPU/opening integrations.
Approach
Expose
assist_sumcheck_prove_and_append_claimso the assist claim is computed, appended, and proved from the same precompute path. Preserve the existingassist_sumcheck_proveAPI, and keepIOPProverState::claimed_sum()available for frontload sumcheck callers after the first round dropseval(0)from the proof message.Testing
Validated through downstream integration checks:
cargo check -p cuda_hal --features bb31cargo check --features gpu -p ceno_zkvmcargo check -p openvm-reth-benchmark --features gpuRisk / Rollout
Low protocol risk: the verifier transcript order is unchanged; this only centralizes how the prover computes and appends the existing assist claim. Rollback is to keep callers computing the claim externally and call the original assist prover API.
Copilot Reviewer Directive (keep this section)
When Copilot reviews this PR, apply
.github/copilot-instructions.mdstrictly.[severity] path:line (symbol)format.PR metadata: descriptionas a finding.