Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Rob23oba ad471b46b8
fix: Inhabited instance of StdGen (#9782)
This PR corrects the `Inhabited` instance of `StdGen` to use a valid
initial state for the pseudorandom number generator. Previously, the
`default` generator had the property that `Prod.snd (stdNext default) =
default`, so it would produce only constant sequences.

[Zulip
discussion](https://leanprover.zulipchat.com/#narrow/channel/113489-new-members/topic/inhabited.20instance.20for.20StdGen.20isn't.20very.20random/with/533247146)
2025-08-08 06:23:48 +00:00
.github chore: CI: include tests in rebootstrap check (#9788) 2025-08-07 15:37:36 +00:00
doc doc: freshen up Mac OSX build instructions (#9618) 2025-07-29 21:42:24 +00:00
images
nix
releases_drafts
script chore: add lakeprof benchmarks (#9709) 2025-08-06 11:25:45 +00:00
src fix: Inhabited instance of StdGen (#9782) 2025-08-08 06:23:48 +00:00
stage0 chore: update stage0 2025-08-06 16:54:50 +00:00
tests feat: use the metavariable index when pretty printing (#9778) 2025-08-07 15:58:51 +00:00
.gitattributes
.gitignore feat: further release automation (#9092) 2025-06-30 05:44:10 +00:00
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt
CMakePresets.json
CODEOWNERS chore: make datokrat code owner for iterators, ranges and slices (#9667) 2025-08-01 17:34:43 +00:00
CONTRIBUTING.md
flake.lock
flake.nix
lean-toolchain
lean.code-workspace
LICENSE
LICENSES
README.md
RELEASES.md

This is the repository for Lean 4.

About

Installation

See Setting Up Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.