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 / V18. Measure and integration

Mathlib.MeasureTheory.Function.L2Space

26 declarations. Mathlib docs · Source

L^2 space

If E is an inner product space over 𝕜 (ℝ or ℂ), then Lp E 2 μ (defined in Mathlib/MeasureTheory/Function/LpSpace/Basic.lean) is also an inner product space, with inner product defined as inner f g := ∫ a, ⟪f a, g a⟫ ∂μ.

Main results

  • mem_L1_inner : for f and g in Lp E 2 μ, the pointwise inner product fun x ↦ ⟪f x, g x⟫ belongs to Lp 𝕜 1 μ.
  • integrable_inner : for f and g in Lp E 2 μ, the pointwise inner product fun x ↦ ⟪f x, g x⟫ is integrable.
  • L2.innerProductSpace : Lp E 2 μ is an inner product space.

theorem MeasureTheory.MemLp.integrable_sq E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f : α → ℝ},
  MeasureTheory.MemLp f 2 μ → MeasureTheory.Integrable (fun x ↦ f x ^ 2) μ

theorem MeasureTheory.memLp_two_iff_integrable_sq_norm E1 #

∀ {α : Type u_1} {F : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [inst : NormedAddCommGroup F]
  {f : α → F},
  MeasureTheory.AEStronglyMeasurable f μ → (MeasureTheory.MemLp f 2 μ ↔ MeasureTheory.Integrable (fun x ↦ ‖f x‖ ^ 2) μ)

theorem MeasureTheory.memLp_two_iff_integrable_sq E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f : α → ℝ},
  MeasureTheory.AEStronglyMeasurable f μ → (MeasureTheory.MemLp f 2 μ ↔ MeasureTheory.Integrable (fun x ↦ f x ^ 2) μ)

theorem MeasureTheory.MemLp.const_inner E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {p : ENNReal} {μ : MeasureTheory.Measure α} {E : Type u_2} {𝕜 : Type u_3}
  [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] (c : E) {f : α → E},
  MeasureTheory.MemLp f p μ → MeasureTheory.MemLp (fun a ↦ inner 𝕜 c (f a)) p μ

theorem MeasureTheory.MemLp.inner_const E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {p : ENNReal} {μ : MeasureTheory.Measure α} {E : Type u_2} {𝕜 : Type u_3}
  [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] {f : α → E},
  MeasureTheory.MemLp f p μ → ∀ (c : E), MeasureTheory.MemLp (fun a ↦ inner 𝕜 (f a) c) p μ

theorem MeasureTheory.Integrable.const_inner E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {E : Type u_2} {𝕜 : Type u_3} [inst : RCLike 𝕜]
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] {f : α → E} (c : E),
  MeasureTheory.Integrable f μ → MeasureTheory.Integrable (fun x ↦ inner 𝕜 c (f x)) μ

theorem MeasureTheory.Integrable.inner_const E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {E : Type u_2} {𝕜 : Type u_3} [inst : RCLike 𝕜]
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] {f : α → E},
  MeasureTheory.Integrable f μ → ∀ (c : E), MeasureTheory.Integrable (fun x ↦ inner 𝕜 (f x) c) μ

theorem integral_inner E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {E : Type u_2} {𝕜 : Type u_3} [inst : RCLike 𝕜]
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] [CompleteSpace E] [inst_4 : NormedSpace ℝ E]
  {f : α → E}, MeasureTheory.Integrable f μ → ∀ (c : E), ∫ (x : α), inner 𝕜 c (f x) ∂μ = inner 𝕜 c (∫ (x : α), f x ∂μ)

theorem integral_eq_zero_of_forall_integral_inner_eq_zero E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {E : Type u_2} (𝕜 : Type u_3) [inst : RCLike 𝕜]
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] [CompleteSpace E] [inst_4 : NormedSpace ℝ E]
  (f : α → E), MeasureTheory.Integrable f μ → (∀ (c : E), ∫ (x : α), inner 𝕜 c (f x) ∂μ = 0) → ∫ (x : α), f x ∂μ = 0

theorem MeasureTheory.L2.eLpNorm_rpow_two_norm_lt_top E1 #

∀ {α : Type u_1} {F : Type u_3} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [inst : NormedAddCommGroup F]
  (f : ↥(MeasureTheory.Lp F 2 μ)), MeasureTheory.eLpNorm (fun x ↦ ‖↑↑f x‖ ^ 2) 1 μ < ⊤

theorem MeasureTheory.L2.eLpNorm_inner_lt_top E1 #

∀ {α : Type u_1} {E : Type u_2} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] (f g : ↥(MeasureTheory.Lp E 2 μ)),
  MeasureTheory.eLpNorm (fun x ↦ inner 𝕜 (↑↑f x) (↑↑g x)) 1 μ < ⊤

