Leo: A Programming Language for Formally Verified, Zero-Knowledge Applications
Collin Chin, Howard Wu, Raymond Chu, Alessandro Coglio, Eric McCarthy and Eric Smith
Community proposal presented at ZKProof 4 (online), Monday, April 19, 2021, 4:20 PM (UTC).
The recording of this talk will be added soon. Meanwhile, browse the other talks.
About this talk
Decentralized ledgers that support rich applications suffer from three limitations. First, applications are provisioned tiny execution environments with limited running time, minimal stack size, and restrictive instruction sets. Second, applications must reveal their state transition, enabling miner front running attacks and consensus instability. Third, applications offer weak guarantees of correctness and safety. We design, implement, and evaluate LEO, a new programming language designed for formally verified, zero-knowledge applications. LEO provisions a powerful execution environment that is not restricted in running time, stack size, or instruction sets. Besides offering application privacy and mitigating miner-extractable value (MEV),LEO achieves two fundamental properties. First, applications are formally verified with respect to their high-level specification. Second, applications can be succinctly verified by anyone, regardless of the size of application. LEOis the first known programming language to introduce a testing framework, package registry, import resolver, remote compiler, and theorem prover for general-purpose, zero-knowledge applications.
More ZKProof 4 talks on this topic
Pushing the Limits of Zero Knowledge Applications
Joshua Baron
Σ-protocols
Michele Orrù
An Algebraic Framework for Universal and Updatable zkSNARKs
Carla Ràfols and Arantxa Zapico
- Paper
Rinocchio: SNARKs for Ring Arithmetic
Chaya Ganesh, Anca Nituescu and Eduardo Soria-Vazquez
- Paper
SNARKs from the sum-check protocol
Justin Thaler
