Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The maximal function, cubes, the Cauchy–Riemann operator and smooth Sobolev norms

Definition
DbarRegularity_Setting

by Mazecto · Oct 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

calderon-zygmundcauchy-riemannelliptic-regularityharmonic-analysissingular-integrals

Four basic objects for the LpL^pLp theory of singular integrals on Rd\mathbb{R}^dRd and of the Cauchy–Riemann operator on C\mathbb{C}C.

  1. Hardy–Littlewood maximal function (E. M. Stein, Singular Integrals and Differentiability Properties of Functions, Chapter I, § 1.1, formula (2)). For f:Rd→Cf:\mathbb{R}^d\to\mathbb{C}f:Rd→C and x∈Rdx\in\mathbb{R}^dx∈Rd,
Mf(x)=sup⁡r>01m(B(x,r))∫B(x,r)∣f(y)∣ dy∈[0,∞],Mf(x)=\sup_{r>0}\frac{1}{m(B(x,r))}\int_{B(x,r)}|f(y)|\,dy\in[0,\infty],Mf(x)=r>0sup​m(B(x,r))1​∫B(x,r)​∣f(y)∣dy∈[0,∞],

where B(x,r)B(x,r)B(x,r) is the open ball and mmm is Lebesgue measure. 2. Closed cube. For a∈Rda\in\mathbb{R}^da∈Rd and s∈Rs\in\mathbb{R}s∈R, Q(a,s)={x∈Rd:ai≤xi≤ai+s for all i}Q(a,s)=\{x\in\mathbb{R}^d: a_i\le x_i\le a_i+s\text{ for all }i\}Q(a,s)={x∈Rd:ai​≤xi​≤ai​+s for all i}. 3. Cauchy–Riemann operator (C. Abbas, H. Hofer, Holomorphic Curves and Global Questions in Contact Geometry, § 4.2). For a map φ:C→E\varphi:\mathbb{C}\to Eφ:C→E into a complex normed space and z=s+itz=s+itz=s+it,

∂ˉφ=∂φ∂s+i ∂φ∂t,\bar\partial\varphi=\frac{\partial\varphi}{\partial s}+i\,\frac{\partial\varphi}{\partial t},∂ˉφ=∂s∂φ​+i∂t∂φ​,

without the factor 12\tfrac1221​. 4. Sobolev norm of a smooth map. For k∈Nk\in\mathbb{N}k∈N, p∈[1,∞]p\in[1,\infty]p∈[1,∞], U⊂CU\subset\mathbb{C}U⊂C and φ:C→E\varphi:\mathbb{C}\to Eφ:C→E,

∥φ∥Wk,p(U)=∑j=0k∥Djφ∥Lp(U),\|\varphi\|_{W^{k,p}(U)}=\sum_{j=0}^{k}\big\|D^j\varphi\big\|_{L^p(U)},∥φ∥Wk,p(U)​=j=0∑k​​Djφ​Lp(U)​,

where Djφ(z)D^j\varphi(z)Djφ(z) is the jjj-th Fréchet derivative, a jjj-linear map Cj→E\mathbb{C}^j\to ECj→E over R\mathbb{R}R, measured in the operator norm.

Formalization Note Rd\mathbb{R}^dRd is EuclideanSpace ℝ (Fin d) with its Lebesgue measure volume. maximalFunction f x is ⨆ r > 0, (volume (ball x r))⁻¹ * ∫⁻ y in ball x r, ‖f y‖ₑ, valued in ℝ≥0∞, so Mf(x)=∞Mf(x)=\inftyMf(x)=∞ is allowed. dbar φ z = fderiv ℝ φ z 1 + I • fderiv ℝ φ z I: the partial derivatives ∂sφ\partial_s\varphi∂s​φ, ∂tφ\partial_t\varphi∂t​φ are the real Fréchet derivative applied to 111 and iii. sobolevNorm k p U φ is ∑ j ∈ range (k + 1), eLpNorm (iteratedFDeriv ℝ j φ) p (volume.restrict U), valued in ℝ≥0∞. It is equivalent, up to constants depending on kkk and ppp, to the norm built from the partial derivatives ∂sa∂tbφ\partial_s^a\partial_t^b\varphi∂sa​∂tb​φ, a+b≤ka+b\le ka+b≤k; it is used only in an estimate with an unspecified constant.

Definition code
import Mathlib.MeasureTheory.Integral.Average
import Mathlib.MeasureTheory.Function.LpSeminorm.Basic
import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar
import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace
import Mathlib.MeasureTheory.Measure.Lebesgue.Complex
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.Analysis.Calculus.ContDiff.FTaylorSeries
import Mathlib.Analysis.Complex.Basic

/-!
# Basic objects for the `L^p` theory of the Cauchy–Riemann operator

* `maximalFunction f` is the Hardy–Littlewood maximal function of `f : ℝ^d → ℂ`
  (E. M. Stein, *Singular Integrals and Differentiability Properties of Functions*, Princeton
  1970, Chapter I, § 1.1, formula (2)), with values in `[0, ∞]`.
* `closedCube a s` is the closed cube `∏ᵢ [aᵢ, aᵢ + s]` in `ℝ^d`.
* `dbar φ` is the Cauchy–Riemann operator `∂φ/∂s + i ∂φ/∂t` on maps `φ : ℂ → E`, `z = s + i t`,
  without the factor `1/2` (C. Abbas, H. Hofer, *Holomorphic Curves and Global Questions in
  Contact Geometry*, Birkhäuser 2019, § 4.2).
* `sobolevNorm k p U φ` is the `W^{k,p}(U)` norm `∑_{j ≤ k} ‖D^j φ‖_{L^p(U)}` of a map
  `φ : ℂ → E`, where `D^j φ` is the `j`-th Fréchet derivative and `‖·‖` its operator norm.
-/

namespace DbarRegularity

open MeasureTheory Metric
open scoped ENNReal

noncomputable section

/-- The Hardy–Littlewood maximal function
`M f (x) = sup_{r > 0} (1 / |B(x, r)|) ∫_{B(x, r)} |f(y)| dy`, valued in `[0, ∞]`. -/
def maximalFunction {d : ℕ} (f : EuclideanSpace ℝ (Fin d) → ℂ)
    (x : EuclideanSpace ℝ (Fin d)) : ℝ≥0∞ :=
  ⨆ (r : ℝ) (_ : 0 < r), (volume (ball x r))⁻¹ * ∫⁻ y in ball x r, ‖f y‖ₑ

/-- The closed cube `{x | ∀ i, aᵢ ≤ xᵢ ≤ aᵢ + s}` in `ℝ^d` with corner `a` and side length `s`. -/
def closedCube {d : ℕ} (a : EuclideanSpace ℝ (Fin d)) (s : ℝ) :
    Set (EuclideanSpace ℝ (Fin d)) :=
  {x | ∀ i, a i ≤ x i ∧ x i ≤ a i + s}

/-- The Cauchy–Riemann operator `∂̄φ = ∂φ/∂s + i ∂φ/∂t` for `φ : ℂ → E` and `z = s + i t`. -/
def dbar {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] (φ : ℂ → E) (z : ℂ) : E :=
  fderiv ℝ φ z 1 + Complex.I • fderiv ℝ φ z Complex.I

/-- The `W^{k,p}(U)` norm `∑_{j = 0}^{k} ‖D^j φ‖_{L^p(U)}` of `φ : ℂ → E`, where `D^j φ` is the
`j`-th Fréchet derivative over `ℝ`, measured in the operator norm. -/
def sobolevNorm {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (k : ℕ) (p : ℝ≥0∞)
    (U : Set ℂ) (φ : ℂ → E) : ℝ≥0∞ :=
  ∑ j ∈ Finset.range (k + 1), eLpNorm (iteratedFDeriv ℝ j φ) p (volume.restrict U)

end

end DbarRegularity
Source
E. M. Stein, Singular Integrals and Differentiability Properties of Functions, Princeton Mathematical Series 30, Princeton University Press (1970), ISBN 0-691-08079-8, Chapter I, § 1.1, formula (2), p. 4; C. Abbas, H. Hofer, Holomorphic Curves and Global Questions in Contact Geometry, Birkhäuser Advanced Texts Basler Lehrbücher, Birkhäuser (2019), https://doi.org/10.1007/978-3-030-11803-7, § 4.2, pp. 100–101
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Read-back: DbarRegularity setting (Definitions/Def_DbarRegularity_Setting.lean)

Setting. Four definitions in namespace DbarRegularity; Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d) with Lebesgue measure volume; C\mathbb CC carries volume (Lebesgue on R2\mathbb R^2R2).

