The parallelogram law
ProvedFamousTheorems.parallelogram_law_7aThe parallelogram law. In a real inner product space, for all vectors ,
Geometrically, the sum of the squares of the diagonals of a parallelogram equals the sum of the squares of its sides. By the Jordan–von Neumann theorem, a norm satisfying this identity comes from an inner product. The law is used in the proof that closed convex sets in a Hilbert space have unique nearest points, which gives orthogonal projections and the Riesz representation theorem.
Formalization note. Mathlib's parallelogram_law_with_norm, specialised to real scalars. Mathlib also proves it for complex inner product spaces.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem parallelogram_law_7a {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (x y : E) :
‖x + y‖ ^ 2 + ‖x - y‖ ^ 2 = 2 * (‖x‖ ^ 2 + ‖y‖ ^ 2) := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `parallelogram_law_with_norm`. Proof here reduces to that Mathlib result.