Documentation

Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension

Bump functions in finite-dimensional vector spaces #

Let E be a finite-dimensional real normed vector space. We show that any open set s in E is exactly the support of a smooth function taking values in [0, 1], in IsOpen.exists_contDiff_support_eq.

Then we use this construction to construct bump functions with nice behavior, by convolving the indicator function of closedBall 0 1 with a function as above with s = ball 0 D.

Finally, Real.exists_contDiff_indicator_Icc_le_le_indicator_Ioo provides smooth cutoffs on ℝ lying between the indicator functions of two nested intervals.

theorem exists_contDiff_tsupport_subset {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {s : Set E} {x : E} {n : ℕ∞} (hs : s ∈ nhds x) :
∃ (f : E → ℝ), tsupport f ⊆ s ∧ HasCompactSupport f ∧ ContDiff ℝ (↑n) f ∧ Set.range f ⊆ Set.Icc 0 1 ∧ f x = 1

If a set s is a neighborhood of x, then there exists a smooth function f taking values in [0, 1], supported in s and with f x = 1.

theorem IsOpen.exists_contDiff_support_eq {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {n : ℕ∞} {s : Set E} (hs : IsOpen s) :
∃ (f : E → ℝ), Function.support f = s ∧ ContDiff ℝ (↑n) f ∧ Set.range f ⊆ Set.Icc 0 1

Given an open set s in a finite-dimensional real normed vector space, there exists a smooth function with values in [0, 1] whose support is exactly s.

noncomputable def ExistsContDiffBumpBase.φ {E : Type u_1} [NormedAddCommGroup E] :
E → ℝ

An auxiliary function to construct partitions of unity on finite-dimensional real vector spaces. It is the characteristic function of the closed unit ball.

Equations
Instances For
    theorem ExistsContDiffBumpBase.u_exists (E : Type u_1) [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] :
    ∃ (u : E → ℝ), ContDiff ℝ (↑⊤) u ∧ (∀ (x : E), u x ∈ Set.Icc 0 1) ∧ Function.support u = Metric.ball 0 1 ∧ ∀ (x : E), u (-x) = u x
    noncomputable def ExistsContDiffBumpBase.u {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] (x : E) :

    An auxiliary function to construct partitions of unity on finite-dimensional real vector spaces, which is smooth, symmetric, and with support equal to the unit ball.

    Equations
    Instances For

      An auxiliary function to construct partitions of unity on finite-dimensional real vector spaces, which is smooth, symmetric, with support equal to the ball of radius D and integral 1.

      Equations
      Instances For

        An auxiliary function to construct partitions of unity on finite-dimensional real vector spaces. It is the convolution between a smooth function of integral 1 supported in the ball of radius D, with the indicator function of the closed unit ball. Therefore, it is smooth, equal to 1 on the ball of radius 1 - D, with support equal to the ball of radius 1 + D.

        Equations
        Instances For
          theorem ExistsContDiffBumpBase.y_eq_zero_of_notMem_ball {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] {D : ℝ} {x : E} (Dpos : 0 < D) (hx : x ∉ Metric.ball 0 (1 + D)) :
          y D x = 0
          theorem ExistsContDiffBumpBase.y_le_one {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] {D : ℝ} (x : E) (Dpos : 0 < D) :
          y D x ≤ 1
          theorem ExistsContDiffBumpBase.y_pos_of_mem_ball {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] {D : ℝ} {x : E} (Dpos : 0 < D) (D_lt_one : D < 1) (hx : x ∈ Metric.ball 0 (1 + D)) :
          0 < y D x
          theorem ExistsContDiffBumpBase.y_support (E : Type u_1) [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] {D : ℝ} (Dpos : 0 < D) (D_lt_one : D < 1) :
          theorem Real.exists_contDiff_indicator_Icc_le_le_indicator_Ioo {a b c d : ℝ} (hab : a < b) (hbc : b ≤ c) (hcd : c < d) :
          ∃ (ψ : ℝ → ℝ), ContDiff ℝ (↑⊤) ψ ∧ HasCompactSupport ψ ∧ tsupport ψ ⊆ Set.Ioo a d ∧ (Set.Icc b c).indicator 1 ≤ ψ ∧ ψ ≤ (Set.Ioo a d).indicator 1 ∧ ∫ (x : ℝ), ψ x ∈ Set.Icc (c - b) (d - a)

          A smooth cutoff on ℝ: if a < b ≤ c < d, there is a smooth function ψ with compact support contained in Ioo a d such that 𝟙_[b, c] ≤ ψ ≤ 𝟙_(a, d). In particular, ∫ ψ ∈ [c - b, d - a].