leanprover / leanprover/reference-manual
explain how simp works
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 129
- Forks
- 67
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
What question should the reference manual answer?
In what order are simp-lemmas applied? Similarly: Why is my high-priority simp-rule not always applied before a low-priority simp rule?
What is the difference between @[simp] and @[simp↓]
What are discrimination trees and how are they used (also useful to reference in the type class inference chapter)?
What is the role of the simp discharger and what is the default discharger?
EDIT: What are simpprocs? How do they work? How to write one?
Additional context
Add any other context about the question here that will help us ensure that the documentation meets your needs.
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
No files or tests are named. Start by reviewing the existing reference manual coverage of simp, type class inference, discrimination trees, the simp discharger, and simpprocs, then identify where these questions belong. Done means the manual explains the listed concepts, ordering and priority behavior, and how to write simpprocs.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100