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.Integral.CircleAverage

33 declarations. Mathlib docs · Source

Circle Averages

For a function f on the complex plane, this file introduces the definition Real.circleAverage f c R as a shorthand for the average of f on the circle with center c and radius R, equipped with the rotation-invariant measure of total volume one. Like IntervalAverage, this notion exists as a convenience. It avoids notationally inconvenient compositions of f with circleMap and avoids the need to manually eliminate 2 * π every time an average is computed.

Note: Like the interval average defined in Mathlib/MeasureTheory/Integral/IntervalAverage.lean, the circleAverage defined here is a purely measure-theoretic average. It should not be confused with circleIntegral, which is the path integral over the circle path. The relevant integrability property circleAverage is CircleIntegrable, as defined in Mathlib/MeasureTheory/Integral/CircleIntegral.lean.

Implementation Note: Like circleMap, circleAverages are defined for negative radii. The theorem circleAverage_congr_negRadius shows that the average is independent of the radius' sign.

Definition

Congruence Lemmata

Continuity

Constant Functions

Inequalities

Commutativity with Linear Maps

Behaviour with Respect to Arithmetic Operations

def Real.circleAverage E1 #

{E : Type u_1} → [inst : NormedAddCommGroup E] → [NormedSpace ℝ E] → (ℂ → E) → ℂ → ℝ → E

Define circleAverage f c R as the average value of f on the circle with center c and radius R. This is a real notion, which should not be confused with the complex path integral notion defined in circleIntegral (integrating with respect to dz).

theorem Real.circleAverage_def E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  Real.circleAverage f c R = (2 * Real.pi)⁻¹ • ∫ (θ : ℝ) in 0..2 * Real.pi, f (circleMap c R θ)

theorem Real.circleAverage.integral_undef E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  ¬CircleIntegrable f c R → Real.circleAverage f c R = 0

If 'f' is not circle integrable, then the circle average is zero by definition.

theorem Real.circleAverage_eq_intervalAverage E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  Real.circleAverage f c R = ⨍ (θ : ℝ) in 0..2 * Real.pi, f (circleMap c R θ)

Expression of circleAverage in terms of interval averages.

theorem Real.circleAverage_zero E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} [CompleteSpace E],
  Real.circleAverage f c 0 = f c

Interval averages for zero radii equal values at the center point.

theorem Real.circleAverage_map_add_const E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  Real.circleAverage (fun z ↦ f (z + c)) 0 R = Real.circleAverage f c R

Expression of circleAverage with arbitrary center in terms of circleAverage with center zero.

theorem Real.circleAverage_eq_circleIntegral E1 #

∀ {c : ℂ} {R : ℝ} {F : Type u_4} [inst : NormedAddCommGroup F] [inst_1 : NormedSpace ℂ F] {f : ℂ → F},
  R ≠ 0 → Real.circleAverage f c R = (2 * ↑Real.pi * Complex.I)⁻¹ • ∮ (z : ℂ) in C(c, R), (z - c)⁻¹ • f z

Expression of the circleAverage in terms of a circleIntegral.

theorem Real.circleAverage_eq_integral_add E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ} (η : ℝ),
  Real.circleAverage f c R = (2 * Real.pi)⁻¹ • ∫ (θ : ℝ) in 0..2 * Real.pi, f (circleMap c R (θ + η))

Circle averages do not change when shifting the angle.

theorem Real.circleAverage_neg_radius E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  Real.circleAverage f c (-R) = Real.circleAverage f c R

Circle averages do not change when replacing the radius by its negative.

theorem Real.circleAverage_abs_radius E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  Real.circleAverage f c |R| = Real.circleAverage f c R

Circle averages do not change when replacing the radius by its absolute value.

theorem Real.circleAverage_congr_codiscreteWithin E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f₁ f₂ : ℂ → E} {c : ℂ} {R : ℝ},
  f₁ =ᶠ[Filter.codiscreteWithin (Metric.sphere c |R|)] f₂ →
    R ≠ 0 → Real.circleAverage f₁ c R = Real.circleAverage f₂ c R

If two functions agree outside of a discrete set in the circle, then their averages agree.

theorem Real.circleAverage_congr_sphere E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {c : ℂ} {R : ℝ} {f₁ f₂ : ℂ → E},
  Set.EqOn f₁ f₂ (Metric.sphere c |R|) → Real.circleAverage f₁ c R = Real.circleAverage f₂ c R

If two functions agree on the circle, then their circle averages agree.

theorem Real.circleAverage_eq_circleAverage_zero_one E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  Real.circleAverage f c R = Real.circleAverage (fun z ↦ f (↑R * z + c)) 0 1

Express the circle average over an arbitrary circle as a circle average over the unit circle.

theorem Real.circleAverage_zero_one_congr_inv E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E},
  Real.circleAverage (fun x ↦ f x⁻¹) 0 1 = Real.circleAverage f 0 1

The circle average of a function f on the unit sphere equals the circle average of the function z ↦ f z⁻¹.

theorem Real.circleMap.continuous E1 #

∀ {c : ℂ}, Continuous fun x ↦ circleMap c x.1 x.2

The circleMap for a fixed center is continuous as a function on ℝ × ℝ.

theorem Real.ContinuousOn.circleAverage E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {s : Set ℝ} {c : ℂ},
  ContinuousOn f {z | ‖z - c‖ ∈ s} → (∀ r ∈ s, 0 ≤ r) → ContinuousOn (Real.circleAverage f c) s

The circle average of a continuous function is itself continuous, as a function of the radius.

theorem Real.Continuous.circleAverage E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {c : ℂ} {f : ℂ → E},
  Continuous f → Continuous (Real.circleAverage f c)

The circle average of a continuous function is itself continuous, as a function of the radius.

theorem Real.circleAverage_const E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [CompleteSpace E] (a : E) (c : ℂ) (R : ℝ),
  Real.circleAverage (fun x ↦ a) c R = a

The circle average of a constant function equals the constant.

theorem Real.circleAverage_const_on_circle E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ} [CompleteSpace E]
  {a : E}, (∀ x ∈ Metric.sphere c |R|, f x = a) → Real.circleAverage f c R = a

If f x equals a on for every point of the circle, then the circle average of f equals a.

theorem Real.circleAverage_mono E1 #

∀ {c : ℂ} {R : ℝ} {f₁ f₂ : ℂ → ℝ},
  CircleIntegrable f₁ c R →
    CircleIntegrable f₂ c R →
      (∀ x ∈ Metric.sphere c |R|, f₁ x ≤ f₂ x) → Real.circleAverage f₁ c R ≤ Real.circleAverage f₂ c R

Circle averages respect the ≤ relation.

theorem Real.circleAverage_mono_on_of_le_circle E1 #

∀ {c : ℂ} {R : ℝ} {f : ℂ → ℝ} {a : ℝ},
  CircleIntegrable f c R → (∀ x ∈ Metric.sphere c |R|, f x ≤ a) → Real.circleAverage f c R ≤ a

If f x is smaller than a on for every point of the circle, then the circle average of f is smaller than a.

theorem Real.norm_circleAverage_le_circleAverage_norm E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f : ℂ → E} {c : ℂ} {R : ℝ},
  ‖Real.circleAverage f c R‖ ≤ Real.circleAverage (fun z ↦ ‖f z‖) c R

theorem Real.abs_circleAverage_le_circleAverage_abs E1 #

∀ {c : ℂ} {R : ℝ} {f : ℂ → ℝ}, |Real.circleAverage f c R| ≤ Real.circleAverage |f| c R

Analogue of intervalIntegral.abs_integral_le_integral_abs: The absolute value of a circle average is less than or equal to the circle average of the absolute value of the function.

theorem Real.circleAverage_nonneg_of_nonneg E1 #

