lean_workbook_plus_4153
ProvedNotice that , and therefore \n \n \begin{align*}(a + b + c)^2 &= a^2 + b^2 + c^2 + 2(ab + bc + ca) \\ &= 4(ab + bc + ca) \\end{align*} Notice that , and since , then as well, and therefore is a square.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_4153 (a b c : ℕ) (h₀ : a^2 + b^2 + c^2 = 2 * (a * b + b * c + c * a)) : (a + b + c)^2 = 4 * (a * b + b * c + c * a) := by sorry
Source