lean4-htt/src
Leonardo de Moura de31faa470
feat: case splitting match-expressions with overlapping patterns in grind (#6735)
This PR adds support for case splitting on `match`-expressions with
overlapping patterns to the `grind` tactic. `grind` can now solve
examples such as:
```
inductive S where
  | mk1 (n : Nat)
  | mk2 (n : Nat) (s : S)
  | mk3 (n : Bool)
  | mk4 (s1 s2 : S)

def g (x y : S) :=
  match x, y with
  | .mk1 a, _ => a + 2
  | _, .mk2 1 (.mk4 _ _) => 3
  | .mk3 _, .mk4 _ _ => 4
  | _, _ => 5

example : g a b > 1 := by
  grind [g.eq_def]
```
2025-01-22 02:59:42 +00:00
..
bin chore: CMAKE_CXX_SYSROOT_FLAG is also needed for linking (#6297) 2024-12-03 16:14:22 +00:00
cmake fix: Windows stage0 linking (#6622) 2025-01-14 09:09:50 +01:00
include/lean feat: add support for Float32 to the Lean runtime (#6348) 2024-12-09 21:33:43 +00:00
Init feat: overlapping match patterns in grind (#6733) 2025-01-21 22:05:15 +00:00
initialize
kernel feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
lake feat: Environment.addConstAsync (#6691) 2025-01-19 02:00:16 +00:00
Lean feat: case splitting match-expressions with overlapping patterns in grind (#6735) 2025-01-22 02:59:42 +00:00
library refactor: move registration of namespaces on kernel add into elaborator (#6214) 2025-01-18 23:01:29 +00:00
runtime feat: implement basic async IO with timers (#6505) 2025-01-13 18:11:04 +00:00
shell
Std feat: lemmas for HashMap.alter and .modify (#6620) 2025-01-21 12:34:19 +00:00
util feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
cadical.mk
CMakeLists.txt feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
config.h.in
githash.h.in
Init.lean feat: partial_fixpoint: monotonicity tactic (#6506) 2025-01-02 11:07:05 +00:00
lakefile.toml.in
lean-toolchain
Lean.lean chore: remove SplitIf.ext cache (#5571) 2024-10-17 09:36:00 +00:00
lean.mk.in
Leanc.lean
Std.lean feat: Std.Net.Addr (#6563) 2025-01-09 09:33:03 +00:00
stdlib.make.in fix: rm new shared libs before build for Windows (#5541) 2024-10-02 04:06:03 +00:00
stdlib_flags.h feat: add debug.proofAsSorry (#6300) 2024-12-03 23:21:38 +00:00
version.h.in chore: tag prerelease builds with -pre (#5943) 2024-11-06 14:47:52 +00:00