feat: `dsimp` pass in the `Sym.simp`-based `grind` normalizer (#15473) This PR adds a `Sym.dsimp` pass after `Sym.simp` in the `Sym.simp`-based `grind` normalizer, so that beta-redexes and projections of structure instances in the fixed arguments of an application are reduced, as the legacy normalizer does with `Simp.Config.dsimp`. `Sym.simp` does not visit these arguments, and a redex left in the implicit objects of a morphism composition made the goals of `Functor.flip` in `grind_cat.lean` miss `NatTrans.naturality`. `Sym.dsimp` now skips the proof arguments of applications headed by a local declaration (`getProofInstInfoOfFVar?`), as it already did for constants; it used to visit them and fail on kernel projections of `Exists` proofs, which cannot be folded. 🤖 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.