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 Mathlib.Tactic.Linarith
example : 0 ≤ 1 := by linarith -- okexample (s : Set ℕ) (h : s = ∅) : 0 ≤ 1 :=
by linarith
/-failed to synthesize AddGroup (Set ℕ)-/
Seems like linarith should ignore (in)equalities in the context it doesn't get.
The text was updated successfully, but these errors were encountered:
Mostly style fixes in linarith, but also fixes#2610
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Alex J Best <alex.j.best@gmail.com>
see https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/linarith.20and.20ENNReal and the mwe of @eric-wieser there:
Seems like
linarith
should ignore (in)equalities in the context it doesn't get.The text was updated successfully, but these errors were encountered: