refactor: add candidate test to reserved name predicates This PR changes `registerReservedNamePredicate` to take two functions: a test on the last component of the name, and the predicate itself. This commit only records the new information. A follow-up commit uses it after a stage0 update. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.