simp
can't rewrite definitions backwards
#2431
Labels
closing soon
This issue will be closed soon (<1 month) as it is missing essential features.
invalid
This doesn't seem right
Prerequisites
Description
rw
can rewrite backwards using the equational lemma associated to a definition, butsimp
,simp_rw
,simp only
cannot.Steps to Reproduce
Expected behavior: No goals
rw [← double]
,simp_rw [double]
,rw [double]
exhibit this correct behavior.Actual behavior:
simp only [← double]
andsimp [← double]
exhibit the same bad behavior.Reproduces how often: every time
Versions
Lean (version 4.0.0-nightly-2023-08-15, commit b5a7367, Release)
MacOS Ventura 13.5
The text was updated successfully, but these errors were encountered: