leanprover / leanprover/reference-manual

more simp and rw differences

Open
#289 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc-request
Dominant language
Lean
Stars
129
Forks
67
Avg merge
1d 15h
Merged PRs (30d)
16

Description

Some things I would also mention in https://lean-lang.org/doc/reference/latest/The-Simplifier/Simplification-vs-Rewriting/#simp-vs-rw:

  • simp never creates side goals, and can only apply conditional rewrite rules if the discharger can prove the hypotheses
  • rw cannot rewrite with local variables (in binders)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the referenced Simplification vs Rewriting section in the reference manual and review its existing comparison of simp and rw. Add the two requested points about side goals, conditional rewrite rules, and local variables in binders. Done means the section clearly includes both distinctions and the documentation builds successfully.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.