Skip to content

feat(recursion-v2): add leaf verifier prover wiring#1367

Merged
kunxian-xia merged 5 commits into
feat/recursion-v2from
feat/recursion-v2-leaf-verifier
Jun 21, 2026
Merged

feat(recursion-v2): add leaf verifier prover wiring#1367
kunxian-xia merged 5 commits into
feat/recursion-v2from
feat/recursion-v2-leaf-verifier

Conversation

@kunxian-xia

@kunxian-xia kunxian-xia commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Closes #1365. Stacked on #1363.

Summary

  • Add AggProver<LEAF_FANIN, INTERNAL_FANIN> orchestrating the leaf → internal → root recursion pipeline with configurable fanin and system params per layer
  • Add rebuild_circuit_index() on ZKVMVerifyingKey for post-deserialization reconstruction of the serde-skipped index map
  • Fix PvsAirConsistencyBus LogUp imbalance (uncomment add_key_with_lookups in VerifierPvsAir)
  • Use --pcs=basefold in fixture generation to match the test's expected PCS type
  • Rewrite e2e tests to use AggProver API

Test plan

  • bash ceno_recursion_v2/scripts/run_e2e_test.sh (generates fixtures + runs all prover_integration tests)

kunxian-xia and others added 5 commits June 20, 2026 16:41
- Add rebuild_circuit_index() to ZKVMVerifyingKey for post-deserialization
  reconstruction of the serde-skipped circuit_index_to_name field.
- Use --pcs=basefold in run_e2e_test.sh to match the test's expected PCS type.
- Uncomment PvsAirConsistencyBus add_key_with_lookups in VerifierPvsAir to
  fix LogUp bus imbalance with UnsetPvsAir's lookup_key calls.
- Add dump_fixture_public_values diagnostic test.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add AggProver<LEAF_FANIN, INTERNAL_FANIN> that orchestrates the full
recursion pipeline: leaf → internal → root. Leaf and internal layers
have independent fanin constants and system params via AggregationOptions.

Rewrite e2e tests to use AggProver instead of InnerCpuProver directly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kunxian-xia kunxian-xia merged commit bf688c3 into feat/recursion-v2 Jun 21, 2026
5 of 6 checks passed
@kunxian-xia kunxian-xia deleted the feat/recursion-v2-leaf-verifier branch June 21, 2026 13:57
@kunxian-xia kunxian-xia linked an issue Jun 21, 2026 that may be closed by this pull request
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.

recursion v2 leaf verifier circuit and prover

1 participant