We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 093be2a commit 8a13684Copy full SHA for 8a13684
src/Lean/Elab/Tactic/Grind/Main.lean
@@ -234,7 +234,7 @@ def elabGrindSimpTheorems (params : Grind.Params) : MetaM Grind.Params := do
234
else
235
.default false
236
let thm ← Grind.mkEMatchTheoremForDecl declName kind symPrios
237
- params := { params with ematch := params.ematch.insert thm }
+ params := { params with extra := params.extra.push thm }
238
catch _ => pure () -- Silently skip theorems that fail
239
| _ => pure () -- Skip non-declaration origins (fvars, etc.)
240
return params
0 commit comments