Lean 4 is an interactive theorem prover and also a functional programming language. Its GitHub repository is leanprover/lean4, which is the official code repository for Lean 4.
In terms of purpose: Lean 4 is mainly used for formalized mathematics and automated theorem proving, and serves as core infrastructure for formalized AI research, such as systems like AlphaProof and DeepSeek-Prover. It can be used both to write functional programs and to construct and verify mathematical proofs.
Main capabilities and materials: the repository provides the Theorem Proving Tutorial, Functional Programming in Lean, Documentation Overview, Language Reference, Release notes starting at v4.0.0-m3, and External Contribution Guidelines. These materials cover the two main usage paths of theorem proving and functional programming.
How to use: the repository directs users to refer to Install Lean for installation; if building from source, refer to Building Lean. Before contributing, read the Contribution Guidelines first.
Applicable scenarios: suitable for formalized mathematics, theorem proving, functional programming, and AI research that requires formal reasoning capabilities.
Limitations: facts regarding specific pricing, costs, platform support scope, performance results, etc., are not currently provided in the available materials.