mathlib3
533a5523 - feat(tactic/hint): if hint can solve the goal, say so (#2474)

Commit
6 years ago
feat(tactic/hint): if hint can solve the goal, say so (#2474) It used to be that `hint` would print: ``` the following tactics make progress: ---- tac1 tac2 tac3 ``` with the tactics listed in order of number of resulting goals. In particular, if `tac1` and `tac2` actually solve the goal, while `tac3` only makes progress, this isn't explained. With this PR, if any of those tactics actually close the goal, we only print those tactics, with text: ``` the following tactics solve the goal: ---- tac1 tac2 ``` Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Author
Parents
Loading