This PR implements support for `#grind_lint check in module <module>`. Mathlib does not use namespaces, so we need to restrict the `#grind_lint` search space using module (prefix) names. Example: ```lean /-- info: instantiating `Array.filterMap_some` triggers more than 100 additional `grind` theorem instantiations --- info: Array.filterMap_some [thm] instances [thm] Array.filterMap_filterMap ↦ 94 [thm] Array.size_filterMap_le ↦ 5 [thm] Array.filterMap_some ↦ 1 --- info: instantiating `Array.range_succ` triggers 22 additional `grind` theorem instantiations -/ #guard_msgs in #grind_lint check (min := 20) in module Init.Data.Array ``` |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||