leanprover-community / leanprover-community/mathlib4
`hint` priority should allow named priorities like `low`/`high`/etc.
Open
Nobody has claimed this yet.
t-meta
- Dominant language
- Lean
- Stars
- 4.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Just like we have for simp and instance priorities, register_hint should accept register_hint low grind and register_hint high ring, in addition to the purely numeric priorities we have right now.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the register_hint entry point and compare its current numeric-priority handling with the existing simp and instance priority behavior. Verify how named priorities such as low and high are represented there, then confirm that register_hint accepts the requested named forms as well as numeric priorities.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100