An open API service indexing awesome lists of open source software.

https://github.com/34j/best-of-lean4

A list of awesome lean4 projects. Feel free to add your project.
https://github.com/34j/best-of-lean4

List: best-of-lean4

awesome best-of lean lean4

Last synced: 3 months ago
JSON representation

A list of awesome lean4 projects. Feel free to add your project.

Awesome Lists containing this project

README

        


best-of-lean4



🏆  A ranked list of awesome projects. Updated weekly.






This curated list contains 46 awesome open-source projects with a total of 12K stars grouped into 11 categories. All projects are ranked by a project-quality score, which is calculated based on various metrics automatically collected from GitHub and different package managers. If you like to add or update projects, feel free to ~open an [issue](https://github.com/34j/best-of-lean4/issues/new/choose)~, submit a [pull request](https://github.com/34j/best-of-lean4/pulls), or **_directly edit the [projects.yaml](https://github.com/34j/best-of-lean4/edit/main/projects.yaml)_**. Contributions are very welcome!

> 🧙‍♂️ Discover other [best-of lists](https://best-of.org) or [create your own](https://github.com/best-of-lists/best-of/blob/main/create-best-of-list.md).

## Contents

- [Cheatsheets](#cheatsheets) _9 projects_
- [Tutorials](#tutorials) _7 projects_
- [Samples](#samples) _2 projects_
- [Packages (Meta)](#packages-meta) _2 projects_
- [Packages](#packages) _6 projects_
- [Core packages](#core-packages) _6 projects_
- [Games](#games) _1 projects_
- [Community](#community) _2 projects_
- [Tools](#tools) _6 projects_
- [Other awesome lists](#other-awesome-lists) _3 projects_
- [Movies](#movies) _2 projects_

## Explanation

- 🥇🥈🥉  Combined project-quality score
- ⭐️  Star count from GitHub
- 🐣  New project _(less than 6 months old)_
- 💤  Inactive project _(6 months no activity)_
- 💀  Dead project _(12 months no activity)_
- 📈📉  Project is trending up or down
- ➕  Project was recently added
- ❗️  Warning _(e.g. missing/risky license)_
- 👨‍💻  Contributors count from GitHub
- 🔀  Fork count from GitHub
- 📋  Issue count from GitHub
- ⏱️  Last update timestamp on package manager
- 📥  Download count from package manager
- 📦  Number of dependent projects


## Cheatsheets

Back to top

_Quick reference with short text_

A mathlib overview (🥇15 · ⭐ 55) - Hosts the website for mathlib and other Lean community.. MIT

- [GitHub](https://github.com/leanprover-community/leanprover-community.github.io) (👨‍💻 120 · 🔀 120 · 📋 38 - 57% open · ⏱️ 19.12.2024):

```
git clone https://github.com/leanprover-community/leanprover-community.github.io
```


Lean 4 Tactics (🥈6 · ⭐ 63 · 📈) - Overview of tactics in Lean 4 for beginners longer version. Unlicense

- [GitHub](https://github.com/madvorak/lean4-tactics) (👨‍💻 2 · 🔀 2 · ⏱️ 19.09.2024):

```
git clone https://github.com/madvorak/lean4-tactics
```


lean3-tactic-lean4 (🥈6 · ⭐ 25) - Reference sheet for people who know Lean 3 and want.. Unlicense Lean 3

- [GitHub](https://github.com/madvorak/lean3-tactic-lean4) (👨‍💻 2 · 🔀 2 · ⏱️ 13.11.2024):

```
git clone https://github.com/madvorak/lean3-tactic-lean4
```


Lean by Example (🥈6) - Lean. MIT ja

- [GitHub](https://github.com/lean-ja/lean-ja.github.io) (👨‍💻 3 · ⏱️ 18.06.2024):

```
git clone https://github.com/lean-ja/lean-ja.github.io
```


Lean 4 Cheatsheet (🥉5 · ⭐ 23 · 📈) - Printable (A4) overview of tactics in Lean 4 for.. Unlicense

- [GitHub](https://github.com/madvorak/lean4-cheatsheet) (🔀 1 · ⏱️ 19.09.2024):

```
git clone https://github.com/madvorak/lean4-cheatsheet
```


(Mathlib4) General Documentation (API Reference) (🥉5 · ⭐ 8 · 📈) - Official Mathlib API Reference. ❗Unlicensed

- [GitHub](https://github.com/leanprover-community/mathlib4_docs) (👨‍💻 6 · 🔀 3 · ⏱️ 18.12.2024):

```
git clone https://github.com/leanprover-community/mathlib4_docs
```


Moogle: Semantic search over mathlib4 (🥉1) - Better performance (latency) than `General.. ❗Unlicensed

- _No project information available._
`#help` command output (🥉1) - Output of `#help option`, `#help attr`, ... shown in.. ❗Unlicensed

- _No project information available._
Show 1 hidden projects...

- cs-dm/CheatSheet.lean (🥈6 · ⭐ 15 · 💀) - CS2012 UVa CS Discrete Math Spring 2018. ❗Unlicensed Lean 3


## Tutorials

Back to top

_Tutorials with long text_

A Lean 4 Metaprogramming Book (🥇15 · ⭐ 230) - Practical manual with code that goes into the.. Apache-2

- [GitHub](https://github.com/leanprover-community/lean4-metaprogramming-book) (👨‍💻 24 · 🔀 55 · 📥 150 · 📋 39 - 43% open · ⏱️ 05.11.2024):

```
git clone https://github.com/leanprover-community/lean4-metaprogramming-book
```


Theorem Proving in Lean 4 (🥈12 · ⭐ 170) - Theorem Proving in Lean 4. Apache-2

- [GitHub](https://github.com/leanprover/theorem_proving_in_lean4) (👨‍💻 80 · 🔀 91 · 📋 42 - 69% open · ⏱️ 14.10.2024):

```
git clone https://github.com/leanprover/theorem_proving_in_lean4
```


Mathematics in Lean (🥈10 · ⭐ 290) - Note that there are many parts of the documentation.. ❗Unlicensed

- [GitHub](https://github.com/leanprover-community/mathematics_in_lean) (👨‍💻 3 · 🔀 190 · ⏱️ 02.12.2024):

```
git clone https://github.com/leanprover-community/mathematics_in_lean
```


The mechanics of proof (🥈10 · ⭐ 210 · 📉) - Early university level course. ❗Unlicensed

- [GitHub](https://github.com/hrmacbeth/math2001) (🔀 81 · 📋 17 - 52% open · ⏱️ 09.12.2024):

```
git clone https://github.com/hrmacbeth/math2001
```


Functional Programming in Lean (🥉8 · ⭐ 73 · 💤) - Functional Programming in Lean. ❗Unlicensed

- [GitHub](https://github.com/leanprover/fp-lean) (👨‍💻 2 · 🔀 21 · 📥 74 · 📋 160 - 35% open · ⏱️ 06.02.2024):

```
git clone https://github.com/leanprover/fp-lean
```


The Lean Reference Manual (🥉1) - Official Lean 3 Reference Manual. ❗Unlicensed Lean 3

- _No project information available._
Lean Manual (🥉1) - Official Manual. ❗Unlicensed

- _No project information available._

## Samples

Back to top

_Actual Lean 4 code for learning purposes_

Lean Math Workshop (🥇10 · ⭐ 74) - Materials for a workshop held in Japan. Apache-2 ja

- [GitHub](https://github.com/yuma-mizuno/lean-math-workshop) (👨‍💻 5 · 🔀 22 · 📋 14 - 14% open · ⏱️ 13.07.2024):

```
git clone https://github.com/yuma-mizuno/lean-math-workshop
```


The Matrix Cookbook, using Lean's mathlib (🥉7 · ⭐ 90) - The matrix cookbook, proved in the Lean theorem prover. MIT

- [GitHub](https://github.com/eric-wieser/lean-matrix-cookbook) (👨‍💻 2 · 🔀 11 · ⏱️ 23.11.2024):

```
git clone https://github.com/eric-wieser/lean-matrix-cookbook
```



## Packages (Meta)

Back to top

_Reusable Lean 4 code for enhancing usability_

ProofWidgets (🥇19 · ⭐ 120) - Helper toolkit for creating your own Lean 4 UserWidgets. Apache-2

- [GitHub](https://github.com/leanprover-community/ProofWidgets4) (👨‍💻 14 · 🔀 28 · 📥 400K · 📋 24 - 62% open · ⏱️ 12.12.2024):

```
git clone https://github.com/leanprover-community/ProofWidgets4
```


Show 1 hidden projects...

- llmstep (🥉8 · ⭐ 120 · 💀) - llmstep: [L]LM proofstep suggestions in Lean 4. MIT


## Packages

Back to top

_Reusable Lean 4 code (theorems, etc.)_

SciLean (🥇15 · ⭐ 350) - Scientific computing in Lean 4. Apache-2

- [GitHub](https://github.com/lecopivo/SciLean) (👨‍💻 9 · 🔀 30 · 📋 39 - 56% open · ⏱️ 17.12.2024):

```
git clone https://github.com/lecopivo/SciLean
```


aesop (🥈14 · ⭐ 220) - Proof search tactic (Automated Extensible Search for Obvious Proofs). Apache-2

- [GitHub](https://github.com/leanprover-community/aesop) (👨‍💻 20 · 🔀 28 · 📋 64 - 34% open · ⏱️ 19.12.2024):

```
git clone https://github.com/leanprover-community/aesop
```


SMT Lean (🥈11 · ⭐ 150 · 📈) - Tactics for discharging Lean goals into SMT solvers. Apache-2

- [GitHub](https://github.com/ufmg-smite/lean-smt) (👨‍💻 8 · 🔀 19 · 📋 17 - 47% open · ⏱️ 17.12.2024):

```
git clone https://github.com/ufmg-smite/lean-smt
```


CvxLean (🥉10 · ⭐ 42 · 💤) - Convex optimization modeling in Lean 4. Apache-2

- [GitHub](https://github.com/verified-optimization/CvxLean) (👨‍💻 3 · 🔀 4 · ⏱️ 20.05.2024):

```
git clone https://github.com/verified-optimization/CvxLean
```


lean-crypto (🥉8 · ⭐ 42) - Cryptographic routines for the Lean 4 language. Apache-2

- [GitHub](https://github.com/joehendrix/lean-crypto) (👨‍💻 3 · 🔀 3 · ⏱️ 09.09.2024):

```
git clone https://github.com/joehendrix/lean-crypto
```


SATurn (🥉6 · ⭐ 53) - Experiments with SAT solvers with proofs in Lean 4. MIT

- [GitHub](https://github.com/siddhartha-gadgil/Saturn) (👨‍💻 2 · 🔀 2 · ⏱️ 23.06.2024):

```
git clone https://github.com/siddhartha-gadgil/Saturn
```



## Core packages

Back to top

_Core Lean 4 code_

lean4 (🥇32 · ⭐ 4.8K) - Lean 4 repository. Includes `Lake`. Apache-2

- [GitHub](https://github.com/leanprover/lean4) (👨‍💻 210 · 🔀 430 · 📥 540K · 📋 2K - 30% open · ⏱️ 19.12.2024):

```
git clone https://github.com/leanprover/lean4
```


mathlib4 (🥈25 · ⭐ 1.6K) - Math library. Apache-2

- [GitHub](https://github.com/leanprover-community/mathlib4) (👨‍💻 370 · 🔀 340 · 📋 430 - 55% open · ⏱️ 19.12.2024):

```
git clone https://github.com/leanprover-community/mathlib4
```


elan (🥈21 · ⭐ 330) - Version Manager. Apache-2

- [GitHub](https://github.com/leanprover/elan) (👨‍💻 22 · 🔀 37 · 📥 910K · 📋 77 - 33% open · ⏱️ 11.12.2024):

```
git clone https://github.com/leanprover/elan
```


std4 (🥉18 · ⭐ 260) - Standard Library. Apache-2

- [GitHub](https://github.com/leanprover-community/batteries) (👨‍💻 66 · 🔀 110 · 📥 2 · 📋 62 - 32% open · ⏱️ 12.12.2024):

```
git clone https://github.com/leanprover/std4
```


doc-gen4 (🥉15 · ⭐ 69 · 📈) - Document Generator. Apache-2

- [GitHub](https://github.com/leanprover/doc-gen4) (👨‍💻 33 · 🔀 44 · 📋 85 - 27% open · ⏱️ 19.12.2024):

```
git clone https://github.com/leanprover/doc-gen4
```


quote4 (🥉10 · ⭐ 76) - Intuitive, type-safe expression quotations for Lean 4. Apache-2

- [GitHub](https://github.com/leanprover-community/quote4) (👨‍💻 8 · 🔀 12 · 📋 22 - 59% open · ⏱️ 02.12.2024):

```
git clone https://github.com/leanprover-community/quote4
```



## Games

Back to top

_Lean 4 Games_

Lean Game Server (🥇17 · ⭐ 210) - Mainly for Natural Number Game. Be careful not to.. ❗️GPL-3.0

- [GitHub](https://github.com/leanprover-community/lean4game) (👨‍💻 21 · 🔀 36 · 📋 230 - 32% open · ⏱️ 10.12.2024):

```
git clone https://github.com/leanprover-community/lean4game
```



## Community

Back to top

_Community_

Zulip chat for discussions about Lean and mathlib (🥇1) - Official community. ❗Unlicensed

- _No project information available._
Lean 4 Anarchy (Discord) (🥇1) - Anarchy discord server. ❗Unlicensed

- _No project information available._

## Tools

Back to top

_Tools not made in Lean 4_

vscode-lean4 (🥇20 · ⭐ 170) - Visual Studio Code extension. Apache-2

- [GitHub](https://github.com/leanprover/vscode-lean4) (👨‍💻 58 · 🔀 51 · 📥 480 · 📋 210 - 21% open · ⏱️ 18.12.2024):

```
git clone https://github.com/leanprover/vscode-lean4
```


LeanCopilot (🥈17 · ⭐ 1K · ➕) - LLMs as Copilots for Theorem Proving in Lean. MIT

- [GitHub](https://github.com/lean-dojo/LeanCopilot) (👨‍💻 11 · 🔀 92 · 📥 3.2K · 📋 45 - 24% open · ⏱️ 04.11.2024):

```
git clone https://github.com/lean-dojo/LeanCopilot
```


LeanDojo (🥈16 · ⭐ 590) - Tool for data extraction and interacting with Lean programmatically. MIT

- [GitHub](https://github.com/lean-dojo/LeanDojo) (👨‍💻 17 · 🔀 94 · 📋 66 - 6% open · ⏱️ 08.12.2024):

```
git clone https://github.com/lean-dojo/LeanDojo
```


Paperproof (🥈16 · ⭐ 370) - Theorem proving interface which feels like pen-and-paper proofs. MIT

- [GitHub](https://github.com/Paper-Proof/paperproof) (👨‍💻 5 · 🔀 10 · 📋 34 - 32% open · ⏱️ 13.11.2024):

```
git clone https://github.com/Paper-Proof/paperproof
```


lean4web (🥉10 · ⭐ 73 · 📉) - Web editor. Apache-2

- [GitHub](https://github.com/leanprover-community/lean4web) (👨‍💻 7 · 🔀 20 · 📋 37 - 21% open · ⏱️ 24.11.2024):

```
git clone https://github.com/leanprover-community/lean4web
```


Reservoir (🥉7 · ⭐ 17 · 📉) - Lakes package registry. Apache-2

- [GitHub](https://github.com/leanprover/reservoir) (🔀 1 · 📋 25 - 24% open · ⏱️ 19.10.2024):

```
git clone https://github.com/leanprover/reservoir
```



## Other awesome lists

Back to top

LEAN JA リンク集 (🥇6) - Japanese translated versions of several tutorials are available. (). MIT ja

- [GitHub](https://github.com/lean-ja/lean-ja.github.io) (👨‍💻 3 · ⏱️ 18.06.2024):

```
git clone https://github.com/lean-ja/lean-ja.github.io
```


Links (lean-lang.org) (🥉1) - Official collection of links. ❗Unlicensed

- _No project information available._
lean4 - Where is the syntax of Lean 4 documented? - Proof Assistants Stack Exchange (🥉1) - Discussion regarding Lean 4 documentation. ❗Unlicensed

- _No project information available._

## Movies

Back to top

lean4 - YouTube (🥇1) - YouTube movies. ❗Unlicensed

- _No project information available._
人気の「Lean」動画 14本 - ニコニコ動画 (🥇1) - Niconico movies. Entertaining instructions using TTS.. ❗Unlicensed ja

- _No project information available._

---

## Related Resources

- [**Best-of lists**](https://best-of.org): Discover other best-of lists with awesome open-source projects on all kinds of topics.

## Contribution

Contributions are encouraged and always welcome! If you like to add or update projects, choose one of the following ways:

- Open an issue by selecting one of the provided categories from the [issue page](https://github.com/34j/best-of-lean4/issues/new/choose) and fill in the requested information.
- Modify the [projects.yaml](https://github.com/34j/best-of-lean4/blob/main/projects.yaml) with your additions or changes, and submit a pull request. This can also be done directly via the [Github UI](https://github.com/34j/best-of-lean4/edit/main/projects.yaml).

If you like to contribute to or share suggestions regarding the project metadata collection or markdown generation, please refer to the [best-of-generator](https://github.com/best-of-lists/best-of-generator) repository. If you like to create your own best-of list, we recommend to follow [this guide](https://github.com/best-of-lists/best-of/blob/main/create-best-of-list.md).

For more information on how to add or update projects, please read the [contribution guidelines](https://github.com/34j/best-of-lean4/blob/main/CONTRIBUTING.md). By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/34j/best-of-lean4/blob/main/.github/CODE_OF_CONDUCT.md).

## License

[![CC0](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg)](https://creativecommons.org/licenses/by-sa/4.0/)