fix: match against app fn for reducing recursor in `whnfCore` (#9090) This PR fixes a bug in `whnfCore` where it would fail to reduce applications of recursors/auxiliary defs. Closes #9089
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean.