Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 4d2576362b
fix: use local metavar ids in grind (#10321)
This PR ensures that the auxiliary temporary metavariable IDs created by
the E-matching module used in `grind` are not affected by what has been
executed before invoking `grind`. The goal is to increase `grind`’s
robustness.

For example, in the E-matching module we use `Expr.quickLt` to sort
candidates. `Expr.quickLt` depends on the `Expr` hash code, which in
turn depends on metavariable IDs. Thus, before this change, the initial
next metavariable ID at the time of `grind` invocation could affect the
order in which instances were generated, and consequently the `grind`
search.
2025-09-09 22:22:52 +00:00
.github chore: CI: bump actions/checkout from 4 to 5 (#10219) 2025-09-09 11:53:35 +00:00
doc doc: fix broken "quickstart" and "supported editors" link (#8785) 2025-09-02 12:45:04 +00:00
images
releases_drafts
script chore: review of failing grind tests (#10166) 2025-08-28 05:24:31 +00:00
src fix: use local metavar ids in grind (#10321) 2025-09-09 22:22:52 +00:00
stage0 chore: update stage0 2025-09-09 01:05:26 +00:00
tests feat: intermediate tactic info on simpa (#10309) 2025-09-09 20:24:27 +00:00
.gitattributes
.gitignore
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt chore: make USE_LAKE the default (#10016) 2025-08-21 11:43:25 +00:00
CMakePresets.json
CODEOWNERS
CONTRIBUTING.md
flake.lock
flake.nix chore: remove broken Nix build (#9910) 2025-08-14 08:31:39 +00:00
lean-toolchain
lean.code-workspace
LICENSE
LICENSES
README.md doc: fix examples link 2025-08-22 16:28:01 +02:00
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.