RFC: `rw` (or a variant) should be able to rewrite under binders
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Proposal
The triage team rejected #5994 and thought that it would be better if rw had the ability to rewrite under binders, probably by reusing some of the internals of simp. See the discussion there.
It should still be able to create new subgoals when applying conditional rewrite rules, which simp_rw currently cannot do.
Impact
Add 👍 to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add 👍 to it.
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 the discussion in issue #5994 and inspect the existing rw, simp, and simp_rw internals referenced by the proposal. The work is done when rewriting under binders is supported while conditional rewrite rules can still create new subgoals; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100