leanprover-community / leanprover-community/mathlib4

`simp` does not try applying `@[refl]` lemmas to close the goal

Open
#5,025 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

lean4-change-in-behaviour
Dominant language
Lean
Stars
4.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hence some calls to simp or simp only now have to be followed by rfl.

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

Start by reproducing the reported behavior of simp and simp only when @[refl] lemmas could close the goal. Verify that the completed behavior closes those goals without a following rfl; the issue does not name a file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.