leanprover/lean4

Description: Lean 4 programming language and theorem prover

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 53 minutes ago
Added to GitGenius on May 27th, 2026
Created on April 15th, 2018
Open Issues & Pull Requests: 1,525 (+0)
Number of forks: 895
Total Stargazers: 8,466 (-1)
Total Subscribers: 81 (+0)

Issue Activity (beta)

Open issues: 917
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 548 days
Stale 30+ days: 883
Stale 90+ days: 779

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 4
Events in 7 days: 5

Top labels

  • bug (1,428)
  • P-medium (727)
  • P-low (433)
  • RFC (281)
  • P-high (122)
  • Lake (113)
  • enhancement (81)
  • server (46)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 12.8 days
90th percentile: 1.1 hours
Tracked items: 2,099

Most active contributors

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. Across 2099 tracked issues and pull requests, the median response latency is 0.0 hours, indicating rapid triage and engagement with incoming items. The mean response latency of 307.1 hours reflects the reality that while many items receive immediate attention, some require more extended discussion or investigation. Bug reports constitute the most active issue category with 1428 tracked items, followed by medium-priority issues at 718 and low-priority issues at 422, suggesting a well-organized triage system that distinguishes between severity levels.

The core development team shows concentrated activity among key contributors. nomeata leads with 1302 recorded events, followed by Kha with 1027 events and leodemoura with 527 events. 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.

The repository maintains connections to several major open-source projects through overlapping contributors. 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.

lean4
by
leanproverleanprover/lean4

Repository Details

Fetching additional details & charts...