Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 11f618ac49
feat: critical pairs (non commutative case) for grind ac (#10206)
This PR adds superposition for associative (but non-commutative)
operators in `grind ac`. Examples:
```lean
example {α} (op : α → α → α) [Std.Associative op] (a b c d : α)
   : op a b = c →
     op b a = d →
     op (op c a) (op b c) = op (op a d) (op d b) := by
  grind

example {α} (a b c d : List α)
   : a ++ b = c →
     b ++ a = d →
     c ++ a ++ b ++ c = a ++ d ++ d ++ b := by
  grind only
```
2025-09-02 00:58:49 +00:00
.github chore: CI: disable broken test on macOS x64 2025-08-27 13:14:32 +02:00
doc chore: fix spelling errors (#10042) 2025-08-22 07:23:12 +00:00
images
releases_drafts
script chore: review of failing grind tests (#10166) 2025-08-28 05:24:31 +00:00
src feat: critical pairs (non commutative case) for grind ac (#10206) 2025-09-02 00:58:49 +00:00
stage0 chore: update stage0 2025-08-28 09:45:24 +00:00
tests feat: critical pairs (non commutative case) for grind ac (#10206) 2025-09-02 00:58:49 +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
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.