The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.InnerProductSpace.OfNorm

13 declarations. Mathlib docs · Source

Inner product space derived from a norm

This file defines an InnerProductSpace instance from a norm that respects the parallelogram identity. The parallelogram identity is a way to express the inner product of x and y in terms of the norms of x, y, x + y, x - y.

Main results

  • InnerProductSpace.ofNorm: a normed space whose norm respects the parallelogram identity, can be seen as an inner product space.

Implementation notes

We define inner_

$$\langle x, y \rangle := \frac{1}{4} (‖x + y‖^2 - ‖x - y‖^2 + i ‖ix + y‖ ^ 2 - i ‖ix - y‖^2)$$

and use the parallelogram identity

$$‖x + y‖^2 + ‖x - y‖^2 = 2 (‖x‖^2 + ‖y‖^2)$$

to prove it is an inner product, i.e., that it is conjugate-symmetric (inner_.conj_symm) and linear in the first argument. add_left is proved by judicious application of the parallelogram identity followed by tedious arithmetic. smul_left is proved step by step, first noting that $\langle λ x, y \rangle = λ \langle x, y \rangle$ for $λ ∈ ℕ$, $λ = -1$, hence $λ ∈ ℤ$ and $λ ∈ ℚ$ by arithmetic. Then by continuity and the fact that ℚ is dense in ℝ, the same is true for ℝ. The case of ℂ then follows by applying the result for ℝ and more arithmetic.

TODO

Move upstream to Analysis.InnerProductSpace.Basic.

References

  • [Jordan, P. and von Neumann, J., On inner products in linear, metric spaces][Jordan1935]
  • https://math.stackexchange.com/questions/21792/norms-induced-by-inner-products-and-the-parallelogram-law
  • https://math.dartmouth.edu/archive/m113w10/public_html/jordan-vneumann-thm.pdf

Tags

inner product space, Hilbert space, norm

class InnerProductSpaceable E1 #

(E : Type u_2) → [NormedAddCommGroup E] → Prop

Predicate for the parallelogram identity to hold in a normed group. This is a scalar-less version of InnerProductSpace. If you have an InnerProductSpaceable assumption, you can locally upgrade that to InnerProductSpace 𝕜 E using casesI nonempty_innerProductSpace 𝕜 E.

ctor InnerProductSpaceable.mk E0 #

∀ {E : Type u_2} [inst : NormedAddCommGroup E],
  (∀ (x y : E), ‖x + y‖ * ‖x + y‖ + ‖x - y‖ * ‖x - y‖ = 2 * (‖x‖ * ‖x‖ + ‖y‖ * ‖y‖)) → InnerProductSpaceable E

theorem InnerProductSpaceable.parallelogram_identity E1 #

∀ {E : Type u_2} {inst : NormedAddCommGroup E} [self : InnerProductSpaceable E] (x y : E),
  ‖x + y‖ * ‖x + y‖ + ‖x - y‖ * ‖x - y‖ = 2 * (‖x‖ * ‖x‖ + ‖y‖ * ‖y‖)

theorem InnerProductSpace.toInnerProductSpaceable E1 #

∀ (𝕜 : Type u_1) [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E],
  InnerProductSpaceable E

instance InnerProductSpace.toInnerProductSpaceable_ofReal E0 #

∀ {E : Type u_2} [inst : NormedAddCommGroup E] [InnerProductSpace ℝ E], InnerProductSpaceable E

theorem Continuous.inner_ E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E]
  {f g : ℝ → E}, Continuous f → Continuous g → Continuous fun x ↦ inner_✝ 𝕜 (f x) (g x)

theorem InnerProductSpaceable.inner_.norm_sq E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] (x : E),
  ‖x‖ ^ 2 = RCLike.re (inner_✝ 𝕜 x x)

theorem InnerProductSpaceable.inner_.conj_symm E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] (x y : E),
  (starRingEnd 𝕜) (inner_✝ 𝕜 y x) = inner_✝ 𝕜 x y

theorem InnerProductSpaceable.add_left E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E]
  [InnerProductSpaceable E] (x y z : E), inner_✝ 𝕜 (x + y) z = inner_✝ 𝕜 x z + inner_✝ 𝕜 y z

theorem InnerProductSpaceable.innerProp E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E]
  [InnerProductSpaceable E] (r : 𝕜), InnerProductSpaceable.innerProp'✝ E r

def InnerProductSpace.ofNorm E3 #

(𝕜 : Type u_1) →
  [inst : RCLike 𝕜] →
    {E : Type u_2} →
      [inst_1 : NormedAddCommGroup E] →
        [NormedSpace 𝕜 E] →
          (∀ (x y : E), ‖x + y‖ * ‖x + y‖ + ‖x - y‖ * ‖x - y‖ = 2 * (‖x‖ * ‖x‖ + ‖y‖ * ‖y‖)) → InnerProductSpace 𝕜 E

Fréchet–von Neumann–Jordan Theorem. A normed space E whose norm satisfies the parallelogram identity can be given a compatible inner product.

theorem nonempty_innerProductSpace E1 #

∀ (𝕜 : Type u_1) [inst : RCLike 𝕜] (E : Type u_2) [inst_1 : NormedAddCommGroup E] [NormedSpace 𝕜 E]
  [InnerProductSpaceable E], Nonempty (InnerProductSpace 𝕜 E)

Fréchet–von Neumann–Jordan Theorem. A normed space E whose norm satisfies the parallelogram identity can be given a compatible inner product. Do casesI nonempty_innerProductSpace 𝕜 E to locally upgrade InnerProductSpaceable E to InnerProductSpace 𝕜 E.

instance InnerProductSpaceable.to_uniformConvexSpace E0 #

∀ {E : Type u_2} [inst : NormedAddCommGroup E] [InnerProductSpaceable E] [NormedSpace ℝ E], UniformConvexSpace E