rw [h]
uses h
from the environment in preference to h
from the local context
#2729
Closed
1 task done
Labels
bug
Something isn't working
Prerequisites
Description
rw
seems to priorities other statements over variables in context. I would expect the reverse.Context
Zulip discussion and (non-minimised) question in New Members stream
Steps to Reproduce
See the following MWE:
Expected behavior: The above MWE should succeed.
Actual behavior:
rw
fails.Note that all other tactics -
simp
,apply
,exact
, ... do correctly use the localall
instead ofList.all
, so it seems to be arw
-specific issue.Moreover, the same behaviour shows it
open List
is replaced withdef all := 3
.Versions
(lean4web)
4.2.0-rc3
Additional Information
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: