Debugging support code for checking basic invariants.
Equations
- Lean.Meta.Grind.checkChild e child = do let __discr ← Lean.Meta.Grind.getRoot? child match __discr with | some childRoot => pure (Lean.Meta.Grind.isSameExpr childRoot e) | x => pure false
Instances For
Equations
- goal.checkInvariants expensive = discard (Lean.Meta.Grind.GoalM.run' goal (Lean.Meta.Grind.checkInvariants expensive))