Skip to content

Commit 8a13684

Browse files
committed
fix
1 parent 093be2a commit 8a13684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lean/Elab/Tactic/Grind/Main.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def elabGrindSimpTheorems (params : Grind.Params) : MetaM Grind.Params := do
234234
else
235235
.default false
236236
let thm ← Grind.mkEMatchTheoremForDecl declName kind symPrios
237-
params := { params with ematch := params.ematch.insert thm }
237+
params := { params with extra := params.extra.push thm }
238238
catch _ => pure () -- Silently skip theorems that fail
239239
| _ => pure () -- Skip non-declaration origins (fvars, etc.)
240240
return params

0 commit comments

Comments
 (0)