Zulip Chat Archive
Stream: new members
Topic: 0 < x.sin → 0 < x and x.sin ≤ 0 → x ≤ 0 (x ∈ Set.Ioc (-π) π)
Ilmārs Cīrulis (Aug 28 2025 at 23:07):
How should I approach these two tiny problems? :thinking:
Big thanks for any hints.
import Mathlib
theorem thm1 (x : ℝ) (H : x ≤ Real.pi) (H0 : -Real.pi < x) (H1 : 0 < Real.sin x) : 0 < x := by
sorry
theorem thm2 (x : ℝ) (H : x ≤ Real.pi) (H0 : -Real.pi < x) (H1 : Real.sin x ≤ 0) : x ≤ 0 := by
sorry
Ilmārs Cīrulis (Aug 28 2025 at 23:07):
It feels like I'm missing something simple.
Ilmārs Cīrulis (Aug 29 2025 at 00:02):
One done.
import Mathlib
theorem thm1 (x : ℝ) (H0 : -Real.pi < x) (H1 : 0 < Real.sin x) :
0 < x := by
by_contra H2
simp at H2
have H3 := Real.sin_nonpos_of_nonpos_of_neg_pi_le H2 (by linarith)
linarith
Ilmārs Cīrulis (Aug 29 2025 at 00:11):
And the second is false in its current form, because in the case of x = Real.pi the sine is equal to 0 and the x is strictly positive.
Last updated: Dec 20 2025 at 21:32 UTC