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 / V21. Dynamics, ergodic theory and information theory

Mathlib.Analysis.AperiodicOrder.Delone.Basic

45 declarations. Mathlib docs · Source

Delone sets

A Delone set D ⊆ X in a metric space is a set which is both:

  • Uniformly Discrete: there exists packingRadius > 0 such that distinct points of D are separated by a distance strictly greater than packingRadius;
  • Relatively Dense: there exists coveringRadius > 0 such that every point of X lies within distance coveringRadius of some point of D.

The DeloneSet structure stores the set together with explicit radii witnessing these properties. The definitions use metric entourages so that the theory fits naturally into the uniformity framework.

Delone sets appear in discrete geometry, crystallography, aperiodic order, and tiling theory.

Main definitions

  • Delone.DeloneSet X: The main structure representing a Delone set in a metric space X.
  • DeloneSet.mapBilipschitz: Transports a Delone set along a bilipschitz equivalence, scaling the radii.
  • DeloneSet.mapIsometry Preserves the packing and covering radii exactly.

Basic properties

  • packingRadius_lt_dist_of_mem_ne : Distinct points in a Delone set are further apart than the packing radius.
  • exists_dist_le_coveringRadius : Every point of the space lies within the covering radius of the set.
  • subset_ball_singleton : Any ball of sufficiently small radius contains at most one point of the set.

Implementation notes

  • Bundled Structure: DeloneSet is bundled as a structure rather than a predicate (e.g., IsDelone). This facilitates dynamical systems constructions like hulls and patches by ensuring operations automatically preserve the required properties, eliminating the need to manually pass around proofs that the set remains Delone.
  • Explicit Data: Since radii are stored as explicit data, the map from DeloneSet X to Set X is not injective. We provide a Membership instance and mem_carrier to allow the convenience of ∈ notation while ensuring radii remain bundled, computationally accessible, and tracked by extensionality.

theorem Delone.DeloneSet.copy.congr_simp E1 #

∀ {X : Type u_1} [inst : MetricSpace X] (D D_1 : Delone.DeloneSet X) (e_D : D = D_1) (carrier carrier_1 : Set X)
  (e_carrier : carrier = carrier_1) (packingRadius packingRadius_1 : NNReal)
  (e_packingRadius : packingRadius = packingRadius_1) (coveringRadius coveringRadius_1 : NNReal)
  (e_coveringRadius : coveringRadius = coveringRadius_1) (h_carrier : carrier = D.carrier)
  (h_packing : packingRadius = D.packingRadius) (h_covering : coveringRadius = D.coveringRadius),
  D.copy carrier packingRadius coveringRadius h_carrier h_packing h_covering =
    D_1.copy carrier_1 packingRadius_1 coveringRadius_1 ⋯ ⋯ ⋯

theorem IsometryEquiv.mk.congr_simp E1 #

∀ {α : Type u} {β : Type v} [inst : PseudoEMetricSpace α] [inst_1 : PseudoEMetricSpace β] (toEquiv toEquiv_1 : α ≃ β)
  (e_toEquiv : toEquiv = toEquiv_1) (isometry_toFun : Isometry toEquiv.toFun),
  { toEquiv := toEquiv, isometry_toFun := isometry_toFun } = { toEquiv := toEquiv_1, isometry_toFun := ⋯ }

theorem Delone.DeloneSet.mk.inj E1 #

∀ {X : Type u_3} {inst : MetricSpace X} {carrier : Set X} {packingRadius : NNReal}
  {packingRadius_pos : 0 < packingRadius} {isSeparated_packingRadius : Metric.IsSeparated (↑packingRadius) carrier}
  {coveringRadius : NNReal} {coveringRadius_pos : 0 < coveringRadius}
  {isCover_coveringRadius : Metric.IsCover coveringRadius Set.univ carrier} {carrier_1 : Set X}
  {packingRadius_1 : NNReal} {packingRadius_pos_1 : 0 < packingRadius_1}
  {isSeparated_packingRadius_1 : Metric.IsSeparated (↑packingRadius_1) carrier_1} {coveringRadius_1 : NNReal}
  {coveringRadius_pos_1 : 0 < coveringRadius_1}
  {isCover_coveringRadius_1 : Metric.IsCover coveringRadius_1 Set.univ carrier_1},
  { carrier := carrier, packingRadius := packingRadius, packingRadius_pos := packingRadius_pos,
        isSeparated_packingRadius := isSeparated_packingRadius, coveringRadius := coveringRadius,
        coveringRadius_pos := coveringRadius_pos, isCover_coveringRadius := isCover_coveringRadius } =
      { carrier := carrier_1, packingRadius := packingRadius_1, packingRadius_pos := packingRadius_pos_1,
        isSeparated_packingRadius := isSeparated_packingRadius_1, coveringRadius := coveringRadius_1,
        coveringRadius_pos := coveringRadius_pos_1, isCover_coveringRadius := isCover_coveringRadius_1 } →
    carrier = carrier_1 ∧ packingRadius = packingRadius_1 ∧ coveringRadius = coveringRadius_1

