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
import Std.Tactic.Simpa
theoremfoo : ℕ = ℤ ↔ False := sorryexample (bar : ℕ = ℤ) : False := by
simpa [foo] using bar
/-try 'simp at bar' instead of 'simpa using bar' [linter.unnecessarySimpa]-/
The linter is correct in that simpa can be avoided, but its suggestion is not correct; it should be suggesting simp [foo] at bar (which works). simp at bar does not close the goal.
The text was updated successfully, but these errors were encountered:
The linter is correct in that
simpa
can be avoided, but its suggestion is not correct; it should be suggestingsimp [foo] at bar
(which works).simp at bar
does not close the goal.The text was updated successfully, but these errors were encountered: