lean_workbook_plus_15818
Openby Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
By triangle inequality we have \n
∣sinx+ cosx∣+∣sinx−cosx∣≥∣sinx+cosx+sinx−cosx∣=2∣sinx∣≥2sin2x
equality holds if and only if x=2π or x=23π
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_15818 :
∀ x : ℝ,
abs (sin x + cos x) + abs (sin x - cos x) ≥ 2 * (sin x)^2 := by sorryView graph