theorem Delone.DeloneSet.mk.congr_simp E1 #

∀ {X : Type u_3} [inst : MetricSpace X] (carrier carrier_1 : Set X) (e_carrier : carrier = carrier_1)
  (packingRadius packingRadius_1 : NNReal) (e_packingRadius : packingRadius = packingRadius_1)
  (packingRadius_pos : 0 < packingRadius) (isSeparated_packingRadius : Metric.IsSeparated (↑packingRadius) carrier)
  (coveringRadius coveringRadius_1 : NNReal) (e_coveringRadius : coveringRadius = coveringRadius_1)
  (coveringRadius_pos : 0 < coveringRadius) (isCover_coveringRadius : Metric.IsCover coveringRadius Set.univ carrier),
  { carrier := carrier, packingRadius := packingRadius, packingRadius_pos := packingRadius_pos,
      isSeparated_packingRadius := isSeparated_packingRadius, coveringRadius := coveringRadius,
      coveringRadius_pos := coveringRadius_pos, isCover_coveringRadius := isCover_coveringRadius } =
    { carrier := carrier_1, packingRadius := packingRadius_1, packingRadius_pos := ⋯, isSeparated_packingRadius := ⋯,
      coveringRadius := coveringRadius_1, coveringRadius_pos := ⋯, isCover_coveringRadius := ⋯ }

def Delone.DeloneSet.ctorIdx E1 #

{X : Type u_3} → {inst : MetricSpace X} → Delone.DeloneSet X → ℕ

theorem Delone.DeloneSet.mk.injEq E0 #

∀ {X : Type u_3} [inst : MetricSpace X] (carrier : Set X) (packingRadius : NNReal)
  (packingRadius_pos : 0 < packingRadius) (isSeparated_packingRadius : Metric.IsSeparated (↑packingRadius) carrier)
  (coveringRadius : NNReal) (coveringRadius_pos : 0 < coveringRadius)
  (isCover_coveringRadius : Metric.IsCover coveringRadius Set.univ carrier) (carrier_1 : Set X)
  (packingRadius_1 : NNReal) (packingRadius_pos_1 : 0 < packingRadius_1)
  (isSeparated_packingRadius_1 : Metric.IsSeparated (↑packingRadius_1) carrier_1) (coveringRadius_1 : NNReal)
  (coveringRadius_pos_1 : 0 < coveringRadius_1)
  (isCover_coveringRadius_1 : Metric.IsCover coveringRadius_1 Set.univ carrier_1),
  ({ carrier := carrier, packingRadius := packingRadius, packingRadius_pos := packingRadius_pos,
        isSeparated_packingRadius := isSeparated_packingRadius, coveringRadius := coveringRadius,
        coveringRadius_pos := coveringRadius_pos, isCover_coveringRadius := isCover_coveringRadius } =
      { carrier := carrier_1, packingRadius := packingRadius_1, packingRadius_pos := packingRadius_pos_1,
        isSeparated_packingRadius := isSeparated_packingRadius_1, coveringRadius := coveringRadius_1,
        coveringRadius_pos := coveringRadius_pos_1, isCover_coveringRadius := isCover_coveringRadius_1 }) =
    (carrier = carrier_1 ∧ packingRadius = packingRadius_1 ∧ coveringRadius = coveringRadius_1)

