A five-variable quadratic decomposition
ProvedWorkbookSource.problem_27766lean-workbooksource-checked
Given the identity
Source: InternLM Lean-Workbook, record lean_workbook_27766 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_27766 (a b c d e : ℝ) : (a + b + c + d + e) ^ 2 - (5 / 2) * (a * (b + c) + b * (c + d) + c * (d + e) + d * (e + a) + e * (a + b)) = (1 / 16) * (4 * e - d - c - b - a) ^ 2 + (15 / 144) * (3 * d - c - b - a) ^ 2 + (5 / 24) * (2 * c - b - a) ^ 2 + (5 / 8) * (b - a) ^ 2 := by sorry
Source