feat: add `sym_simproc` and `sym_discharger` DSL syntax categories This PR adds the infrastructure for simproc and discharger DSLs used to specify `pre`/`post` simproc chains and conditional rewrite dischargers in `Sym.simp` variants. Syntax categories: - `sym_simproc` with primitives (`ground`, `telescope`, `rewrite`, `self`, `none`) and combinators (`>>`, `<|>`) - `sym_discharger` with primitives (`self`, `none`) for the `with` clause of `rewrite` Elaboration attributes: - `builtin_sym_simproc` / `sym_simproc` mapping syntax to `Syntax → GrindTacticM Simproc` - `builtin_sym_discharger` / `sym_discharger` mapping syntax to `Syntax → GrindTacticM Discharger` Dispatchers: `elabSymSimproc`, `elabSymDischarger`, `elabWithClause`. Built-in elaborators for each primitive/combinator will follow in a subsequent PR after the stage0 update. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.