∀ {c : ℂ} {R : ℝ} {f : ℂ → ℝ}, (∀ x ∈ Metric.sphere c |R|, 0 ≤ f x) → 0 ≤ Real.circleAverage f c R

The circle average of a nonnegative function is nonnegative.

theorem ContinuousLinearMap.circleAverage_comp_comm E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {F : Type u_2} [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] [CompleteSpace F] {c : ℂ} {R : ℝ} [CompleteSpace E] (L : E →L[ℝ] F) {f : ℂ → E},
  CircleIntegrable f c R → Real.circleAverage (⇑L ∘ f) c R = L (Real.circleAverage f c R)

Circle averages commute with continuous linear maps.

theorem Real.circleAverage_smul E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {𝕜 : Type u_3} [inst_2 : NormedDivisionRing 𝕜]
  [inst_3 : Module 𝕜 E] [NormSMulClass 𝕜 E] [SMulCommClass ℝ 𝕜 E] {f : ℂ → E} {c : ℂ} {R : ℝ} {a : 𝕜},
  Real.circleAverage (a • f) c R = a • Real.circleAverage f c R

Circle averages commute with scalar multiplication.

theorem Real.circleAverage_fun_smul E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {𝕜 : Type u_3} [inst_2 : NormedDivisionRing 𝕜]
  [inst_3 : Module 𝕜 E] [NormSMulClass 𝕜 E] [SMulCommClass ℝ 𝕜 E] {f : ℂ → E} {c : ℂ} {R : ℝ} {a : 𝕜},
  Real.circleAverage (fun z ↦ a • f z) c R = a • Real.circleAverage f c R

Circle averages commute with scalar multiplication.

theorem Real.circleAverage_add E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f₁ f₂ : ℂ → E} {c : ℂ} {R : ℝ},
  CircleIntegrable f₁ c R →
    CircleIntegrable f₂ c R → Real.circleAverage (f₁ + f₂) c R = Real.circleAverage f₁ c R + Real.circleAverage f₂ c R

Circle averages commute with addition.

theorem Real.circleAverage_fun_add E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {c : ℂ} {R : ℝ} {f₁ f₂ : ℂ → E},
  CircleIntegrable f₁ c R →
    CircleIntegrable f₂ c R →
      Real.circleAverage (fun z ↦ f₁ z + f₂ z) c R = Real.circleAverage f₁ c R + Real.circleAverage f₂ c R

Circle averages commute with addition.

theorem Real.circleAverage_sum E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {c : ℂ} {R : ℝ} {ι : Type u_4} {s : Finset ι}
  {f : ι → ℂ → E},
  (∀ i ∈ s, CircleIntegrable (f i) c R) → Real.circleAverage (∑ i ∈ s, f i) c R = ∑ i ∈ s, Real.circleAverage (f i) c R

Circle averages commute with sums.

theorem Real.circleAverage_fun_sum E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {c : ℂ} {R : ℝ} {ι : Type u_4} {s : Finset ι}
  {f : ι → ℂ → E},
  (∀ i ∈ s, CircleIntegrable (f i) c R) →
    Real.circleAverage (fun z ↦ ∑ i ∈ s, f i z) c R = ∑ i ∈ s, Real.circleAverage (f i) c R

Circle averages commute with sums.

theorem Real.circleAverage_sub E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f₁ f₂ : ℂ → E} {c : ℂ} {R : ℝ},
  CircleIntegrable f₁ c R →
    CircleIntegrable f₂ c R → Real.circleAverage (f₁ - f₂) c R = Real.circleAverage f₁ c R - Real.circleAverage f₂ c R

Circle averages commute with subtraction.

theorem Real.circleAverage_fun_sub E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f₁ f₂ : ℂ → E} {c : ℂ} {R : ℝ},
  CircleIntegrable f₁ c R →
    CircleIntegrable f₂ c R →
      Real.circleAverage (fun z ↦ f₁ z - f₂ z) c R = Real.circleAverage f₁ c R - Real.circleAverage f₂ c R

Circle averages commute with subtraction.