theorem Delone.DeloneSet.mapBilipschitz.congr_simp E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f f_1 : X ≃ Y) (e_f : f = f_1)
  (K₁ K₁_1 : NNReal) (e_K₁ : K₁ = K₁_1) (K₂ K₂_1 : NNReal) (e_K₂ : K₂ = K₂_1) (hK₁ : 0 < K₁) (hK₂ : 0 < K₂)
  (hf₁ : AntilipschitzWith K₁ ⇑f) (hf₂ : LipschitzWith K₂ ⇑f) (D D_1 : Delone.DeloneSet X),
  D = D_1 →
    Delone.DeloneSet.mapBilipschitz f K₁ K₂ hK₁ hK₂ hf₁ hf₂ D =
      Delone.DeloneSet.mapBilipschitz f_1 K₁_1 K₂_1 ⋯ ⋯ ⋯ ⋯ D_1

structure Delone.DeloneSet E1 #

(X : Type u_3) → [MetricSpace X] → Type u_3

A Delone set consists of a set together with explicit radii witnessing uniform discreteness and relative denseness.

theorem Delone.DeloneSet.ext E1 #

∀ {X : Type u_3} {inst : MetricSpace X} {x y : Delone.DeloneSet X},
  x.carrier = y.carrier → x.packingRadius = y.packingRadius → x.coveringRadius = y.coveringRadius → x = y

theorem Delone.DeloneSet.ext_iff E0 #

∀ {X : Type u_3} {inst : MetricSpace X} {x y : Delone.DeloneSet X},
  x = y ↔ x.carrier = y.carrier ∧ x.packingRadius = y.packingRadius ∧ x.coveringRadius = y.coveringRadius

ctor Delone.DeloneSet.mk E0 #

{X : Type u_3} →
  [inst : MetricSpace X] →
    (carrier : Set X) →
      (packingRadius : NNReal) →
        0 < packingRadius →
          Metric.IsSeparated (↑packingRadius) carrier →
            (coveringRadius : NNReal) →
              0 < coveringRadius → Metric.IsCover coveringRadius Set.univ carrier → Delone.DeloneSet X

abbrev Delone.DeloneSet.carrier E1 #

{X : Type u_3} → [inst : MetricSpace X] → Delone.DeloneSet X → Set X

The underlying set.

abbrev Delone.DeloneSet.packingRadius E1 #

{X : Type u_3} → [inst : MetricSpace X] → Delone.DeloneSet X → NNReal

Radius such that distinct points of carrier are separated by more than r.

theorem Delone.DeloneSet.packingRadius_pos E1 #

∀ {X : Type u_3} [inst : MetricSpace X] (self : Delone.DeloneSet X), 0 < self.packingRadius

theorem Delone.DeloneSet.isSeparated_packingRadius E1 #

∀ {X : Type u_3} [inst : MetricSpace X] (self : Delone.DeloneSet X),
  Metric.IsSeparated (↑self.packingRadius) self.carrier

abbrev Delone.DeloneSet.coveringRadius E1 #

{X : Type u_3} → [inst : MetricSpace X] → Delone.DeloneSet X → NNReal

Radius such that every point of the space is within R of carrier.

theorem Delone.DeloneSet.coveringRadius_pos E1 #

∀ {X : Type u_3} [inst : MetricSpace X] (self : Delone.DeloneSet X), 0 < self.coveringRadius

theorem Delone.DeloneSet.isCover_coveringRadius E1 #

∀ {X : Type u_3} [inst : MetricSpace X] (self : Delone.DeloneSet X),
  Metric.IsCover self.coveringRadius Set.univ self.carrier

def Delone.DeloneSet.toSet E1 #

{X : Type u_1} → [inst : MetricSpace X] → Delone.DeloneSet X → Set X

The underlying set of points of a Delone set.

instance Delone.DeloneSet.instCoeSet E0 #

{X : Type u_1} → [inst : MetricSpace X] → Coe (Delone.DeloneSet X) (Set X)

instance Delone.DeloneSet.instMembership E0 #

{X : Type u_1} → [inst : MetricSpace X] → Membership X (Delone.DeloneSet X)

theorem Delone.DeloneSet.mem_coe E0 #

∀ {X : Type u_1} [inst : MetricSpace X] {D : Delone.DeloneSet X} {x : X}, x ∈ ↑D ↔ x ∈ D

theorem Delone.DeloneSet.mem_carrier E0 #

∀ {X : Type u_1} [inst : MetricSpace X] {D : Delone.DeloneSet X} {x : X}, x ∈ D.carrier ↔ x ∈ D

theorem Delone.DeloneSet.nonempty E1 #

