Draft
Conversation
…_mle_zero_padding
…/ceno into feat/prover_mle_zero_padding
…_mle_zero_padding
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
Main sumcheck was proved and verified per chip, which duplicated transcript work, selector/claim handling, and PCS opening plumbing across chips.
Design Rationale
Use one global batched main sumcheck proof while keeping PCS openings in the existing suffix path. The verifier mirrors the prover transcript order, including ECC bridge sampling before the global
combine subset evalschallenge, and evaluates frontloaded expressions in the verifier.Change Highlights
ceno_zkvm: batches main constraints into a single global proof path across chip proofs.ceno_zkvm: keeps witness/fixed PCS openings per chip after global main verification.ceno_recursion: mirrors native verifier changes for the batched main proof.ceno-gpu: supports the batched main proving flow.Benchmark / Performance Impact
Benchmark session compares current PR branch against the frontload baseline on block
23817600, GPU proving,CENO_GPU_ENABLE_WITGEN=0.E2E / Layer
App Prove Breakdown
Profiler module totals can overlap because chip proving is concurrent; use
app_prove wall timeabove for end-to-end impact. Corrected parser coverage adds the new batched-main span, which is now the main critical-path regression source.Benchmark command:
Environment:
cc=8.9,24GBGPU memory.nightly-2025-11-20, cargo1.93.0-nightly.dd229c00, summary.Testing
Also passed the linked GPU e2e benchmark run above.
Risks and Rollout
Follow-ups
prove_batched_main_constraintscritical-path cost.Copilot Reviewer Directive (keep this section)
When Copilot reviews this PR, apply
.github/copilot-instructions.mdstrictly.