lean_workbook_plus_76564
Provedby Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
A neat way is through complex numbers. Say we have a+bi,c+di . Then ∣a+bi∣∣c+di∣=(a2+b2)(b2+c2)=∣(ac−bd)+i(ad+bc)∣=(ac−bd)2+(ad+bc)2 .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_76564 : ∀ a b c d : ℝ, (a * c - b * d) ^ 2 + (a * d + b * c) ^ 2 = (a ^ 2 + b ^ 2) * (c ^ 2 + d ^ 2) := by sorry
View graph