lean4-htt/tests
Leonardo de Moura 349da6cae2
feat: improve [grind =] attribute (#6614)
This PR improves the usability of the `[grind =]` attribute by
automatically handling
forbidden pattern symbols. For example, consider the following theorem
tagged with this attribute:
```
getLast?_eq_some_iff {xs : List α} {a : α} : xs.getLast? = some a ↔ ∃ ys, xs = ys ++ [a]
```
Here, the selected pattern is `xs.getLast? = some a`, but `Eq` is a
forbidden pattern symbol.
Instead of producing an error, this function converts the pattern into a
multi-pattern,
allowing the attribute to be used conveniently.
2025-01-12 16:51:09 +00:00
..
bench chore: remove deprecated aliases for Int.tdiv and Int.tmod (#6322) 2024-12-08 05:19:42 +00:00
compiler feat: Simp.Config.implicitDefEqProofs (#4595) 2024-11-29 22:29:27 +00:00
elabissues
ir
lean feat: improve [grind =] attribute (#6614) 2025-01-12 16:51:09 +00:00
pkg feat: Lean.loadPlugin (#6130) 2024-11-27 09:56:31 +00:00
playground feat: rename Array.shrink to take, and relate to List.take (#5796) 2024-10-21 23:35:32 +00:00
plugin
simpperf
.gitignore
common.sh test: do not filter output for non-diff tests (#6308) 2024-12-04 17:49:35 +00:00
lean-toolchain