Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Haar-averaged real projections on the unit circle (circleMeasure, circleMoment, projectionPower, finiteProjection)

Definition
HlawkaSchatten_DiagonalConstruction_CircleProjection

by savarin · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

complex-analysishaar-measurehlawka-schattenintegration

Background structure and four quantities, all built from the unit circle group Circle (unit complex numbers) with its Borel measurable-space structure:

  • The circle first receives its Borel σ\sigmaσ-algebra (MeasurableSpace Circle) and the matching BorelSpace Circle instance, needed to integrate against a measure on it.
  • circleMeasure is the Haar probability measure on Circle, normalized so the whole circle has measure 111.
  • circleMoment is the ppp-th absolute moment of the real part of a Haar-random point uuu on the circle:
circleMoment(p)=∫u∈Circle∣Re⁡(u)∣p d circleMeasure.\mathrm{circleMoment}(p) = \int_{u\in\mathrm{Circle}} \big|\operatorname{Re}(u)\big|^p \, d\,\mathrm{circleMeasure}.circleMoment(p)=∫u∈Circle​​Re(u)​pdcircleMeasure.
  • projectionPower, for a real exponent ppp, a finite family of complex numbers z=(zi)i∈ιz=(z_i)_{i\in\iota}z=(zi​)i∈ι​, and a point uuu on the circle, sums the ppp-th power of the absolute real part of each rotated entry:
projectionPower(p,z,u)=∑i∣Re⁡(u zi)∣p.\mathrm{projectionPower}(p,z,u) = \sum_i \big|\operatorname{Re}(u\,z_i)\big|^p.projectionPower(p,z,u)=i∑​​Re(uzi​)​p.
  • finiteProjection, for weights w=(wk)k∈κw=(w_k)_{k\in\kappa}w=(wk​)k∈κ​, rotations u=(uk)k∈κu=(u_k)_{k\in\kappa}u=(uk​)k∈κ​ on the circle, and z=(zi)i∈ιz=(z_i)_{i\in\iota}z=(zi​)i∈ι​, builds a single real-valued family indexed by κ×ι\kappa\times\iotaκ×ι:
finiteProjection(p,w,u,z)(k,i)=wk1/p Re⁡(uk zi).\mathrm{finiteProjection}(p,w,u,z)_{(k,i)} = w_k^{1/p}\,\operatorname{Re}(u_k\,z_i).finiteProjection(p,w,u,z)(k,i)​=wk1/p​Re(uk​zi​).

These realize, for p>0p>0p>0, the ppp-th power of each complex lpNorm value, up to the constant factor circleMoment(p)\mathrm{circleMoment}(p)circleMoment(p), as the average over the unit circle of the real projection power sum projectionPower: projectionPower computes the real coordinate power sum after rotating by uuu, circleMoment is that same average taken at a single unit vector, and finiteProjection packages a finite sample of weighted rotations into one real-coordinate family, so that a real inequality proved for lpNorm can be transferred to the complex lpNorm values.

Definition code
import Mathlib.Analysis.Complex.Circle
import Mathlib.Analysis.Convex.Integral
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.Normed.Lp.PiLp
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.MeasureTheory.Group.Integral
import Mathlib.MeasureTheory.Measure.Haar.Basic

/-
Copyright (c) 2026 Ezzeri Esa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ezzeri Esa
-/

/-! # Real projections averaged over the unit circle -/

namespace HlawkaSchatten.DiagonalConstruction

open MeasureTheory

 noncomputable instance : MeasurableSpace Circle := borel Circle
private instance : BorelSpace Circle := ⟨rfl⟩

noncomputable abbrev circleMeasure : Measure Circle :=
  Measure.haarMeasure (⊤ : TopologicalSpace.PositiveCompacts Circle)



noncomputable def circleMoment (p : ℝ) : ℝ := ∫ u : Circle, |(u : ℂ).re| ^ p ∂circleMeasure







variable {ι : Type*} [Fintype ι]

noncomputable def projectionPower (p : ℝ) (z : ι → ℂ) (u : Circle) : ℝ :=
  ∑ i, |((u : ℂ) * z i).re| ^ p





variable {κ : Type*} [Fintype κ]

noncomputable def finiteProjection (p : ℝ) (w : κ → ℝ) (u : κ → Circle) (z : ι → ℂ) : κ × ι → ℝ :=
  fun k ↦ w k.1 ^ (1 / p) * (((u k.1 : Circle) : ℂ) * z k.2).re





end HlawkaSchatten.DiagonalConstruction
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/DiagonalConstruction/CircleProjection.lean#L18-L87
Human review
  • Endorsed by Shuze Chen · Sep 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by savarin · Sep 29, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by marwahaha · Sep 30, 2026

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me