fix: check "heartbeats" at simp
This commit is contained in:
parent
15cca3000a
commit
a10e32f537
1 changed files with 1 additions and 0 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue