{"id":20194824,"url":"https://github.com/reilabs/lean-circuit-compiler","last_synced_at":"2025-06-18T07:33:38.742Z","repository":{"id":209728736,"uuid":"721685360","full_name":"reilabs/lean-circuit-compiler","owner":"reilabs","description":"A tool to extract gnark circuits defined in Go to Lean for formal verification.","archived":false,"fork":false,"pushed_at":"2023-11-29T18:35:36.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-03T07:45:50.424Z","etag":null,"topics":["arithmetic-circuit","formal-verification","gnark","go"],"latest_commit_sha":null,"homepage":"https://reilabs.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reilabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-21T15:07:46.000Z","updated_at":"2023-11-28T20:00:20.000Z","dependencies_parsed_at":"2023-11-28T22:23:07.300Z","dependency_job_id":"7ff33a18-7d29-4748-b147-89c004379997","html_url":"https://github.com/reilabs/lean-circuit-compiler","commit_stats":null,"previous_names":["reilabs/lean-circuit-compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reilabs/lean-circuit-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reilabs%2Flean-circuit-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reilabs%2Flean-circuit-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reilabs%2Flean-circuit-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reilabs%2Flean-circuit-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reilabs","download_url":"https://codeload.github.com/reilabs/lean-circuit-compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reilabs%2Flean-circuit-compiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260511847,"owners_count":23020287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arithmetic-circuit","formal-verification","gnark","go"],"created_at":"2024-11-14T04:14:21.998Z","updated_at":"2025-06-18T07:33:33.731Z","avatar_url":"https://github.com/reilabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://reilabs.io\"\u003e\n\u003cpicture\u003e\n  \u003csource width=\"150\" media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/reilabs/gnark-lean-extractor/assets/35899/c04bdb7f-4c31-4264-acb6-a96f32c6cc29\"\u003e\n  \u003csource width=\"150\" media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/reilabs/gnark-lean-extractor/assets/35899/fc11280b-e3e5-4a6f-83da-788884083c36\"\u003e\n  \u003cimg width=\"150\" src=\"https://github.com/reilabs/gnark-lean-extractor/assets/35899/fc11280b-e3e5-4a6f-83da-788884083c36\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n# Lean Circuit Compiler\n\nThis repository contains a Go library that transpiles\n[zero-knowledge](https://en.wikipedia.org/wiki/Zero-knowledge_proof) (ZK)\ncircuits from [Go](https://go.dev) to [Lean](https://leanprover.github.io). In\nparticular, it deals with circuits constructed as part of the\n[gnark](https://github.com/ConsenSys/gnark) proof system.\n\nThis makes it possible to take existing gnark circuits and export them to Lean\nfor later formal verification.\n\nThis library contains the core of the extractor to be used in conjunction with [gnark-lean-extractor](https://github.com/reilabs/gnark-lean-extractor)\nwhich is the interface layer with [gnark](https://github.com/ConsenSys/gnark).\n\nFor an overview of how to use this library, see the documentation in [gnark-lean-extractor](https://github.com/reilabs/gnark-lean-extractor).\nIf you are interested in contributing, or are new to Go, please see our\n[contributing guidelines](./CONTRIBUTING.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freilabs%2Flean-circuit-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freilabs%2Flean-circuit-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freilabs%2Flean-circuit-compiler/lists"}