leanprover-community / leanprover-community/mathlib4

`hint` priority should allow named priorities like `low`/`high`/etc.

Open
#31,291 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.