leanprover-community/mathlib4
View on GitHub ↗ ★ 4,415 Lean
The math library of Lean 4
20 mentions on Hacker News by 18 people: 1 story, 19 comments · first 2023-09-08 · latest 2026-10-07
20082026
-
…for the top-level theorems generally come from human written formalizations such as in https://github.com/leanprover-community/mathlib4/blob/021ce6... so we can be reasonably confident about their correctness.
comment by ammar2 · 2026-10-07 · in Navier–Stokes Lost in Translation -
…good at creating Lean proofs so the are much more common but not universal. And they depend on https://github.com/leanprover-community/mathlib4
comment by UltraSane · 2026-09-18 · in Mathematicians Build Long-Awaited Graph Sandwich -
▲ 83
Lean theorem prover mathlibstory by downboots · 2025-12-14 · 4 comments
-
A lemma like this is common for well-known results https://github.com/leanprover-community/mathlib4/blob/fc728c... The one immediately before (`gcd_mul_dvd_mul_gcd`) is also well-known but uses a style closer to forward proof. The very…
comment by jhanschoo · 2025-08-01 · in The Math Is Haunted -
There are a few. The lean one is at https://github.com/leanprover-community/mathlib4
comment by ants_everywhere · 2025-07-31 · in The Math Is Haunted -
…strategies they're using, but mathlib in Lean has formalizations for measure theory for example: https://github.com/leanprover-community/mathlib4/blob/master... For very practical programming work (like business software), I'd be surprised…
comment by ndriscoll · 2025-03-25 · in A proof checker meant for education -
Check out mathlib for LEAN, the pace of proofs being added here is breathtaking: https://github.com/leanprover-community/mathlib4
comment by luma · 2025-01-10 · in Who Can Understand the Proof? A Window on Formalized Mathematics -
…and which large portions of the FLT project will likely continually contribute into. [1]: https://github.com/leanprover-community/mathlib4/ (Other theorem provers have similar libraries, e.g. Coq's is called math-comp:…
comment by JulianWasTaken · 2024-12-13 · in Fermat's Last Theorem – how it’s going -
You want mathlib, the lean library of established results: https://github.com/leanprover-community/mathlib4 They skip steps in writing because they can generally do them and it obscures the flow of the argument to have every thing spelled…
comment by lanstin · 2024-09-02 · in Interactive Linear Algebra Dan Margalit, Joseph Rabinoff -
…but the number one thing I’d like to see for the future of TLA+ is an equivalent of Mathlib ( https://github.com/leanprover-community/mathlib4 ). What’s so great about the experience of using Lean is that I can pull theorems off the shelf…
comment by mjb · 2024-08-28 · in The Future of TLA+ [pdf] -
…and usual practical applications. [0] https://leanprover-community.github.io/mathlib4_docs/ [1] https://github.com/leanprover-community/mathlib4
comment by 4ad · 2024-07-20 · in How to choose a textbook that is optimal for oneself? -
For example, here's a formally verified proof in Lean: https://github.com/leanprover-community/mathlib4/blob/124731...
comment by Tainnor · 2024-07-02 · in Did Turing prove the undecidability of the halting problem? -
…to both compute the fibonacci number and generate an efficient proof for the calculation. https://github.com/leanprover-community/mathlib4/blob/master... In practice this isn't very useful (the definition of Nat.fib unfolds quick enough…
comment by kmill · 2023-11-06 · in A linear algebra trick for computing Fibonacci numbers fast -
…Mathlib have for SetTheory, ZFC, NFU, and HoTT? leanprover-community/mathlib4// Mathlib/SetTheory: https://github.com/leanprover-community/mathlib4/tree/master...
comment by westurner · 2023-11-01 · in What do we mean by "the foundations of mathematics"? -
As an aside, there are a number of Turing machines defined in Lean's mathlib. https://github.com/leanprover-community/mathlib4/blob/2c3ee3...
comment by Smaug123 · 2023-09-20 · in Show HN: A reference implementation of Turing's paper “On Computable Numbers”