leanprover-community / leanprover-community/physlib
Multigoal linter
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 750
- Forks
- 191
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 75
Description
The whole of PhysLean needs the MultiGoal linter run on it and all the warnings dealt with.
In particular
[leanOptions]
linter.style.multiGoal = true
should be added to lakefile.toml and the project built with lake build.
This will generate warnings, some of which may be from Mathlib, but the ones from PhysLean should be dealt. For example:
exact h
exact h2
should be replaced with:
· exact h1
· exact h2
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 with lakefile.toml and add the specified linter option, then run lake build to collect warnings. Review the warnings attributable to PhysLean and update the affected proofs, using the multi-goal example in the issue as guidance. Done means PhysLean's own MultiGoal warnings have been addressed; Mathlib warnings may remain.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100