Skip to content

Verified-zkEVM/clean

Repository files navigation

cLean

clean is an embedded Lean DSL for writing zk circuits, targeting AIR arithmetization.

It is developed by zkSecurity, currently as part of a Verified-zkEVM grant.

We intend to build out clean into a universal zk framework that can target all arithmetizations and produce formally verified, bug-free circuits for the entire ecosystem.

Using the repo

Follow official instructions to install elan (the package manager) and Lean4.

Clone this repo, and test that everything works by building:

lake build

After that, we recommend open the repo in VSCode to get immediate inline feedback from the compiler while writing theorems.

Make sure to install the lean4 extension for VSCode!