instance MeasureTheory.L2.instInnerSubtypeAEEqFunMemAddSubgroupLpOfNatENNReal E0 #

{α : Type u_1} →
  {E : Type u_2} →
    {𝕜 : Type u_4} →
      [inst : RCLike 𝕜] →
        {m : MeasurableSpace α} →
          {μ : MeasureTheory.Measure α} →
            [inst_1 : NormedAddCommGroup E] → [InnerProductSpace 𝕜 E] → Inner 𝕜 ↥(MeasureTheory.Lp E 2 μ)

theorem MeasureTheory.L2.inner_def E0 #

∀ {α : Type u_1} {E : Type u_2} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] (f g : ↥(MeasureTheory.Lp E 2 μ)),
  inner 𝕜 f g = ∫ (a : α), inner 𝕜 (↑↑f a) (↑↑g a) ∂μ

theorem MeasureTheory.L2.integral_inner_eq_sq_eLpNorm E1 #

∀ {α : Type u_1} {E : Type u_2} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] (f : ↥(MeasureTheory.Lp E 2 μ)),
  ∫ (a : α), inner 𝕜 (↑↑f a) (↑↑f a) ∂μ = ↑(∫⁻ (a : α), ↑‖↑↑f a‖₊ ^ 2 ∂μ).toReal

theorem MeasureTheory.L2.mem_L1_inner E3 #

∀ {α : Type u_1} {E : Type u_2} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] (f g : ↥(MeasureTheory.Lp E 2 μ)),
  MeasureTheory.AEEqFun.mk (fun x ↦ inner 𝕜 (↑↑f x) (↑↑g x)) ⋯ ∈ MeasureTheory.Lp 𝕜 1 μ

theorem MeasureTheory.L2.integrable_inner E3 #

∀ {α : Type u_1} {E : Type u_2} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] (f g : ↥(MeasureTheory.Lp E 2 μ)),
  MeasureTheory.Integrable (fun x ↦ inner 𝕜 (↑↑f x) (↑↑g x)) μ

instance MeasureTheory.L2.innerProductSpace E3 #

{α : Type u_1} →
  {E : Type u_2} →
    {𝕜 : Type u_4} →
      [inst : RCLike 𝕜] →
        {m : MeasurableSpace α} →
          {μ : MeasureTheory.Measure α} →
            [inst_1 : NormedAddCommGroup E] → [InnerProductSpace 𝕜 E] → InnerProductSpace 𝕜 ↥(MeasureTheory.Lp E 2 μ)

theorem MeasureTheory.L2.inner_indicatorConstLp_eq_setIntegral_inner E1 #

∀ {α : Type u_1} {E : Type u_2} (𝕜 : Type u_4) [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] {s : Set α} (f : ↥(MeasureTheory.Lp E 2 μ))
  (hs : MeasurableSet s) (c : E) (hμs : μ s ≠ ⊤),
  inner 𝕜 (MeasureTheory.indicatorConstLp 2 hs hμs c) f = ∫ (x : α) in s, inner 𝕜 c (↑↑f x) ∂μ

The inner product in L2 of the indicator of a set indicatorConstLp 2 hs hμs c and f is equal to the integral of the inner product over s: ∫ x in s, ⟪c, f x⟫ ∂μ.

theorem MeasureTheory.L2.inner_indicatorConstLp_eq_inner_setIntegral E1 #

∀ {α : Type u_1} {E : Type u_2} (𝕜 : Type u_4) [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] {s : Set α} [CompleteSpace E]
  [inst_4 : NormedSpace ℝ E] (hs : MeasurableSet s) (hμs : μ s ≠ ⊤) (c : E) (f : ↥(MeasureTheory.Lp E 2 μ)),
  inner 𝕜 (MeasureTheory.indicatorConstLp 2 hs hμs c) f = inner 𝕜 c (∫ (x : α) in s, ↑↑f x ∂μ)

The inner product in L2 of the indicator of a set indicatorConstLp 2 hs hμs c and f is equal to the inner product of the constant c and the integral of f over s.

theorem MeasureTheory.L2.inner_indicatorConstLp_one E1 #

∀ {α : Type u_1} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α}
  (hs : MeasurableSet s) (hμs : μ s ≠ ⊤) (f : ↥(MeasureTheory.Lp 𝕜 2 μ)),
  inner 𝕜 (MeasureTheory.indicatorConstLp 2 hs hμs 1) f = ∫ (x : α) in s, ↑↑f x ∂μ

The inner product in L2 of the indicator of a set indicatorConstLp 2 hs hμs (1 : 𝕜) and a real or complex function f is equal to the integral of f over s.

