What exists today
11 milliseconds against 3.7 to 49 seconds.
The same claim, the same algorithm and one desktop CPU, with each system's release named under every table.
fib(10,000) mod 7919
RISC Zero, SP1 and zkFOL: the same algorithm, one machine.
Fast doubling throughout: fourteen rounds rather than ten thousand steps. The zkVM guests run a hand-written doubling routine. zkFOL is handed the naive two-call recurrence and its compiler rewrites that into the doubling form itself.
| System | Prove | Verify | Proof | Prover memory |
|---|---|---|---|---|
| zkFOL | 11.48 ms | 2.30 ms | 158.6 KB | under 10 MB added |
| RISC Zero, composite | 3.69 s | 11.8 ms | 209.6 KB | 312 MB |
| RISC Zero, succinct | 14.73 s | 12.4 ms | 223.3 KB | 1.39 GB |
| SP1, core | 13.32 s | 74.3 ms | 2.78 MB | 9.39 GB |
| SP1, compressed | 49.24 s | 32.9 ms | 1.27 MB | 17.00 GB |
AMD Ryzen 7 5700X, eight cores, Linux, CPU proving only, one prover at a time. RISC Zero 3.0.5 and SP1 6.3.1. Every cell is the median of three runs. zkFOL proof sizes were re-measured on 0.6.1, the current release. zkFOL prover memory is the amount added over the Erlang VM baseline, where the other figures are peak process memory.
Sudoku
16 milliseconds against 7 to 50 seconds.
The two sides are proving different things here. The comparators take a finished grid, publish it, and prove that the published grid is valid. zkFOL proves that a grid satisfying the clues exists.
| System | What is proved | Prove | Verify | Proof | Prover memory |
|---|---|---|---|---|---|
| zkFOL | a grid satisfying the clues exists | 15.95 ms | 3.38 ms | 116.6 KB | ~25 MB |
| RISC Zero, composite | this published grid is valid | 7.252 s | 12.46 ms | 221.9 KB | 606 MB |
| RISC Zero, succinct | this published grid is valid | 18.040 s | 12.44 ms | 223.9 KB | 1.43 GB |
| SP1, core | this published grid is valid | 13.687 s | 75.92 ms | 2.78 MB | 9.57 GB |
| SP1, compressed | this published grid is valid | 50.329 s | 33.21 ms | 1.27 MB | 16.80 GB |
zkFOL makes the stronger of the two claims and reaches it roughly 450 times faster than the quickest RISC Zero or SP1 configuration.
RISC Zero and SP1 sudoku cells are single runs; zkFOL cells are medians of three.
Solving, not only checking
| System | Solve the 9×9 from its seventeen clues |
|---|---|
| zkFOL | ~160 ms |
| RISC Zero | not expressible, the guest checks a grid it is handed |
| SP1 | not expressible, the guest checks a grid it is handed |
A capability difference rather than a speed one, which is why it sits outside the prove columns. A predicate is a relation, so the sentence that validates a grid derives one.
The floor
A bounds check costs 1.53 milliseconds.
Prove that a committed value lies between 10 and 100. There is nothing to compute, so this is the price of a proof at all. It is also the atomic unit of nearly every risk check in finance: collateral above a threshold, a position inside a limit, an age.
The zkVM columns barely move from the table above, because the work never leaves the floor its own machine sets.
| System | Prove | Verify | Proof | Prover memory |
|---|---|---|---|---|
| zkFOL | 1.53 ms | 0.54 ms | 52.1 KB | ~3 MB |
| RISC Zero, composite | 3.70 s | 11.5 ms | 209.6 KB | 311 MB |
| RISC Zero, succinct | 14.68 s | 12.3 ms | 223.2 KB | 1.39 GB |
| SP1, core | 13.23 s | 78.2 ms | 2.78 MB | 9.36 GB |
| SP1, compressed | 49.20 s | 32.6 ms | 1.27 MB | 17.01 GB |
Prove time, zkVM over zkFOL: 2,420×, 9,600×, 8,650× and 32,200×.
Each system's own route
The exact 2,090-digit integer, in 9.98 milliseconds.
Here the zkVMs run the published benchmark program unchanged, in their headline proof mode, and zkFOL runs Fibonacci the way a user would actually write it. The second row proves the exact integer with no modular reduction anywhere, which is a strictly harder claim than the one every other row makes, and it is faster than the reduced row at the top of the page.
| System | What is proved | Prove | Verify | Proof |
|---|---|---|---|---|
| zkFOL | fib(10,000) mod 7919, plain loop | 1.19 s | 34.1 ms | 916.3 KB |
| zkFOL | exact fib(10,000), doubling | 9.98 ms | 3.88 ms | 850.5 KB |
| RISC Zero, succinct | fib(10,000) mod 7919 | 40.67 s | 12.5 ms | 223.3 KB |
| SP1, compressed | fib(10,000) mod 7919 | 50.39 s | 35.2 ms | 1.27 MB |
On the plain loop, zkFOL's verification grows with the number of steps and its proof is larger. The compiler rewrites the loop to doubling by default, which removes that growth.
Handed the recurrence as a plain loop, zkFOL takes 1.19 s on the reduced claim. Rewritten to doubling, it proves the exact integer in 9.98 ms.
Modulus
zkFOL in a running layer one.
Modulus is a working layer one, forked from the Ergo reference client at v6.0.5, in which a zkFOL predicate takes the place a smart contract occupies on every other chain. A box is locked by a 32 byte predicate commitment and spent by a proof that the predicate holds, which the network verifies rather than executes. It is not the mainnet.
A three node network reached heights 838, 825 and 788. A real predicate spend carrying a 161,323 byte proof was relayed, mined into a block, and a node starting from nothing synced from genesis straight past it. One node was deliberately run without verifier vectors, to confirm that it refuses rather than silently accepts.
Away from the chain, two applications were written as predicates and checked: a constant product market and an over-collateralized lending pool, each checked at its boundary with the admitted case and the refused case one unit apart. The trading rule was checked against the exact output formula of the design it mirrors, across two hundred thousand random cases. They were compiled and proved rather than deployed on Modulus.
| Rows | Proof bytes | Prove | Verify |
|---|---|---|---|
| 64 | 40,680 | 5.5 ms | 2.6 ms |
| 256 | 56,624 | 7.4 ms | 3.3 ms |
| 1,024 | 100,216 | 12.1 ms | 6.0 ms |
| 4,096 | 260,944 | 42.3 ms | 13.2 ms |
Verification in single digit milliseconds is what lets validation stay light, and lets a wallet or a light client check Modulus state without trusting an intermediary.
The chain's own test runs, measured through the real prover on an Intel Xeon at 2.80GHz, four cores. Different hardware from the desktop figures above, so the two are not comparable.
What it does not do yet
The boundary of the demonstration.
The chain proves the stack works in a real network. Three things stand between it and a mainnet carrying other people's money.
-
Authorisation
A predicate currently proves a free-standing claim. The transaction's own signing message is not among the inputs the verifier is handed, so a proof is not yet bound to the spend it authorizes. Until that lands, the chain demonstrates verification rather than ownership.
-
Privacy
zkFOL is not private today. Proofs do not yet hide the data behind them. Privacy is being worked on, and this may change for the eventual mainnet.
-
Covenants and the successor link
Whether a predicate may constrain the state that succeeds it is an open design decision. Multi-step applications need it, and the worked examples take one successor link as a flagged assumption rather than assuming the general answer.
Hardware
One desktop CPU, start to finish.
No accelerator, no cluster, no specialist machine. Producing and verifying proofs for your own transactions sits inside the envelope published on this page, so there are no proving farms, no rented trust and no queue.
Full methodology, the guest programs each system was given, how memory was measured, and the commands to reproduce every cell, are in the documentation.