Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Giles Shaw 0cc4c91800
fix: change the proof of Nat.zero_mod to rfl (#9391)
This PR replaces the proof of the simplification lemma `Nat.zero_mod`
with
`rfl` since it is, by design, a definitional equality. This solves an
issue
whereby the lemma could not be used by the simplifier when in 'dsimp'
mode.

Closes #9389

---------

Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
2025-07-22 13:21:48 +00:00
.github perf: minimize exported codegen data (#9356) 2025-07-22 09:05:49 +00:00
doc chore: Grove: bump version (#9419) 2025-07-17 15:02:17 +00:00
images
nix
releases_drafts
script chore: benchmark using USE_LAKE (#9361) 2025-07-17 18:44:29 +00:00
src fix: change the proof of Nat.zero_mod to rfl (#9391) 2025-07-22 13:21:48 +00:00
stage0 chore: update stage0 2025-07-22 09:47:42 +00:00
tests fix: change the proof of Nat.zero_mod to rfl (#9391) 2025-07-22 13:21:48 +00:00
.gitattributes
.gitignore
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt
CMakePresets.json
CODEOWNERS
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.