Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

awesome best-of lean lean4

Last synced: 2 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 45 awesome open-source projects with a total of 10K 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) _5 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 (🥇16 · ⭐ 51) - Hosts the website for mathlib and other Lean community.. MIT

- [GitHub](https://github.com/leanprover-community/leanprover-community.github.io) (👨‍💻 110 · 🔀 120 · 📋 37 - 59% open · ⏱️ 01.10.2024):

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


Lean 4 Tactics (🥈7 · ⭐ 46) - 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
```


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
```


lean3-tactic-lean4 (🥉5 · ⭐ 23) - Reference sheet for people who know Lean 3 and want.. Unlicense Lean 3

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

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


Lean 4 Cheatsheet (🥉4 · ⭐ 20) - Printable (A4) overview of tactics in Lean 4 for beginners. 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) (🥉3 · ⭐ 7) - Official Mathlib API Reference. ❗Unlicensed

- [GitHub](https://github.com/leanprover-community/mathlib4_docs) (👨‍💻 4 · 🔀 2 · ⏱️ 06.09.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 · ⭐ 210 · 📉) - Practical manual with code that goes into the.. Apache-2

- [GitHub](https://github.com/leanprover-community/lean4-metaprogramming-book) (👨‍💻 23 · 🔀 52 · 📥 8 · 📋 39 - 43% open · ⏱️ 29.09.2024):

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


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

- [GitHub](https://github.com/leanprover/theorem_proving_in_lean4) (👨‍💻 79 · 🔀 82 · 📋 33 - 63% open · ⏱️ 22.05.2024):

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


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

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

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


The mechanics of proof (🥉10 · ⭐ 180) - Early university level course. ❗Unlicensed

- [GitHub](https://github.com/hrmacbeth/math2001) (🔀 70 · 📋 16 - 56% open · ⏱️ 27.09.2024):

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


Functional Programming in Lean (🥉7 · ⭐ 68 · 💤) - Functional Programming in Lean. ❗Unlicensed

- [GitHub](https://github.com/leanprover/fp-lean) (👨‍💻 2 · 🔀 18 · 📥 73 · 📋 150 - 30% 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 (🥇9 · ⭐ 66 · 📉) - Materials for a workshop held in Japan. Apache-2 ja

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

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


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

- [GitHub](https://github.com/eric-wieser/lean-matrix-cookbook) (👨‍💻 2 · 🔀 9 · ⏱️ 02.10.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 · ⭐ 110) - Helper toolkit for creating your own Lean 4 UserWidgets. Apache-2

- [GitHub](https://github.com/leanprover-community/ProofWidgets4) (👨‍💻 14 · 🔀 25 · 📥 310K · 📋 20 - 65% open · ⏱️ 03.10.2024):

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


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

- [GitHub](https://github.com/wellecks/llmstep) (👨‍💻 5 · 🔀 15 · 📋 4 - 50% open · ⏱️ 11.11.2023):

```
git clone https://github.com/wellecks/llmstep
```



## Packages

Back to top

_Reusable Lean 4 code (theorems, etc.)_

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

- [GitHub](https://github.com/lecopivo/SciLean) (👨‍💻 9 · 🔀 25 · 📋 33 - 54% open · ⏱️ 03.10.2024):

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


aesop (🥇15 · ⭐ 190) - Proof search tactic (Automated Extensible Search for Obvious Proofs). Apache-2

- [GitHub](https://github.com/leanprover-community/aesop) (👨‍💻 20 · 🔀 27 · 📋 60 - 31% open · ⏱️ 03.10.2024):

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


CvxLean (🥈10 · ⭐ 39) - 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
```


SMT Lean (🥉9 · ⭐ 93) - Tactics for discharging Lean goals into SMT solvers. Apache-2

- [GitHub](https://github.com/ufmg-smite/lean-smt) (👨‍💻 7 · 🔀 18 · 📋 15 - 46% open · ⏱️ 02.10.2024):

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


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 · ⭐ 52) - Experiments with SAT solvers with proofs in Lean 4. MIT

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

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



## Core packages

Back to top

_Core Lean 4 code_

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

- [GitHub](https://github.com/leanprover/lean4) (👨‍💻 190 · 🔀 400 · 📥 380K · 📋 1.8K - 31% open · ⏱️ 03.10.2024):

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


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

- [GitHub](https://github.com/leanprover-community/mathlib4) (👨‍💻 340 · 🔀 310 · 📋 400 - 56% open · ⏱️ 03.10.2024):

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


elan (🥈18 · ⭐ 300) - Version Manager. Apache-2

- [GitHub](https://github.com/leanprover/elan) (👨‍💻 20 · 🔀 34 · 📥 750K · 📋 74 - 31% open · ⏱️ 02.08.2024):

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


std4 (🥉16 · ⭐ 240) - Standard Library. Apache-2

- [GitHub](https://github.com/leanprover-community/batteries) (👨‍💻 60 · 🔀 100 · 📋 60 - 46% open · ⏱️ 03.10.2024):

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


doc-gen4 (🥉14 · ⭐ 63) - Document Generator. Apache-2

- [GitHub](https://github.com/leanprover/doc-gen4) (👨‍💻 31 · 🔀 41 · 📋 78 - 30% open · ⏱️ 03.10.2024):

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


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

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

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



## Games

Back to top

_Lean 4 Games_

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

- [GitHub](https://github.com/leanprover-community/lean4game) (👨‍💻 19 · 🔀 30 · 📋 220 - 31% open · ⏱️ 01.10.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 · ⭐ 160 · 📉) - Visual Studio Code extension. Apache-2

- [GitHub](https://github.com/leanprover/vscode-lean4) (👨‍💻 56 · 🔀 48 · 📥 460 · 📋 200 - 21% open · ⏱️ 12.09.2024):

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


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

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

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


Paperproof (🥉17 · ⭐ 350) - Theorem proving interface which feels like pen-and-paper proofs. MIT

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

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


lean4web (🥉13 · ⭐ 66) - Web editor. Apache-2

- [GitHub](https://github.com/leanprover-community/lean4web) (👨‍💻 6 · 🔀 17 · 📋 35 - 17% open · ⏱️ 23.09.2024):

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


Reservoir (🥉8 · ⭐ 16) - Lakes package registry. Apache-2

- [GitHub](https://github.com/leanprover/reservoir) (🔀 1 · 📋 24 - 25% open · ⏱️ 30.09.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/)