The Cauchy–Schwarz inequality
ProvedFamousTheorems.inner_mul_inner_self_leeuclidean-geometrygeometrymathlib
The Cauchy–Schwarz inequality.
the familiar in the form Mathlib states over a general
RCLike field.
The proof is to expand and optimise over — the discriminant of a non-negative quadratic must be non-positive.
It is the inequality that makes inner product spaces geometric: it gives the triangle inequality for the induced norm, lets one define the angle between vectors via , and underpins Bessel's inequality and the projection theorem. Named for Cauchy (finite sums, 1821), Bunyakovsky and Schwarz (integrals).
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem inner_mul_inner_self_le : ∀ {𝕜 : Type*} {E : Type*} [RCLike 𝕜]
[SeminormedAddCommGroup E] [InnerProductSpace 𝕜 E] (x y : E),
‖(inner 𝕜 x y : 𝕜)‖ * ‖(inner 𝕜 y x : 𝕜)‖ ≤
RCLike.re (inner 𝕜 x x : 𝕜) * RCLike.re (inner 𝕜 y y : 𝕜) := by sorry
end FamousTheoremsSource
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.