Closed eric-wieser closed 2 weeks ago
Please put an X between the brackets as you perform the following steps:
The following code crashes the lean server:
example : False := by refine' absurd (congrArg (·.1) sorry) _
Zulip thread
Expected behavior: Lean server doesn't crash, some error is probably emitted on the tactic
Actual behavior: Lean server does crash
v4.8.0rc1
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.
The cause seems to be infinite recursion in instantiateExprMVars, which cannot call withIncRecDepth because:
instantiateExprMVars
withIncRecDepth
Prerequisites
Please put an X between the brackets as you perform the following steps:
Description
The following code crashes the lean server:
Context
Zulip thread
Steps to Reproduce
Expected behavior: Lean server doesn't crash, some error is probably emitted on the tactic
Actual behavior: Lean server does crash
Versions
v4.8.0rc1
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.