Zulip Chat Archive
Stream: new members
Topic: stupid inequality
Alex Kontorovich (Feb 06 2024 at 18:12):
What's the tactic that kills stuff like this? (If then false.)
import Mathlib
theorem extracted_1 (c : ℝ) (this_4 : 1 ≤ c) (this : c < 2⁻¹) : False := sorry
-- simp fails
-- linarith fails
-- exact? fails
-- apply? junk
-- rw? junk
I shouldn't have to look up some lt_of_le_of_lt
kind of thing, right?... Thanks!
David Renshaw (Feb 06 2024 at 18:14):
This works:
norm_num at this; linarith
David Renshaw (Feb 06 2024 at 18:14):
I wonder if linarith preprocessing ought to automatically do that kind of thing
David Renshaw (Feb 06 2024 at 18:15):
(Apparently linarith
currently does not know what do with 2⁻¹
.)
Last updated: May 02 2025 at 03:31 UTC