We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
MWE:
import Std def foo : Nat → Nat := sorry theorem foo_eq_iff (z : Nat) : z = 17 ↔ foo z = 3 := sorry theorem fail (z : Nat) (h : z = 17) : foo z = 3 := by simp? [← foo_eq_iff] exact h
The simp? works fine, but the suggestion is to use simp only [foo_eq_iff].
simp only [foo_eq_iff]
The text was updated successfully, but these errors were encountered:
Caused by core: leanprover/lean4#2131
Sorry, something went wrong.
It looks like this is fixed.
import Batteries def foo : Nat → Nat := sorry theorem foo_eq_iff (z : Nat) : z = 17 ↔ foo z = 3 := sorry theorem fail (z : Nat) (h : z = 17) : foo z = 3 := by simp? [← foo_eq_iff] exact h
The suggestion is now Try this: simp only [← foo_eq_iff]
Try this: simp only [← foo_eq_iff]
No branches or pull requests
MWE:
The
simp?
works fine, but the suggestion is to usesimp only [foo_eq_iff]
.The text was updated successfully, but these errors were encountered: