Fixes an issue reported on Zulip; see the test case. * Modifies the `MonadBacktrack` instance for `SimpM` to also backtrack the `UsedSimps` field. * When calling the discharger, `saveState`, and then `restoreState` if something goes wrong. I'm not certain that it makes sense to restore the `MetaM` state if discharging fails. I can easily change this to more conservatively just backtrack the `UsedSimps` after failed discharging.
3 lines
188 B
Text
3 lines
188 B
Text
simp_trace_backtrack.lean:7:8-7:26: warning: declaration uses 'sorry'
|
|
Try this: simp only [Nat.succ_sub_succ_eq_sub]
|
|
simp_trace_backtrack.lean:17:0-17:7: warning: declaration uses 'sorry'
|