fix: check "heartbeats" at simp

This commit is contained in:
Leonardo de Moura 2022-01-26 07:50:25 -08:00
parent 15cca3000a
commit a10e32f537

View file

@ -142,6 +142,7 @@ def getSimpLetCase (n : Name) (t : Expr) (v : Expr) (b : Expr) : MetaM SimpLetCa
return SimpLetCase.dep
partial def simp (e : Expr) : M Result := withIncRecDepth do
checkMaxHeartbeats "simp"
let cfg ← getConfig
if (← isProof e) then
return { expr := e }