feat: `refine` in `sym =>` mode

This PR adds the tactic `refine e` to `sym =>` mode. Like the tactic `refine`, it refines the main goal with the term `e`, and the holes `?x` and `?_` in `e` become new goals. So far, `sym =>` mode could only refine a goal by applying a theorem as a backward rule (`apply`), which cannot express a proof skeleton with holes under binders.

The new goals are preprocessed with `Sym.preprocessMVar`, like the goal when entering `sym =>` mode, so that they satisfy the sharing invariants of the `sym` tactics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed