fix: validate `finish?` suggestions at the goal before its parameters are asserted (#15606) This PR fixes a spurious "generated tactic cannot close the goal" warning from `finish?` when its parameters alone close the goal, e.g. `grind => finish? [inj f_inj]`. The `finish` action replayed its script at a goal where the parameters were still pending facts, so the empty script `done` failed. The check is removed from `mkFinish`: `finish?` validates both suggestions at the goal before the parameters are asserted, and `grind?` composes `checkTactic` at its call site. The replay evaluator now also carries the `sym` flag, otherwise `sym =>` scripts starting with `intros` or `by_contra` are rejected during validation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.