by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
You can rewrite a2(b+c)+b2(a+c)+c2(a+b) as a2(6−a)+b2(6−b)+c2(6−c). This expands out to 6a2−a3+6b2−b3+6c2−c3, which you can rearrange and factor to get 6(a2+b2+c2)−(a3+b3+c3). Now, you can substitute in the values to get 6(40)−200=40
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_39590 (a b c : ℝ)
(h₀ : a + b + c = 6)
(h₁ : a^2 + b^2 + c^2 = 40)
(h₂ : a^3 + b^3 + c^3 = 200) :
a^2 * (b + c) + b^2 * (a + c) + c^2 * (a + b) = 40 := by sorry