leanprover/lean4

Lean 4 programming language and theorem prover

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 31 minutes ago
Added to GitGenius on May 27th, 2026
Created on April 15th, 2018
Open Issues & Pull Requests: 1,592 (+0)
Number of forks: 949
Total Stargazers: 8,912 (+0)
Total Subscribers: 83 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.4 hours
Mean response time: 58.2 days
90th percentile: 133.5 days
Tracked items: 1,844

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 69% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "Lake" is answered fastest, typically in about 7 hours, while "code-generator" waits about 2 days. 53% of tracked open issues have had no activity in three months. Only 8% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 960
New in 7 days: 18
Closed in 7 days: 13
Avg open age: 521 days
Stale 30+ days: 907
Stale 90+ days: 796

Recent activity

Opened in 7 days: 18
Closed in 7 days: 12
Comments in 7 days: 25
Events in 7 days: 83

Top labels

  • bug (1,501)
  • P-medium (762)
  • P-low (442)
  • RFC (291)
  • P-high (128)
  • Lake (117)
  • enhancement (81)
  • server (46)

Detailed Description

Lean 4 is a programming language and theorem prover maintained at the leanprover/lean4 repository. The project serves dual purposes as both a functional programming language and a formal verification tool, enabling users to write proofs and verify mathematical theorems alongside executable code. The repository is written primarily in Lean itself and maintains an active homepage at lean-lang.org with comprehensive documentation covering installation, theorem proving tutorials, functional programming guides, language references, and release notes beginning from version 4.0.0-m3.

The project encompasses multiple interconnected domains including theorem proving, formal verification, proof assistance, functional programming with dependent types, logic, type theory, metaprogramming, and compiler development. This breadth reflects Lean 4's design as a unified system where mathematical reasoning and practical programming coexist within the same language framework.

Activity data reveals substantial ongoing development and maintenance.

This concentration of activity among experienced maintainers suggests a focused development approach while the substantial event counts indicate these individuals are deeply engaged in code review, issue management, and feature development.

Links to microsoft/vscode, rust-lang/rust, and microsoft/typescript indicate that developers working on Lean 4 also contribute to these significant ecosystems. These connections suggest cross-pollination of ideas and practices between the theorem proving domain and mainstream programming language development.

The project provides multiple entry points for users and contributors. The quickstart guide, theorem proving tutorial, and functional programming documentation serve different audiences depending on whether they approach Lean primarily as a verification tool or as a programming language. The external contribution guidelines and building-from-source documentation in doc/make/index.md establish clear pathways for community participation. Release notes starting from v4.0.0-m3 document the evolution of the language through its development phases.

Lean 4 represents a mature project with established infrastructure for both users seeking to learn theorem proving and functional programming, and developers interested in contributing to a sophisticated language implementation that bridges formal mathematics and practical computation.