by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Let f(x,y,z)=x3+y3+z3−3xyz . Prove the following properties:\n1. f(x,y,z)=21⋅(x+y+z)⋅[(x−y)2+(y−z)2+(z−x)2]\n2. ⎩⎨⎧x+y+z=0 or x=y=z⟺f(x,y,z)=0x+y+z≥0⟺f(x,y,z)≥0x+y+z≤0⟺f(x,y,z)≤0\n3. {4⋅f(x,y,z)=f(−x+y+z,x−y+z,x+y−z)2⋅f(x,y,z)=f(x+y,y+z,z+x)\n
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_71161 :
∀ x y z : ℝ,
(1 / 2) * (x + y + z) * ((x - y) ^ 2 + (y - z) ^ 2 + (z - x) ^ 2) =
x ^ 3 + y ^ 3 + z ^ 3 - 3 * x * y * z := by sorry