You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The three lemmas listed here are non-confluent, which partially explains the issue. But as long as simp and simp only apply the same strategy, it shouldn’t matter.
My assumption (not further investigated) is that the rules come out of the DiscrTree in a different order. Maybe if there are multiple rules there, they should be sorted by some predictable way – even lemma name could help to make this more reliable.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
Applying the code action from
simp?
gives a different result thansimp
orsimp?
itself. Example:After the final
simp
orsimp?
call, the goal isHowever after applying the code action
simp?
gives me,simp
is replaced withand after the
simp only
call now, the goal isContext
Occurred while trying to demonstrate how
simp?
works for teaching. Discussion here: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/The.20result.20of.20simp.3F.20gives.20a.20different.20result.20to.20simpSteps to Reproduce
Expected behavior:
The
simp only
command given bysimp?
should behave the same assimp
itself.Actual behavior: Squeezing the
simp
changes what it does.Versions
4.12.0-rc1, MacOS Monterey. Also reproduces on Lean nightly at time of writing.
Additional Information
[Additional information, configuration or data that might be necessary to reproduce the issue]
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: