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 / V13. General topology

Mathlib.Topology.MetricSpace.ThickenedIndicator

37 declarations. Mathlib docs · Source

Thickened indicators

This file is about thickened indicators of sets in (pseudo e)metric spaces. For a decreasing sequence of thickening radii tending to 0, the thickened indicators of a closed set form a decreasing pointwise converging approximation of the indicator function of the set, where the members of the approximating sequence are nonnegative bounded continuous functions.

Main definitions

  • thickenedIndicatorAux δ E: The δ-thickened indicator of a set E as an unbundled ℝ≥0∞-valued function.
  • thickenedIndicator δ E: The δ-thickened indicator of a set E as a bundled bounded continuous ℝ≥0-valued function.

Main results

  • For a sequence of thickening radii tending to 0, the δ-thickened indicators of a set E tend pointwise to the indicator of closure E.
    • thickenedIndicatorAux_tendsto_indicator_closure: The version is for the unbundled ℝ≥0∞-valued functions.
    • thickenedIndicator_tendsto_indicator_closure: The version is for the bundled ℝ≥0-valued bounded continuous functions.

theorem thickenedIndicator.congr_simp E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ δ_1 : ℝ} (e_δ : δ = δ_1) (δ_pos : 0 < δ) (E E_1 : Set α),
  E = E_1 → thickenedIndicator δ_pos E = thickenedIndicator ⋯ E_1

def thickenedIndicatorAux E0 #

{α : Type u_1} → [PseudoEMetricSpace α] → ℝ → Set α → α → ENNReal

The δ-thickened indicator of a set E is the function that equals 1 on E and 0 outside a δ-thickening of E and interpolates (continuously) between these values using infEDist _ E.

thickenedIndicatorAux is the unbundled ℝ≥0∞-valued function. See thickenedIndicator for the (bundled) bounded continuous function with ℝ≥0-values.

theorem continuous_thickenedIndicatorAux E0 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ}, 0 < δ → ∀ (E : Set α), Continuous (thickenedIndicatorAux δ E)

theorem thickenedIndicatorAux_le_one E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) (E : Set α) (x : α), thickenedIndicatorAux δ E x ≤ 1

theorem thickenedIndicatorAux_lt_top E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} {E : Set α} {x : α}, thickenedIndicatorAux δ E x < ⊤

theorem thickenedIndicatorAux_closure_eq E0 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) (E : Set α),
  thickenedIndicatorAux δ (closure E) = thickenedIndicatorAux δ E

theorem thickenedIndicatorAux_one E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) (E : Set α) {x : α}, x ∈ E → thickenedIndicatorAux δ E x = 1

theorem thickenedIndicatorAux_one_of_mem_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) (E : Set α) {x : α},
  x ∈ closure E → thickenedIndicatorAux δ E x = 1

theorem thickenedIndicatorAux_zero E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ},
  0 < δ → ∀ (E : Set α) {x : α}, x ∉ Metric.thickening δ E → thickenedIndicatorAux δ E x = 0

theorem thickenedIndicatorAux_mono E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ₁ δ₂ : ℝ},
  δ₁ ≤ δ₂ → ∀ (E : Set α), thickenedIndicatorAux δ₁ E ≤ thickenedIndicatorAux δ₂ E

theorem indicator_le_thickenedIndicatorAux E0 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) (E : Set α), (E.indicator fun x ↦ 1) ≤ thickenedIndicatorAux δ E

theorem thickenedIndicatorAux_subset E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) {E₁ E₂ : Set α},
  E₁ ⊆ E₂ → thickenedIndicatorAux δ E₁ ≤ thickenedIndicatorAux δ E₂

theorem thickenedIndicatorAux_mono_infEDist E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] (δ : ℝ) {E : Set α} {x y : α},
  Metric.infEDist x E ≤ Metric.infEDist y E → thickenedIndicatorAux δ E y ≤ thickenedIndicatorAux δ E x

theorem thickenedIndicatorAux_tendsto_indicator_closure E3 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δseq : ℕ → ℝ},
  Filter.Tendsto δseq Filter.atTop (nhds 0) →
    ∀ (E : Set α),
      Filter.Tendsto (fun n ↦ thickenedIndicatorAux (δseq n) E) Filter.atTop (nhds ((closure E).indicator fun x ↦ 1))

As the thickening radius δ tends to 0, the δ-thickened indicator of a set E (in α) tends pointwise (i.e., w.r.t. the product topology on α → ℝ≥0∞) to the indicator function of the closure of E.

This statement is for the unbundled ℝ≥0∞-valued functions thickenedIndicatorAux δ E, see thickenedIndicator_tendsto_indicator_closure for the version for bundled ℝ≥0-valued bounded continuous functions.

def thickenedIndicator E1 #

{α : Type u_1} → [inst : PseudoEMetricSpace α] → {δ : ℝ} → 0 < δ → Set α → BoundedContinuousFunction α NNReal

The δ-thickened indicator of a set E is the function that equals 1 on E and 0 outside a δ-thickening of E and interpolates (continuously) between these values using infEDist _ E.

thickenedIndicator is the (bundled) bounded continuous function with ℝ≥0-values. See thickenedIndicatorAux for the unbundled ℝ≥0∞-valued function.

theorem thickenedIndicator_apply E0 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α) (x : α),
  (thickenedIndicator δ_pos E) x = (thickenedIndicatorAux δ E x).toNNReal

theorem thickenedIndicator.coeFn_eq_comp E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α),
  ⇑(thickenedIndicator δ_pos E) = ENNReal.toNNReal ∘ thickenedIndicatorAux δ E

theorem thickenedIndicator_le_one E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α) (x : α),
  (thickenedIndicator δ_pos E) x ≤ 1

theorem thickenedIndicator_one_of_mem_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α) {x : α},
  x ∈ closure E → (thickenedIndicator δ_pos E) x = 1

theorem one_le_thickenedIndicator_apply' E1 #

∀ {X : Type u_2} [inst : PseudoEMetricSpace X] {δ : ℝ} (δ_pos : 0 < δ) {F : Set X} {x : X},
  x ∈ closure F → 1 ≤ (thickenedIndicator δ_pos F) x

theorem one_le_thickenedIndicator_apply E0 #

∀ (X : Type u_2) [inst : PseudoEMetricSpace X] {δ : ℝ} (δ_pos : 0 < δ) {F : Set X} {x : X},
  x ∈ F → 1 ≤ (thickenedIndicator δ_pos F) x

theorem thickenedIndicator_one E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α) {x : α},
  x ∈ E → (thickenedIndicator δ_pos E) x = 1

theorem thickenedIndicator_zero E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α) {x : α},
  x ∉ Metric.thickening δ E → (thickenedIndicator δ_pos E) x = 0

theorem indicator_le_thickenedIndicator E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α),
  (E.indicator fun x ↦ 1) ≤ ⇑(thickenedIndicator δ_pos E)

theorem thickenedIndicator_mono E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ₁ δ₂ : ℝ} (δ₁_pos : 0 < δ₁) (δ₂_pos : 0 < δ₂),
  δ₁ ≤ δ₂ → ∀ (E : Set α), ⇑(thickenedIndicator δ₁_pos E) ≤ ⇑(thickenedIndicator δ₂_pos E)

theorem thickenedIndicator_subset E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) {E₁ E₂ : Set α},
  E₁ ⊆ E₂ → ⇑(thickenedIndicator δ_pos E₁) ≤ ⇑(thickenedIndicator δ_pos E₂)

theorem thickenedIndicator_mono_infEDist E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) {E : Set α} {x y : α},
  Metric.infEDist x E ≤ Metric.infEDist y E → (thickenedIndicator δ_pos E) y ≤ (thickenedIndicator δ_pos E) x

theorem thickenedIndicator_tendsto_indicator_closure E3 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δseq : ℕ → ℝ} (δseq_pos : ∀ (n : ℕ), 0 < δseq n),
  Filter.Tendsto δseq Filter.atTop (nhds 0) →
    ∀ (E : Set α),
      Filter.Tendsto (fun n ↦ ⇑(thickenedIndicator ⋯ E)) Filter.atTop (nhds ((closure E).indicator fun x ↦ 1))

