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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try 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