Sum_of_Squares_of_Sum_and_Difference
Provedalgebraproofwiki
For all real a, b: (a+b)^2 + (a-b)^2 = 2(a^2 + b^2).
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Sum_of_Squares_of_Sum_and_Difference (a b : ℝ) : (a + b) ^ 2 + (a - b) ^ 2 = 2 * (a ^ 2 + b ^ 2) := by sorry
Source