leanprover-community / leanprover-community/mathlib4
Change definition of ENNReal.HasInv
Open
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 4.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
This allows lemmas such as inv_top to be rfl. Suggested by @urkud on Zulip: https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/ENNReal.2Emul_div/near/368077795
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
Locate the definition of ENNReal.HasInv and the inv_top lemma in the mathlib4 source, then inspect the surrounding ENNReal inverse lemmas. The change is complete when the revised definition makes lemmas such as inv_top reducible to rfl, with the relevant tests or build checks passing.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100