theorem MeasureTheory.L2.inner_indicatorConstLp_indicatorConstLp E1 #

∀ {α : Type u_1} {E : Type u_2} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}
  [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E] {s t : Set α} [CompleteSpace E]
  (hs : MeasurableSet s) (ht : MeasurableSet t)
  (hμs : autoParam (μ s ≠ ⊤) MeasureTheory.L2.inner_indicatorConstLp_indicatorConstLp._auto_1)
  (hμt : autoParam (μ t ≠ ⊤) MeasureTheory.L2.inner_indicatorConstLp_indicatorConstLp._auto_3) (a b : E),
  inner 𝕜 (MeasureTheory.indicatorConstLp 2 hs hμs a) (MeasureTheory.indicatorConstLp 2 ht hμt b) =
    μ.real (s ∩ t) • inner 𝕜 a b

The inner product in L2 of two indicatorConstLps, i.e. functions which are constant a : E and b : E on measurable s t : Set α with finite measure, respectively, is ⟪a, b⟫ times the measure of s ∩ t.

theorem MeasureTheory.L2.inner_indicatorConstLp_one_indicatorConstLp_one E1 #

∀ {α : Type u_1} {𝕜 : Type u_4} [inst : RCLike 𝕜] {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s t : Set α}
  (hs : MeasurableSet s) (ht : MeasurableSet t)
  (hμs : autoParam (μ s ≠ ⊤) MeasureTheory.L2.inner_indicatorConstLp_one_indicatorConstLp_one._auto_1)
  (hμt : autoParam (μ t ≠ ⊤) MeasureTheory.L2.inner_indicatorConstLp_one_indicatorConstLp_one._auto_3),
  inner 𝕜 (MeasureTheory.indicatorConstLp 2 hs hμs 1) (MeasureTheory.indicatorConstLp 2 ht hμt 1) = ↑(μ.real (s ∩ t))

The inner product in L2 of indicators of two sets with finite measure is the measure of the intersection.

theorem MeasureTheory.L2.real_inner_indicatorConstLp_one_indicatorConstLp_one E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s t : Set α} (hs : MeasurableSet s)
  (ht : MeasurableSet t)
  (hμs : autoParam (μ s ≠ ⊤) MeasureTheory.L2.real_inner_indicatorConstLp_one_indicatorConstLp_one._auto_1)
  (hμt : autoParam (μ t ≠ ⊤) MeasureTheory.L2.real_inner_indicatorConstLp_one_indicatorConstLp_one._auto_3),
  inner ℝ (MeasureTheory.indicatorConstLp 2 hs hμs 1) (MeasureTheory.indicatorConstLp 2 ht hμt 1) = μ.real (s ∩ t)

theorem MeasureTheory.posSemidef_matrix_measure_inter E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {ι : Type u_5} {s : ι → Set α},
  (∀ (j : ι), MeasurableSet (s j)) →
    autoParam (∀ (j : ι), μ (s j) ≠ ⊤) MeasureTheory.posSemidef_matrix_measure_inter._auto_1 →
      (Matrix.of fun i j ↦ μ.real (s i ∩ s j)).PosSemidef

theorem MeasureTheory.BoundedContinuousFunction.inner_toLp E1 #

∀ {α : Type u_1} {𝕜 : Type u_2} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [inst_2 : BorelSpace α]
  [inst_3 : RCLike 𝕜] (μ : MeasureTheory.Measure α) [inst_4 : MeasureTheory.IsFiniteMeasure μ]
  (f g : BoundedContinuousFunction α 𝕜),
  inner 𝕜 ((BoundedContinuousFunction.toLp 2 μ 𝕜) f) ((BoundedContinuousFunction.toLp 2 μ 𝕜) g) =
    ∫ (x : α), g x * (starRingEnd 𝕜) (f x) ∂μ

For bounded continuous functions f, g on a finite-measure topological space α, the L^2 inner product is the integral of their pointwise inner product.

theorem MeasureTheory.ContinuousMap.inner_toLp E1 #

∀ {α : Type u_1} {𝕜 : Type u_2} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] [inst_2 : BorelSpace α]
  [inst_3 : RCLike 𝕜] (μ : MeasureTheory.Measure α) [inst_4 : MeasureTheory.IsFiniteMeasure μ] [inst_5 : CompactSpace α]
  (f g : C(α, 𝕜)),
  inner 𝕜 ((ContinuousMap.toLp 2 μ 𝕜) f) ((ContinuousMap.toLp 2 μ 𝕜) g) = ∫ (x : α), g x * (starRingEnd 𝕜) (f x) ∂μ

For continuous functions f, g on a compact, finite-measure topological space α, the L^2 inner product is the integral of their pointwise inner product.