Delta Execution Arguments: Adding programmability to Zcash, now formally verified!

Hey, everyone!

For context, refer to previous thread. Mentioning users: @zeckzodel @Zebraman @Phantom

So, delta execution arguments are a way of securely and privately executing programs alongside spends. Traditionally, the way of doing the same was either via recursion-bridging (execute the standard circuit, execute your private circuit, verify both in a circuit that can verify both without revealing witnesses), or universal circuits (which blew up sizes from k=11 to k=15-18)

DEAs broke ground by making it possible to extend a circuit without modifying the circuit itself, meaning DEAs do not require modifying the audited Ironwood circuit.

The only change required is changing the verifying software running in every node, and note structures.

DEAs have now been formally verified in Lean, courtesy of Anthropic for Researchers, now available at: GitHub - StrahnIo/delta-lean · GitHub

To reiterate figures from the previous post:

Question Answer
What is the size of the additional proof data per Action? In the current version, 1152 bytes
Of which the delta argument is? 768 bytes flat
Of which the gate proof (that the executed program was really the committed program 64 bytes
How long does it take to verify? Just 4.7% more time than a standard Action proof
How long to verify a batch of 16? Just 11% more time than 16 normal Action proofs
How long to prove one? In our tests with the stock MockProver, ~21% to 26% slower, but Zakura should change this

An accompanying language is similarly in development (Stygian), and a prospective name for the execution engine like EVM is “Zuring” (from @zeckzodel)

(Additionally, the general DEA technique, currently being worked on, is also being used in Project Styx, an effort to replicate Project Tachyon in full, every single feature replicated, without using recursion and swapping aggregators for checkpoints)

(Styx runs on the Arctic Testnet, and refer to the Styx book to test Zuring programs out!: https://styx-book.strahn.dev/ )

We will be releasing Zuring compilers soon, as well!

So, peace! Keenly await opinions, but usually we don’t get much engagement, so its mostly a research effort!

4 Likes

For people who will respond with “but Halo2 is not quantum secure”, DEAs work equally well with hash-based STARK schemes (via Ajtai commitments)!

Great news! I was worried about this in light of the sudden crypto(graphy) panic. I assume your PQC timeline would depend on the availability of the relevant STARK schemes? Would you hazard a guess as to timeline and maybe shed some light on the intervening dependencies?