Completing a square in a sine expression
ProvedWorkbookSource.problem_41598lean-workbooksource-checked
For every real ,
Source: InternLM Lean-Workbook, record lean_workbook_41598 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_41598 (x : ℝ) : 2 * (1 - 2 * Real.sin x ^ 2) + 2 * Real.sin x = 9 / 4 - 4 * (Real.sin x - 1 / 4) ^ 2 := by sorry
Source