Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

e2e cycle reduction #45

@yczhangsjtu

Description

@yczhangsjtu

Breakdown of ZKVM verifier (after #54)

Total cycles: 1883948 (Fibonacci e2e with n=$2^{20}$)

  • Read ZKVM proof variable from input: 482501 (25.6%)
  • Before BaseFold verifier: 657479 (34.9%)
    • Tower proofs: 532010 (26.6%)
  • BaseFold verifier: 743835 (39.5%)
    • Batching and first FRI round: 2047 * 100 (10.9%)
    • FRI rounds: 3740 * 100 (16.2%)
  • After BaseFold verifier: 133 (0%)
Image Image

Breakdown of BaseFold verifier

Using the test case generated by Fibonacci e2e.

Total cycles: 880000

  • Read from witness stream data: 135231
  • Before the query phase: 62161
  • Query phase: approximately 684140
    • Beginning 817
    • Build round context (precompute values independent of query) 3065
    • Opening proofs 652305
      • Approximately 6530 * 100 loops, where for each loop
        • 514 Preparation
        • 2059 MMCS verify (Two input rounds)
          • Round 1 1601
            • Compute batching and reordering 1560
              • Approximately 36 * 40 loops
          • Round 2 440
        • 206 First Round Folding
        • 3734 FRI rounds (including MMCS ext verify)
        • 18 Finalizing
    • Sumcheck 16959
    • Final evals 10952

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions