Mathlib.Analysis.Weighted­Circular­Tube

Planar unit-circle tube infrastructure: radial power weights, uniform one-sided local mass bounds, finite positive annular normalizers, and reciprocal-scale separated nets.

Basic 8 core · 11 supporting This module supplies a neutral Euclidean-plane model of the unit circle, its inward and outward sides, and the radial power weight used for local volume calculations. ★ isCompact_unitCircle

Geometry and weights for a circular tube

This module supplies a neutral Euclidean-plane model of the unit circle, its inward and outward sides, and the radial power weight used for local volume calculations. The plane is represented by complex numbers, which carry the standard two-dimensional Euclidean metric and Lebesgue measure.

abbrev Plane reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

The Euclidean plane is represented by the complex numbers, equipped with their standard two-dimensional Euclidean metric and Lebesgue measure.

Definition (Lean source)
Plane :
Type
Causalean.Mathlib.Analysis.WeightedCircularTube.Plane · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:20
def unitCircle reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

The unit circle is the set of planar points whose Euclidean distance from the origin is one.

Definition (Lean source)
unitCircle :
{z | ‖z‖ = 1}
Causalean.Mathlib.Analysis.WeightedCircularTube.unitCircle · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:24 · uses Plane
def radialOffset reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a planar point, its signed radial offset is its Euclidean distance from the origin minus one; it is negative inside the unit circle and positive outside it.

Definition (Lean source)
z :
radialOffset z :
‖z‖ - 1
Causalean.Mathlib.Analysis.WeightedCircularTube.radialOffset · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:27 · uses Plane
inductive CircleSide reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

The type of radial sides adjacent to the unit circle has an inside alternative, representing its interior, and an outside alternative, representing its strict exterior.

Definition (Lean source)
CircleSide :
Type
inside :
outside :
deriving DecidableEq
Causalean.Mathlib.Analysis.WeightedCircularTube.CircleSide · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:31
def region reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube.CircleSide

The region associated with a radial side is the closed interior of the unit circle for the inside side, and the strict exterior of the unit circle for the outside side.

Definition (Lean source)
region :
clause 1
| .inside => {z | radialOffset z ≤ 0}
clause 2
| .outside => {z | 0 < radialOffset z}
Causalean.Mathlib.Analysis.WeightedCircularTube.CircleSide.region · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:37 · uses CircleSide , Plane
def powerWeight reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a real exponent parameter and a planar point, the radial power weight is the absolute radial offset raised to the power κ2κ-2. On the unit circle itself the offset is zero, and zero to a negative power is zero by convention, so for exponents below two the weight is zero there rather than infinite; this affects only a Lebesgue-null set.

Definition (Lean source)
κ :
z :
powerWeight κ z :
|radialOffset z| ^ (κ - 2)
Causalean.Mathlib.Analysis.WeightedCircularTube.powerWeight · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:43 · uses Plane
def sideBall reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a chosen radial side, a planar center, and a real radius, the one-sided ball is the open Euclidean ball with that center and radius, intersected with the region on the chosen side of the unit circle.

Definition (Lean source)
side :
x :
h :
sideBall side x h :
ball x h ∩ side.region
Causalean.Mathlib.Analysis.WeightedCircularTube.sideBall · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:49 · uses CircleSide , Plane
theorem isCompact_unitCircle reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

The unit circle is compact in the Euclidean plane.

Formal statement
Proof (Lean source)
theorem isCompact_unitCircle : IsCompact unitCircle := by simpa only [unitCircle, sphere, Set.mem_ofPred_eq, dist_zero_right] using (isCompact_sphere (0 : Plane) 1)
Causalean.Mathlib.Analysis.WeightedCircularTube.isCompact_unitCircle · Causalean/Mathlib/Analysis/WeightedCircularTube/Basic.lean:55 · uses Plane , unitCircle
11 supporting declarations (lemmas, instances)
Packing 4 core · 3 supporting This module constructs finite maximal separated subsets of the Euclidean unit circle and proves that their number of sites is proportional to the reciprocal of the separation scale. ★ unitCircle_maximalSeparated_card_bounds

Separated nets and packing bounds on the unit circle

This module constructs finite maximal separated subsets of the Euclidean unit circle and proves that their number of sites is proportional to the reciprocal of the separation scale. Its non-strict separation convention makes maximality imply coverage by open balls of the same radius.

def IsSeparatedAtLeast reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a real separation scale and a set of planar points, the property of being separated at least at that scale means that every two distinct points in the set are at distance at least the separation scale.

Definition (Lean source)
r :
s :
IsSeparatedAtLeast r s :
Prop
s.Pairwise fun x y => r ≤ dist x y
Causalean.Mathlib.Analysis.WeightedCircularTube.IsSeparatedAtLeast · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:21 · uses Plane
def IsMaximalSeparated reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a finite set of planar sites and a real separation scale, the property of being a maximal separated set on the unit circle means that the sites lie on the unit circle, are separated by at least that scale, and are maximal among all sets with both properties.

Definition (Lean source)
sites :
r :
IsMaximalSeparated sites r :
Prop
Maximal (fun s : Set Plane => s ⊆ unitCircleIsSeparatedAtLeast r s) (sites : Set Plane)
Causalean.Mathlib.Analysis.WeightedCircularTube.IsMaximalSeparated · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:25 · uses Plane
def CoversUnitCircle reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a finite set of planar sites and a real radius, the property of covering the unit circle means that every point of the unit circle belongs to an open ball of radius rr centred at one of the sites.

Definition (Lean source)
sites :
r :
CoversUnitCircle sites r :
Prop
unitCircle ⊆ ⋃ x ∈ (sites : Set Plane), ball x r
Causalean.Mathlib.Analysis.WeightedCircularTube.CoversUnitCircle · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:29 · uses Plane
theorem unitCircle_maximalSeparated_card_bounds reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

There are positive universal constants with an ordered small-scale range such that every finite site set maximal at separation three times a positive scale in that range has open three-scale balls covering the unit circle and a number of sites comparable to the reciprocal scale.

Formal statement
∃ cpack Cpack hstar : ℝ,
0 < cpack
cpack ≤ Cpack
0 < hstar
conclusion 1
h :
sites :
0 < h
h ≤ hstar
IsMaximalSeparated sites (3 * h)
CoversUnitCircle sites (3 * h)
cpack / h ≤ (sites.card : ℝ)
(sites.card : ℝ) ≤ Cpack / h
Proof (Lean source)
theorem unitCircle_maximalSeparated_card_bounds : ∃ cpack Cpack hstar : ℝ, 0 < cpack ∧ cpack ≤ Cpack ∧ 0 < hstar ∧ ∀ (h : ℝ) (sites : Finset Plane), 0 < h → h ≤ hstar → IsMaximalSeparated sites (3 * h) → CoversUnitCircle sites (3 * h) ∧ cpack / h ≤ (sites.card : ℝ) ∧ (sites.card : ℝ) ≤ Cpack / h := by refine ⟨1 / 4, 3, 1 / 6, by norm_num, by norm_num, by norm_num, ?_⟩ intro h sites hh hhsmall hmax have hcover : CoversUnitCircle sites (3 * h) := unitCircle_maximalSeparated_covers (by positivity) hmax exact ⟨hcover, quarter_div_le_card_of_cover hh hhsmall hcover, card_le_three_div_of_separated hh hhsmall hmax.prop.1 hmax.prop.2⟩
Causalean.Mathlib.Analysis.WeightedCircularTube.unitCircle_maximalSeparated_card_bounds · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:278 · uses CoversUnitCircle , IsMaximalSeparated , Plane
3 supporting declarations (lemmas, instances)
  • unitCircle_maximalSeparated_covers theorem — When the separation radius is positive and a finite site set is inclusion-maximal at that non-strict separation radius, its open balls of that radius cover the unit circle.
    sites :
    r :
    hr :
    0 < r
    hmax :
    Proof (Lean source)
    theorem unitCircle_maximalSeparated_covers {sites : Finset Plane} {r : ℝ} (hr : 0 < r) (hmax : IsMaximalSeparated sites r) : CoversUnitCircle sites r := by intro x hx by_contra hxcover simp only [mem_iUnion, mem_ball, not_exists] at hxcover have hxsites : x ∉ (sites : Set Plane) := by intro hxs have := hxcover x hxs simp [hr] at this have hsep : IsSeparatedAtLeast r (insert x (sites : Set Plane)) := by rw [IsSeparatedAtLeast, pairwise_insert] refine ⟨hmax.prop.2, ?_⟩ intro y hy hxy exact ⟨not_lt.mp (hxcover y hy), by simpa [dist_comm] using not_lt.mp (hxcover y hy)⟩ have hle : (sites : Set Plane) ⊆ insert x (sites : Set Plane) := subset_insert _ _ have hproper := hmax.eq_of_le ⟨Set.insert_subset hx hmax.prop.1, hsep⟩ hle exact hxsites (hproper ▸ mem_insert x (sites : Set Plane))
    Causalean.Mathlib.Analysis.WeightedCircularTube.unitCircle_maximalSeparated_covers · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:94
  • unitCircle_exists_finite_maximalSeparated theorem — At every positive separation radius, there exists a finite inclusion-maximal separated subset of the unit circle.
    r :
    hr :
    0 < r
    ∃ sites : Finset Plane, IsMaximalSeparated sites r
    Proof (Lean source)
    theorem unitCircle_exists_finite_maximalSeparated {r : ℝ} (hr : 0 < r) : ∃ sites : Finset Plane, IsMaximalSeparated sites r := by let P : Set (Set Plane) := {s | s ⊆ unitCircleIsSeparatedAtLeast r s} obtain ⟨m, hm⟩ := zorn_subset P (by intro c hc hchain refine ⟨⋃₀ c, ?_, ?_⟩ · constructor · rintro x ⟨s, hs, hxs⟩ exact (hc hs).1 hxs · intro x hx y hy hxy obtain ⟨sx, hsx, hxsx⟩ := hx obtain ⟨sy, hsy, hxsy⟩ := hy rcases hchain.total hsx hsy with hsub | hsub · exact (hc hsy).2 (hsub hxsx) hxsy hxy · exact (hc hsx).2 hxsx (hsub hxsy) hxy · intro s hs exact subset_sUnion_of_mem hs) have hmfin : m.Finite := by let ε : ℝ≥0 := ⟨r / 3, by positivity⟩ obtain ⟨N, -, hNfin, hNcover⟩ := Metric.exists_finite_isCover_of_isCompact (s := unitCircle) (ε := ε) (by apply ne_of_gt change 0 < r / 3 linarith) isCompact_unitCircle let f : m → N := fun x => ⟨(hNcover (hm.prop.1 x.2)).choose, (hNcover (hm.prop.1 x.2)).choose_spec.1⟩ have hf : Injective f := by intro x y hxy apply Subtype.ext by_contra hne have hsep : r ≤ dist (x : Plane) y := hm.prop.2 x.2 y.2 hne have hxclose := (hNcover (hm.prop.1 x.2)).choose_spec.2 have hyclose := (hNcover (hm.prop.1 y.2)).choose_spec.2 change edist (x : Plane) (f x : Plane) ≤ (ε : ℝ≥0∞) at hxclose change edist (y : Plane) (f y : Plane) ≤ (ε : ℝ≥0∞) at hyclose have hdist : dist (x : Plane) y ≤ 2 * (r / 3) := by calc dist (x : Plane) y ≤ dist (x : Plane) (f x : Plane) + dist (f x : Plane) y := dist_triangle _ _ _ _ = dist (x : Plane) (f x : Plane) + dist (f y : Plane) y := by rw [hxy] _ ≤ r / 3 + r / 3 := by gcongr · rw [edist_dist, ENNReal.coe_nnreal_eq, ENNReal.ofReal_le_ofReal_iff (by positivity)] at hxclose change dist (x : Plane) (f x : Plane) ≤ r / 3 at hxclose exact hxclose · rw [edist_dist, ENNReal.coe_nnreal_eq, ENNReal.ofReal_le_ofReal_iff (by positivity)] at hyclose change dist (y : Plane) (f y : Plane) ≤ r / 3 at hyclose rw [dist_comm] exact hyclose _ = 2 * (r / 3) := by ring linarith letI : Finite N := Set.finite_coe_iff.mpr hNfin letI : Finite m := Finite.of_injective f hf exact Set.toFinite m refine ⟨hmfin.toFinset, ?_⟩ unfold IsMaximalSeparated rw [hmfin.coe_toFinset] change Maximal (fun s => s ∈ P) m exact hm
    Causalean.Mathlib.Analysis.WeightedCircularTube.unitCircle_exists_finite_maximalSeparated · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:117
  • unitCircle_exists_maximalSeparated_with_card_bounds theorem — There are positive universal constants with an ordered small-scale range such that at every positive scale in that range one can choose a finite site set maximal at separation three times that scale, whose open three-scale balls cover the unit circle and whose size is comparable to the reciprocal scale.
    ∃ cpack Cpack hstar : ℝ,
    0 < cpack
    cpack ≤ Cpack
    0 < hstar
    conclusion 1
    h :
    0 < h
    h ≤ hstar
    ∃ sites : Finset Plane,
    IsMaximalSeparated sites (3 * h)
    CoversUnitCircle sites (3 * h)
    cpack / h ≤ (sites.card : ℝ)
    (sites.card : ℝ) ≤ Cpack / h
    Proof (Lean source)
    theorem unitCircle_exists_maximalSeparated_with_card_bounds : ∃ cpack Cpack hstar : ℝ, 0 < cpack ∧ cpack ≤ Cpack ∧ 0 < hstar ∧ ∀ (h : ℝ), 0 < h → h ≤ hstar → ∃ sites : Finset Plane, IsMaximalSeparated sites (3 * h) ∧ CoversUnitCircle sites (3 * h) ∧ cpack / h ≤ (sites.card : ℝ) ∧ (sites.card : ℝ) ≤ Cpack / h := by obtain ⟨cpack, Cpack, hstar, hcpos, hcC, hhstar, hbounds⟩ := unitCircle_maximalSeparated_card_bounds refine ⟨cpack, Cpack, hstar, hcpos, hcC, hhstar, ?_⟩ intro h hh hhstar' obtain ⟨sites, hmax⟩ := unitCircle_exists_finite_maximalSeparated (r := 3 * h) (by positivity) obtain ⟨hcover, hlower, hupper⟩ := hbounds h sites hh hhstar' hmax exact ⟨sites, hmax, hcover, hlower, hupper⟩
    Causalean.Mathlib.Analysis.WeightedCircularTube.unitCircle_exists_maximalSeparated_with_card_bounds · Causalean/Mathlib/Analysis/WeightedCircularTube/Packing.lean:298
Side­Mass 4 core · 7 supporting This module proves uniform local-mass bounds for a radial power weight on both sides of the Euclidean unit circle. ★ unitCircle_powerWeighted_sideBall_bounds

Power-weighted mass on either side of the unit circle

This module proves uniform local-mass bounds for a radial power weight on both sides of the Euclidean unit circle. It also gives a finite, strictly positive normalizing integral on every nontrivial annular tube of width below one.

def sideBallMass reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a real exponent, a choice of the inside or outside of the unit circle, a planar centre, and a real radius, the weighted side-ball mass is the two-dimensional Lebesgue integral of the radial power weight with that exponent over the corresponding one-sided open ball. The integral is the real-valued Bochner integral, which is zero when the weight is not integrable there; the results below use it for exponents above two, where it is integrable.

Definition (Lean source)
κ :
side :
x :
h :
sideBallMass κ side x h :
∫ z in sideBall side x h, powerWeight κ z ∂volume
Causalean.Mathlib.Analysis.WeightedCircularTube.sideBallMass · Causalean/Mathlib/Analysis/WeightedCircularTube/SideMass.lean:20 · uses CircleSide , Plane
theorem unitCircle_powerWeighted_sideBall_bounds reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

When the allowed exponent ceiling exceeds two and the maximum scale is positive and below one, there are positive constants, uniform over every unit-circle center, either radial side, all exponents strictly greater than two and at most that ceiling, and all positive scales up to that maximum, which bound one-sided weighted mass above and below by constant multiples of the scale to the exponent.

Formal statement
κMax h0 :
hκMax :
2 < κMax
hh0pos :
0 < h0
hh0lt :
h0 < 1
∃ c C : ℝ,
0 < c
c ≤ C
conclusion 1
κ :
x :
side :
h :
2 < κ
κ ≤ κMax
0 < h
h ≤ h0
c * h ^ κ ≤ sideBallMass κ side x h
sideBallMass κ side x h ≤ C * h ^ κ
Proof (Lean source)
theorem unitCircle_powerWeighted_sideBall_bounds {κMax h0 : ℝ} (hκMax : 2 < κMax) (hh0pos : 0 < h0) (hh0lt : h0 < 1) : ∃ c C : ℝ, 0 < c ∧ c ≤ C ∧ ∀ (κ : ℝ) (x : Plane) (side : CircleSide) (h : ℝ), 2 < κ → κ ≤ κMax → x ∈ unitCircle → 0 < h → h ≤ h0 → c * h ^ κ ≤ sideBallMass κ side x h ∧ sideBallMass κ side x h ≤ C * h ^ κ := by obtain ⟨c, C, hc, hcC, hbounds⟩ := reference_powerWeighted_sideBall_bounds hκMax hh0pos hh0lt refine ⟨c, C, hc, hcC, ?_⟩ intro κ x side h hκ hκle hx hh hh0 rw [sideBallMass_eq_reference side hx] exact hbounds κ side h hκ hκle hh hh0
Causalean.Mathlib.Analysis.WeightedCircularTube.unitCircle_powerWeighted_sideBall_bounds · Causalean/Mathlib/Analysis/WeightedCircularTube/SideMass.lean:277 · uses CircleSide , Plane , sideBallMass , unitCircle
def annularTube reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a real tube width, the annular tube is the set of planar points whose absolute radial distance from the unit circle is strictly less than δ\delta.

Definition (Lean source)
δ :
annularTube δ :
{z | |radialOffset z| < δ}
Causalean.Mathlib.Analysis.WeightedCircularTube.annularTube · Causalean/Mathlib/Analysis/WeightedCircularTube/SideMass.lean:296 · uses Plane
def annularNormalizer reviewed
Causalean.Mathlib.Analysis.WeightedCircularTube

For a real exponent and a real tube width, the weighted annular normalizer is the two-dimensional Lebesgue integral of the radial power weight with that exponent over the annular tube of that width. The integral is the real-valued Bochner integral, which is zero when the weight is not integrable there; the results below use it for exponents above two, where it is integrable.

Definition (Lean source)
κ δ :
annularNormalizer κ δ :
∫ z in annularTube δ, powerWeight κ z ∂volume
Causalean.Mathlib.Analysis.WeightedCircularTube.annularNormalizer · Causalean/Mathlib/Analysis/WeightedCircularTube/SideMass.lean:320
7 supporting declarations (lemmas, instances)