Skip to content

Commit

Permalink
is simpMatchWF needed?
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeata committed May 13, 2024
1 parent 787b221 commit cbdc0c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Lean/Elab/PreDefinition/WF/Eqns.lean
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Lean.Meta.Tactic.Split
import Lean.Elab.PreDefinition.Basic
import Lean.Elab.PreDefinition.Eqns
import Lean.Meta.ArgsPacker.Basic
import Init.Data.Array.Basic

namespace Lean.Elab.WF
open Meta
Expand Down Expand Up @@ -71,7 +72,7 @@ private partial def mkProof (declName : Name) (type : Expr) : MetaM Expr := do
return ()
else if (← tryContradiction mvarId) then
return ()
else if let some mvarId ← simpMatchWF? mvarId then
else if let some mvarId ← simpMatch? mvarId then
go mvarId
else if let some mvarId ← simpIf? mvarId then
go mvarId
Expand Down

0 comments on commit cbdc0c5

Please sign in to comment.