Lean 4 is both a programming language and an interactive theorem prover, designed to support formal reasoning while also functioning as an efficient and extensible general-purpose language. The project serves researchers, mathematicians, programmers, and formal methods users who need a system for writing machine-checked proofs as well as executable programs in the same environment. One of its defining characteristics is its emphasis on extensibility, since Lean 4 is built to allow users to develop custom automation, metaprogramming tools, and domain-specific extensions instead of being limited to a fixed proving workflow. The broader Lean ecosystem also includes official tutorials, language references, examples, and installation and build tools, which reflects that the project is not just a core compiler repository but the center of a mature development platform.

Features

  • Interactive theorem proving environment
  • General-purpose programming language capabilities
  • Extensible metaprogramming framework
  • Official tutorials, documentation, and examples
  • Build and package tooling through the Lean ecosystem
  • Active development across compiler, language server, and libraries

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Lean 4

Lean 4 Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Lean 4!

Additional Project Details

Programming Language

C++

Related Categories

C++ Programming Languages

Registered

2026-03-17