Skip to content

fix(prover): emit missing marker on continuation verify paths#855

Open
Oppen wants to merge 1 commit into
mainfrom
fix/continuation-profile-markers
Open

fix(prover): emit missing marker on continuation verify paths#855
Oppen wants to merge 1 commit into
mainfrom
fix/continuation-profile-markers

Conversation

@Oppen

@Oppen Oppen commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • verify_epoch's per-epoch verify and verify_global (continuation.rs) call Verifier::multi_verify_views directly, without the STEP_AIRS_AND_BUS_BALANCE_DONE marker that prover/lib.rs's monolithic verify_proof_parts emits before its own multi_verify_views call.
  • The recursion-block profile test (test_recursion_profile_blowup4_block) buckets cycles by the latest marker observed, so on the continuation path the "multi_verify setup (transcript replay phase A/B, per-table fork)" step reported a flat 0% — its real cost was silently folded into whichever bucket was already active (airs_and_bus_balance for the first epoch, step4:openings carried over for later epochs/the global proof).
  • Adds the same marker call at both continuation call sites, matching the monolithic path.

Test plan

  • cargo check -p lambda-vm-prover --lib
  • make test-profile-recursion-block — step 2 now reports 17,041,080 cycles (1.16%) instead of 0

…on verify paths

verify_epoch and verify_global call multi_verify_views directly, without
the marker prover/lib.rs's monolithic verify_proof_parts emits before its
own multi_verify_views call. The recursion-block profile test buckets
cycles by the latest marker observed, so on the continuation path
"multi_verify setup (transcript replay phase A/B, per-table fork)"
cycles were silently folded into whichever bucket was already active
(airs_and_bus_balance for the first epoch, step4:openings carried over
for later epochs), reporting the step at a flat 0.
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.

1 participant