leanprover-community / leanprover-community/mathlib4
`rify` should work for `NNReal`
Open
Nobody has claimed this yet.
enhancement
help-wanted
please-adopt
t-meta
- Dominant language
- Lean
- Stars
- 4.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
rify should be enhanced so that something like the following can work. Zulip.
import Mathlib
example (a b : ℚ) : a + b + b = b + a + b := by
rify
ring
example (a b : NNReal) : a + b + b = b + a + b := by
rify -- Simp made no progress
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 by reproducing the NNReal example in the issue and inspect the behavior of the rify tactic when simplification makes no progress. The work is done when the NNReal example succeeds with rify followed by ring, while the existing rational example continues to work.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100