Conversation
Mathbin -> Mathlib fix certain import statements move "by" to end of line add import to Mathlib.lean
|
@alexjbest |
|
They both modify |
|
In |
|
can you add a test to |
| let l ← do | ||
| let gs ← getGoals | ||
| try | ||
| setGoals [goal] | ||
| tacs | ||
| pruneSolvedGoals | ||
| getGoals | ||
| finally | ||
| setGoals gs |
There was a problem hiding this comment.
This is probably fine! It might even be better than using run. :) But I noticed that run does some fancy things with pendingMVars and the like which we don't do here. What exactly is the issue that motivated this change? I know you mentioned it involved discarding metavariable assignment errors, but do you have an example? I'd just like to diagnose what's going wrong with run.
There was a problem hiding this comment.
Without this change, hint suggests the following tactics solve the goal: tauto even if it fails by a metavariable assignment error.
|
This PR/issue depends on: |
This PR also change the implemention of
fail_of_no_progress, because the current implemention discards some errors.