Hypotheses. None (definitions only).

Definitions used.

  • maximalFunction f x for f:Rd→Cf:\mathbb R^d\to\mathbb Cf:Rd→C:
Mf(x)=sup⁡r∈R, r>0 (∣B(x,r)∣)−1∫B(x,r)−∣f(y)∣ dy ∈[0,∞],Mf(x)=\sup_{r\in\mathbb R,\ r>0}\ \big(|B(x,r)|\big)^{-1}\int^{-}_{B(x,r)}|f(y)|\,dy\ \in[0,\infty],Mf(x)=r∈R, r>0sup​ (∣B(x,r)∣)−1∫B(x,r)−​∣f(y)∣dy ∈[0,∞],

with the open ball, ENNReal inverse, and the lower Lebesgue integral of ∥f∥e\|f\|_e∥f∥e​ (no measurability needed, no junk value).

  • closedCube a s ={x: ∀i, ai≤xi≤ai+s}=\{x:\ \forall i,\ a_i\le x_i\le a_i+s\}={x: ∀i, ai​≤xi​≤ai​+s} (empty if s<0s<0s<0, the point aaa if s=0s=0s=0).
  • dbar φ z for φ:C→E\varphi:\mathbb C\to Eφ:C→E, EEE a complex normed space: ∂ˉφ(z)=Dφ(z)[1]+i Dφ(z)[i]=∂sφ+i ∂tφ\bar\partial\varphi(z)=D\varphi(z)[1]+i\,D\varphi(z)[i]=\partial_s\varphi+i\,\partial_t\varphi∂ˉφ(z)=Dφ(z)[1]+iDφ(z)[i]=∂s​φ+i∂t​φ, where Dφ(z)D\varphi(z)Dφ(z) is the real Fréchet derivative (fderiv ℝ); no factor 1/21/21/2.
  • sobolevNorm k p U φ =∑j=0k∥Djφ∥Lp(U)∈[0,∞]=\sum_{j=0}^{k}\|D^j\varphi\|_{L^p(U)}\in[0,\infty]=∑j=0k​∥Djφ∥Lp(U)​∈[0,∞], where Djφ=D^j\varphi=Djφ= iteratedFDeriv ℝ j φ (real jjj-th Fréchet derivative on all of C\mathbb CC, operator norm), and ∥⋅∥Lp(U)\|\cdot\|_{L^p(U)}∥⋅∥Lp(U)​ is eLpNorm w.r.t. volume.restrict U.

Conclusion. n/a.

Degenerate cases.

  • d=0d=0d=0: R0\mathbb R^0R0 is a point of measure 111; B(x,r)={x}B(x,r)=\{x\}B(x,r)={x}, so Mf(x)=∣f(x)∣Mf(x)=|f(x)|Mf(x)=∣f(x)∣. Harmless.
  • dbar: if φ\varphiφ is not real-differentiable at zzz, fderiv is 000 and ∂ˉφ(z)=0\bar\partial\varphi(z)=0∂ˉφ(z)=0.
  • sobolevNorm: iteratedFDeriv is the classical derivative (junk 000 where not differentiable), so this is a genuine Wk,pW^{k,p}Wk,p norm only for φ\varphiφ of class CkC^kCk (near UUU); it uses derivatives of φ\varphiφ on the whole plane evaluated on UUU, which equal the intrinsic ones for open UUU.

Remarks. NormedSpace ℝ E for dbar comes from the complex structure (NormedSpace.complexToReal). The ball is open; using open vs closed balls does not change MfMfMf.

Soundness checks.

  1. No Bochner-integral or toReal junk in maximalFunction (lower integral, ENNReal arithmetic; ∣B(x,r)∣∈(0,∞)|B(x,r)|\in(0,\infty)∣B(x,r)∣∈(0,∞) for r>0r>0r>0, so the inverse is finite and nonzero). iSup over the empty-free index r>0r>0r>0 is fine. The only junk conventions are fderiv/iteratedFDeriv =0=0=0 at non-differentiable points, which the theorems must control by smoothness hypotheses. p = 0 in sobolevNorm would make eLpNorm 000; consumers should assume p≥1p\ge1p≥1.
  2. No quantifiers. The definitions match the standard objects.

Verdict: no mis-formalization observed

Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Mazecto · Oct 13, 2026

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

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me