∀ {X : Type u_1} [inst : MetricSpace X] [Nonempty X] (D : Delone.DeloneSet X), (↑D).Nonempty

def Delone.DeloneSet.copy E1 #

{X : Type u_1} →
  [inst : MetricSpace X] →
    (D : Delone.DeloneSet X) →
      (carrier : Set X) →
        (packingRadius coveringRadius : NNReal) →
          carrier = D.carrier → packingRadius = D.packingRadius → coveringRadius = D.coveringRadius → Delone.DeloneSet X

Copy of a Delone set with new fields equal to the old ones. Useful to fix definitional equalities.

theorem Delone.DeloneSet.copy_eq E0 #

∀ {X : Type u_1} [inst : MetricSpace X] (D : Delone.DeloneSet X) (carrier : Set X)
  (packingRadius coveringRadius : NNReal) (h_carrier : carrier = D.carrier)
  (h_packing : packingRadius = D.packingRadius) (h_covering : coveringRadius = D.coveringRadius),
  D.copy carrier packingRadius coveringRadius h_carrier h_packing h_covering = D

theorem Delone.DeloneSet.packingRadius_lt_dist_of_mem_ne E1 #

∀ {X : Type u_1} [inst : MetricSpace X] (D : Delone.DeloneSet X) {x y : X},
  x ∈ D → y ∈ D → x ≠ y → ↑D.packingRadius < dist x y

theorem Delone.DeloneSet.exists_dist_le_coveringRadius E1 #

∀ {X : Type u_1} [inst : MetricSpace X] (D : Delone.DeloneSet X) (x : X), ∃ y ∈ D, dist x y ≤ ↑D.coveringRadius

theorem Delone.DeloneSet.subset_ball_singleton E1 #

∀ {X : Type u_1} [inst : MetricSpace X] (D : Delone.DeloneSet X),
  ∃ r > 0, ∀ {x y z : X}, x ∈ D → y ∈ D → x ∈ Metric.ball z r → y ∈ Metric.ball z r → x = y

There exists a radius r > 0 such that any ball of radius r centered at a point of D contains at most one point of D.

def Delone.DeloneSet.mapBilipschitz E3 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : MetricSpace X] →
      [inst_1 : MetricSpace Y] →
        (f : X ≃ Y) →
          (K₁ K₂ : NNReal) →
            0 < K₁ → 0 < K₂ → AntilipschitzWith K₁ ⇑f → LipschitzWith K₂ ⇑f → Delone.DeloneSet X → Delone.DeloneSet Y

Bilipschitz maps send Delone sets to Delone sets.

theorem Delone.DeloneSet.mapBilipschitz_coveringRadius E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ Y) (K₁ K₂ : NNReal)
  (hK₁ : 0 < K₁) (hK₂ : 0 < K₂) (hf₁ : AntilipschitzWith K₁ ⇑f) (hf₂ : LipschitzWith K₂ ⇑f) (D : Delone.DeloneSet X),
  (Delone.DeloneSet.mapBilipschitz f K₁ K₂ hK₁ hK₂ hf₁ hf₂ D).coveringRadius = K₂ * D.coveringRadius

theorem Delone.DeloneSet.mapBilipschitz_packingRadius E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ Y) (K₁ K₂ : NNReal)
  (hK₁ : 0 < K₁) (hK₂ : 0 < K₂) (hf₁ : AntilipschitzWith K₁ ⇑f) (hf₂ : LipschitzWith K₂ ⇑f) (D : Delone.DeloneSet X),
  (Delone.DeloneSet.mapBilipschitz f K₁ K₂ hK₁ hK₂ hf₁ hf₂ D).packingRadius = D.packingRadius / K₁

theorem Delone.DeloneSet.mapBilipschitz_carrier E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ Y) (K₁ K₂ : NNReal)
  (hK₁ : 0 < K₁) (hK₂ : 0 < K₂) (hf₁ : AntilipschitzWith K₁ ⇑f) (hf₂ : LipschitzWith K₂ ⇑f) (D : Delone.DeloneSet X),
  (Delone.DeloneSet.mapBilipschitz f K₁ K₂ hK₁ hK₂ hf₁ hf₂ D).carrier = ⇑f '' D.carrier

theorem Delone.DeloneSet.mapBilipschitz_refl E0 #

