leanprover/lean4

Lean 4 programming language and theorem prover

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 20 minutes ago
Added to GitGenius on May 27th, 2026
Created on April 15th, 2018
Open Issues & Pull Requests: 1,758 (+1)
GitHub issues: Enabled
Number of forks: 1,037
Total Stargazers: 9,494 (+0)
Total Subscribers: 89 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.3 hours
Mean response time: 65.2 days
90th percentile: 163.0 days
Tracked items: 1,949

Maintainer activity

16 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

Roughly one issue in four opened in the past year never receives a reply. 71% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "Lake" is answered fastest, typically in about 7 hours, while "P-high" waits about 3 days. 55% of tracked open issues have had no activity in three months. Only 52% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1,039
New in 7 days: 38
Closed in 7 days: 14
Avg open age: 484 days
Stale 30+ days: 946
Stale 90+ days: 819

Recent activity

Opened in 7 days: 35
Closed in 7 days: 14
Comments in 7 days: 16
Events in 7 days: 73

Top labels

  • bug (1,579)
  • P-medium (804)
  • P-low (462)
  • RFC (299)
  • P-high (138)
  • Lake (117)
  • enhancement (81)
  • server (46)

Most active issues this week

Sign in to see which issues are moving.
Sign in

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.