Skip to content

A tool to extract gnark circuits defined in Go to Lean for formal verification.

License

Notifications You must be signed in to change notification settings

reilabs/lean-circuit-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lean Circuit Compiler

This repository contains a Go library that transpiles zero-knowledge (ZK) circuits from Go to Lean. In particular, it deals with circuits constructed as part of the gnark proof system.

This makes it possible to take existing gnark circuits and export them to Lean for later formal verification.

This library contains the core of the extractor to be used in conjunction with gnark-lean-extractor which is the interface layer with gnark.

For an overview of how to use this library, see the documentation in gnark-lean-extractor. If you are interested in contributing, or are new to Go, please see our contributing guidelines for more information.

About

A tool to extract gnark circuits defined in Go to Lean for formal verification.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages