This is a page that lists many useful links related to the Lean Theorem Prover
Up to date version of these links
Main links
Try Lean
Learn Lean
Installation
You are strongly recommended to follow only the installation instructions provided in the mathlib repository. (The installation instructions on the downloads page are not recommended). Here are the links to the OSs:
Don't forget to also follow the instructions on Lean Projects.
- If you want to compile mathlib yourself (not recommended unless you only want to use very low-level files), you can skip the steps under Installing mathlib supporting tools. Compiling all of mathlib will probably take more than an hour.
- If you want to contribute to mathlib, here are some useful pointers.
Reference material
FAQs
How to Write Lean Tactics
Lean papers
Papers about Lean
- Mario Carneiro. The Type Theory of Lean. Master thesis, 2019.
- Meta-theoretic properties of Lean 3, including soundness.
- Sebastian Ullrich, Leonardo de Moura. Counting Immutable Beans: Reference Counting Optimized for Purely Functional Programming. preprint 2019.
- Gabriel Ebner, Sebastian Ullrich, Jared Roesch, Jeremy Avigad, and Leonardo de Moura. A metaprogramming framework for formal verification. ICFP 2017.
- Metaprogramming in Lean 3.
- Daniel Selsam and Leonardo de Moura. Congruence Closure in Intensional Type Theory. IJCAR 2016.
- Congruence closure in Lean 3.
- Leonardo de Moura, Soonho Kong, Jeremy Avigad, Floris van Doorn, Jakob von Raumer. The Lean Theorem Prover (System Description). CADE 2015.
- System description of Lean 2
- Leonardo de Moura, Jeremy Avigad, Soonho Kong, Cody Roux. Elaboration in Dependent Type Theory. 2015 (unpublished).
Papers using Lean
- The mathlib Community. The Lean mathematical library. CPP 2020.
- Kevin Buzzard, Johan Commelin, Patrick Massot. Formalising perfectoid spaces. CPP 2020.
- Jesse Michael Han and Floris van Doorn. A Formal Proof of the Independence of the Continuum Hypothesis.) CPP 2020.
- Sander R. Dahmen, Johannes Hölzl, Robert Y. Lewis. (Formalizing the Solution to the Cap Set Problem.) ITP 2019.
- Minchao Wu and Rajeev Goré. Verified decision procedures for modal logics. ITP 2019.
- Mario Carneiro. Formalizing computability theory via partial recursive functions. ITP 2019.
- Jesse Michael Han and Floris van Doorn. A formalization of forcing and the unprovability of the continuum hypothesis. ITP 2019.
- Jeremy Avigad, Mario Carneiro, and Simon Hudon. Data types as quotients of polynomial functors. ITP 2019.
- Juneyoung Lee, Chung-Kil Hur, and Nuno P. Lopes AliveInLean: A Verified LLVM Peephole Optimization Verifier.) CAV 2019.
- Robert Y. Lewis. A formal proof of Hensel's lemma over the p-adic integers. CPP 2019.
- Daniel Selsam, Percy Liang, David L. Dill Developing Bug-Free Machine Learning Systems With Formal Mathematics. ICML 2017.
- Robert Y. Lewis. A bi-directional extensible ad hoc interface between Lean and Mathematica.) PxTP 2017.
Unpublished works using Lean
Main Repositories
Conferences
Lean 4
Lean 4 is the next version of Lean. It was made public early 2019, but is still missing certain core features as of October 2019 (such as a tactic framework)
HoTT in Lean
Homotopy type theory is not actively maintained in Lean. Here are some pointers to past projects:
Papers using Lean 2