∀ {X : Type u_1} [inst : MetricSpace X] (D : Delone.DeloneSet X) (hK1 hK2 : 0 < 1)
  (hA : AntilipschitzWith 1 ⇑(Equiv.refl X)) (hL : LipschitzWith 1 ⇑(Equiv.refl X)),
  Delone.DeloneSet.mapBilipschitz (Equiv.refl X) 1 1 hK1 hK2 hA hL D = D

theorem Delone.DeloneSet.mapBilipschitz_trans E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] {Z : Type u_3} [inst_2 : MetricSpace Z]
  (D : Delone.DeloneSet X) (f : X ≃ Y) (g : Y ≃ Z) (K₁f K₂f K₁g K₂g : NNReal) (hf₁_pos : 0 < K₁f) (hf₂_pos : 0 < K₂f)
  (hg₁_pos : 0 < K₁g) (hg₂_pos : 0 < K₂g) (hf_anti : AntilipschitzWith K₁f ⇑f) (hf_lip : LipschitzWith K₂f ⇑f)
  (hg_anti : AntilipschitzWith K₁g ⇑g) (hg_lip : LipschitzWith K₂g ⇑g),
  Delone.DeloneSet.mapBilipschitz g K₁g K₂g hg₁_pos hg₂_pos hg_anti hg_lip
      (Delone.DeloneSet.mapBilipschitz f K₁f K₂f hf₁_pos hf₂_pos hf_anti hf_lip D) =
    Delone.DeloneSet.mapBilipschitz (f.trans g) (K₁f * K₁g) (K₂g * K₂f) ⋯ ⋯ ⋯ ⋯ D

def Delone.DeloneSet.mapIsometry E3 #

{X : Type u_1} →
  {Y : Type u_2} → [inst : MetricSpace X] → [inst_1 : MetricSpace Y] → X ≃ᵢ Y → Delone.DeloneSet X ≃ Delone.DeloneSet Y

The image of a Delone set under an isometry. This is a specialization of DeloneSet.mapBilipschitz where the packing and covering radii are preserved because the Lipschitz constants are both 1.

theorem Delone.DeloneSet.mapIsometry_symm_apply_carrier E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y) (D : Delone.DeloneSet Y),
  ((Delone.DeloneSet.mapIsometry f).symm D).carrier = ⇑f.symm '' D.carrier

theorem Delone.DeloneSet.mapIsometry_symm_apply_coveringRadius E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y) (D : Delone.DeloneSet Y),
  ((Delone.DeloneSet.mapIsometry f).symm D).coveringRadius = D.coveringRadius

theorem Delone.DeloneSet.mapIsometry_symm_apply_packingRadius E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y) (D : Delone.DeloneSet Y),
  ((Delone.DeloneSet.mapIsometry f).symm D).packingRadius = D.packingRadius

theorem Delone.DeloneSet.mapIsometry_apply_packingRadius E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y) (D : Delone.DeloneSet X),
  ((Delone.DeloneSet.mapIsometry f) D).packingRadius = D.packingRadius

theorem Delone.DeloneSet.mapIsometry_apply_coveringRadius E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y) (D : Delone.DeloneSet X),
  ((Delone.DeloneSet.mapIsometry f) D).coveringRadius = D.coveringRadius

theorem Delone.DeloneSet.mapIsometry_apply_carrier E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y) (D : Delone.DeloneSet X),
  ((Delone.DeloneSet.mapIsometry f) D).carrier = ⇑f '' D.carrier

theorem Delone.DeloneSet.mapIsometry_refl E0 #

∀ {X : Type u_1} [inst : MetricSpace X] (D : Delone.DeloneSet X),
  (Delone.DeloneSet.mapIsometry (IsometryEquiv.refl X)) D = D

theorem Delone.DeloneSet.mapIsometry_symm E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] (f : X ≃ᵢ Y),
  (Delone.DeloneSet.mapIsometry f).symm = Delone.DeloneSet.mapIsometry f.symm

theorem Delone.DeloneSet.mapIsometry_trans E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : MetricSpace X] [inst_1 : MetricSpace Y] {Z : Type u_3} [inst_2 : MetricSpace Z]
  (D : Delone.DeloneSet X) (f : X ≃ᵢ Y) (g : Y ≃ᵢ Z),
  (Delone.DeloneSet.mapIsometry (f.trans g)) D = (Delone.DeloneSet.mapIsometry g) ((Delone.DeloneSet.mapIsometry f) D)