As the thickening radius δ tends to 0, the δ-thickened indicator of a set E (in α) tends pointwise to the indicator function of the closure of E.

Note: This version is for the bundled bounded continuous functions, but the topology is not the topology on α →ᵇ ℝ≥0. Coercions to functions α → ℝ≥0 are done first, so the topology instance is the product topology (the topology of pointwise convergence).

theorem lipschitzWith_thickenedIndicator E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {δ : ℝ} (δ_pos : 0 < δ) (E : Set α),
  LipschitzWith δ.toNNReal⁻¹ ⇑(thickenedIndicator δ_pos E)

theorem mulIndicator_thickening_eventually_eq_mulIndicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : One β] (f : α → β) (E : Set α) (x : α),
  ∀ᶠ (δ : ℝ) in nhdsWithin 0 (Set.Ioi 0), (Metric.thickening δ E).mulIndicator f x = (closure E).mulIndicator f x

Pointwise, the multiplicative indicators of δ-thickenings of a set eventually coincide with the multiplicative indicator of the set as δ>0 tends to zero.

theorem indicator_thickening_eventually_eq_indicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : Zero β] (f : α → β) (E : Set α) (x : α),
  ∀ᶠ (δ : ℝ) in nhdsWithin 0 (Set.Ioi 0), (Metric.thickening δ E).indicator f x = (closure E).indicator f x

Pointwise, the indicators of δ-thickenings of a set eventually coincide with the indicator of the set as δ>0 tends to zero.

theorem mulIndicator_cthickening_eventually_eq_mulIndicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : One β] (f : α → β) (E : Set α) (x : α),
  ∀ᶠ (δ : ℝ) in nhds 0, (Metric.cthickening δ E).mulIndicator f x = (closure E).mulIndicator f x

Pointwise, the multiplicative indicators of closed δ-thickenings of a set eventually coincide with the multiplicative indicator of the set as δ tends to zero.

theorem indicator_cthickening_eventually_eq_indicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : Zero β] (f : α → β) (E : Set α) (x : α),
  ∀ᶠ (δ : ℝ) in nhds 0, (Metric.cthickening δ E).indicator f x = (closure E).indicator f x

Pointwise, the indicators of closed δ-thickenings of a set eventually coincide with the indicator of the set as δ tends to zero.

theorem tendsto_mulIndicator_thickening_mulIndicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : One β] [inst_2 : TopologicalSpace β] (f : α → β)
  (E : Set α),
  Filter.Tendsto (fun δ ↦ (Metric.thickening δ E).mulIndicator f) (nhdsWithin 0 (Set.Ioi 0))
    (nhds ((closure E).mulIndicator f))

The multiplicative indicators of δ-thickenings of a set tend pointwise to the multiplicative indicator of the set, as δ>0 tends to zero.

theorem tendsto_indicator_thickening_indicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : Zero β] [inst_2 : TopologicalSpace β]
  (f : α → β) (E : Set α),
  Filter.Tendsto (fun δ ↦ (Metric.thickening δ E).indicator f) (nhdsWithin 0 (Set.Ioi 0))
    (nhds ((closure E).indicator f))

The indicators of δ-thickenings of a set tend pointwise to the indicator of the set, as δ>0 tends to zero.

theorem tendsto_mulIndicator_cthickening_mulIndicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : One β] [inst_2 : TopologicalSpace β] (f : α → β)
  (E : Set α),
  Filter.Tendsto (fun δ ↦ (Metric.cthickening δ E).mulIndicator f) (nhds 0) (nhds ((closure E).mulIndicator f))

The multiplicative indicators of closed δ-thickenings of a set tend pointwise to the multiplicative indicator of the set, as δ tends to zero.

theorem tendsto_indicator_cthickening_indicator_closure E1 #

∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {β : Type u_2} [inst_1 : Zero β] [inst_2 : TopologicalSpace β]
  (f : α → β) (E : Set α),
  Filter.Tendsto (fun δ ↦ (Metric.cthickening δ E).indicator f) (nhds 0) (nhds ((closure E).indicator f))

The indicators of closed δ-thickenings of a set tend pointwise to the indicator of the set, as δ tends to zero.