by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Verify the identity x3+y3+z3−3xyz=21×(x+y+z)×((x−y)2+(y−z)2+(z−x)2) and use it to show that x3+y3+z3≥3xyz for both x+y+z≥0 and x+y+z≤0, with equality occurring when either x+y+z=0 or x=y=z.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_81883 (x y z : ℝ) : x^3 + y^3 + z^3 - 3 * x * y * z = 1 / 2 * (x + y + z) * ( (x - y)^2 + (y - z)^2 + (z - x)^2) := by sorry