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