Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Joachim Breitner 41a2e9af19
feat: well-founded recursion: opaque well-foundedness proofs (#5182)
This PR makes functions defined by well-founded recursion use an
`opaque` well-founded proof by default. This reliably prevents kernel
reduction of such definitions and proofs, which tends to be
prohibitively slow (fixes #2171), and which regularly causes
hard-to-debug kernel type-checking failures. This changes renders
`unseal` ineffective for such definitions. To avoid the opaque proof,
annotate the function definition with `@[semireducible]`.
2025-03-19 09:21:04 +00:00
.github chore: don't run MacOS aarch64 in merge queue (#7439) 2025-03-11 14:35:10 +00:00
doc
images
nix
releases chore: copy v4.17.0 release notes from releases/v4.17.0 branch (#7325) 2025-03-04 11:24:51 +00:00
releases_drafts
script fix: indenting in release notes script (#7326) 2025-03-12 23:02:02 +00:00
src feat: well-founded recursion: opaque well-foundedness proofs (#5182) 2025-03-19 09:21:04 +00:00
stage0 feat: well-founded recursion: opaque well-foundedness proofs (#5182) 2025-03-19 09:21:04 +00:00
tests feat: well-founded recursion: opaque well-foundedness proofs (#5182) 2025-03-19 09:21:04 +00:00
.gitattributes
.gitignore
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt feat: upgrade cadical to 2.1.2 (#7347) 2025-03-05 17:58:58 +00:00
CMakePresets.json
CODEOWNERS
CONTRIBUTING.md
flake.lock feat: upgrade cadical to 2.1.2 (#7347) 2025-03-05 17:58:58 +00:00
flake.nix feat: upgrade cadical to 2.1.2 (#7347) 2025-03-05 17:58:58 +00:00
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 (documentation source: doc/make/index.md).