chore: remove unnecessary code

This commit is contained in:
Leonardo de Moura 2022-03-15 05:26:33 -07:00
parent aa68057c85
commit c3c0b8b8a2

View file

@ -287,8 +287,9 @@ partial def mkUnfoldProof (declName : Name) (mvarId : MVarId) : MetaM Unit := do
let rec go (mvarId : MVarId) : MetaM Unit := do
if (← tryEqns mvarId) then
return ()
else if let some mvarId ← funext? mvarId then
go mvarId
-- Remark: we removed funext? from `mkEqnTypes`
-- else if let some mvarId ← funext? mvarId then
-- go mvarId
else if let some mvarId ← simpMatch? mvarId then
go mvarId
else if let some mvarIds ← splitTarget? mvarId (splitIte := false) then