-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simp_all [h], where h is a hypothesis, removes h #1853
Comments
This is the intended behavior. The suggestion made by |
Okay, then |
It appears example {m n : Nat} (h : n = m) : n = 0 := by
simp_all [h]
-- m n : Nat
-- h : n = m
-- ⊢ m = 0
sorry (Same result with As such, I'll close this issue. |
It seems like the
simp_all
logic that prevents hypotheses from self-simplifying toTrue
does not fire if the hypothesis is given explicitly:I discovered this because
simp_all?
suggests calls of the formsimp_all only [h]
:The text was updated successfully, but these errors were encountered: