by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Since x=a+b+c , using that substitution property of inequality.\nThe LHS becomes: \n x2+(3−x)2\nExpanding, we get: \n x2+x2−6x+9⟹2x2−6x+9\n\nExpanding the RHS, we get: \n 2(x2−3x+9/4)+9/2⟹2x2−6x+9\n\nTherefore, we have proven that (a+b+c)2+(3−a−b−c)2=2(x−3/2)2+9/2.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_45240 (x a b c : ℝ)
(h₀ : x = a + b + c) :
x^2 + (3 - x)^2 = 2 * (x - 3 / 2)^2 + 9 / 2 := by sorry