lean_workbook_plus_17202
ProvedSomehow, using calculus to maximize a quadratic always strikes me as overkill. You could just complete the square. Or use AM-GM: For and Hence with equality when
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_17202 (x : ℝ) (h₀ : 0 < x) (h₁ : x < 1) : x * (1 - x) ≤ 1 / 4 := by sorry
Source