§9 (corrected: tubular boundary) — normally repelling sets, C^{1+α} submanifolds and the transverse projection
DefinitionStochApproxDyn_WeakAPT_Supplement_NormallyRepellingThese definitions set up §9 of the paper on with the Euclidean norm.
- A map is on a set () if it is there and its derivative is -Hölder near every point of .
- A set is an embedded -dimensional submanifold of class (resp. ) if around each point of there is a chart , a (resp. ) diffeomorphism between open subsets of , in which is the set where the last coordinates vanish. Its tangent space is spanned by the velocities of curves with that stay in near . For complementary subspaces , is the projector onto along .
- Standing assumptions of §9. generates the flow , , and is a nonempty compact set with for all . is locally invariant: there are a neighbourhood of and with for . For every , , where is continuous from into the Grassmannian , for all , and there are with
- The construction of §9.1, step 1. With : and on over ; is a compact neighbourhood of with , ; extends continuously to with values in and on it; is a map from into ; satisfies on and on , where and project onto along and ; on , and ; finally is an open neighbourhood of and is the local inverse of on the bundle : with , this decomposition is locally unique, is continuous, on , and for .
- , , and the right derivative .
These objects carry the hypotheses of Theorem 9.1 (nonconvergence of Robbins–Monro algorithms to normally repelling sets) and the construction of the Lyapounov function in its proof (Lemma 9.3, Proposition 9.5).
Formalization Note Continuity and smoothness into are expressed through the orthogonal projection onto the subspace. The construction is a predicate listing the properties the paper requires of its choices (Whitney embedding, Tietze extension and smoothing only serve to produce them), so the lemmas that use it hold for every admissible choice. The printed requirement " an open neighbourhood of " cannot hold when meets the boundary of ; it is read as an open neighbourhood of inside . The decomposition on , needed for to be defined, is part of the construction. In Lean the projection is named Pr (Π is a reserved token).
Differences from the source:
- generalization: smooth/global Hölder data → regularity supplied by each theorem, with local Hölder bounds; reason: the source cases specialize to these predicates.
- correction: the open containing → ; reason: an ambient open subset of cannot contain its boundary points; the inverse construction is local around .
- encoding: the inverse of → continuity, locally unique transverse decompositions, identity on and its specified derivative; reason: these fix the same local inverse. Projectors default to zero only outside the complementary case, and a right derivative is used only with its existence asserted.
- correction: §9(ii) prints for a base point → ; reason: the preceding sentence defines the splitting over every , and the fiber vectors are in (iii).
import Mathlib
namespace StochApproxDyn.WeakAPT.Supplement
open scoped NNReal Topology ContDiff
open Filter
/-- A map `f` is `C^{1+α}` on `s` (Benaïm 1999, §9, p. 49: "`C¹` and its derivative is
`α`-Hölder"): `f` is `C¹` on `s` and its derivative is `α`-Hölder near every point of `s`. -/
def IsC1HolderOn {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[NormedAddCommGroup F] [NormedSpace ℝ F] (α : ℝ≥0) (f : E → F) (s : Set E) : Prop :=
ContDiffOn ℝ 1 f s ∧ ∀ x ∈ s, ∃ W ∈ 𝓝 x, ∃ C : ℝ≥0, HolderOnWith C α (fderiv ℝ f) (W ∩ s)
/-- `φ` is a slice chart of `S ⊆ ℝ^m` for an `(m − d)`-dimensional submanifold: inside the
chart domain, `S` is the set where the last `d` coordinates of `φ` vanish (0-based indices
`m − d, …, m − 1`). -/
def IsSliceChart {m : ℕ} (d : ℕ) (S : Set (EuclideanSpace ℝ (Fin m)))
(φ : OpenPartialHomeomorph (EuclideanSpace ℝ (Fin m)) (EuclideanSpace ℝ (Fin m))) : Prop :=
S ∩ φ.source = {x ∈ φ.source | ∀ i : Fin m, m - d ≤ i.val → φ x i = 0}
/-- `S ⊆ ℝ^m` is an embedded `(m − d)`-dimensional submanifold of class `C^r` (`d ≤ m`): every
point of `S` lies in the domain of a slice chart which is a `C^r` diffeomorphism between open
subsets of `ℝ^m`. -/
def IsSubmanifoldOfClass {m : ℕ} (r : ℕ∞) (d : ℕ) (S : Set (EuclideanSpace ℝ (Fin m))) : Prop :=
d ≤ m ∧ ∀ p ∈ S, ∃ φ : OpenPartialHomeomorph (EuclideanSpace ℝ (Fin m))
(EuclideanSpace ℝ (Fin m)), p ∈ φ.source ∧ IsSliceChart d S φ ∧
ContDiffOn ℝ (r : WithTop ℕ∞) φ φ.source ∧ ContDiffOn ℝ (r : WithTop ℕ∞) φ.symm φ.target
/-- `S ⊆ ℝ^m` is an embedded `(m − d)`-dimensional `C^{1+α}` submanifold (p. 49: "a manifold
whose transition functions may be chosen `C^{1+α}`"): every point of `S` lies in the domain of a
slice chart which, with its inverse, is `C^{1+α}`. -/
def IsC1HolderSubmanifold {m : ℕ} (α : ℝ≥0) (d : ℕ) (S : Set (EuclideanSpace ℝ (Fin m))) :
Prop :=
d ≤ m ∧ ∀ p ∈ S, ∃ φ : OpenPartialHomeomorph (EuclideanSpace ℝ (Fin m))
(EuclideanSpace ℝ (Fin m)), p ∈ φ.source ∧ IsSliceChart d S φ ∧
IsC1HolderOn α φ φ.source ∧ IsC1HolderOn α φ.symm φ.target
/-- The tangent space `T_p S` of a set `S ⊆ ℝ^m` at `p`, as the span of the velocities `c'(0)`
of curves `c` with `c(0) = p` that stay in `S` near `t = 0`. For an embedded `C¹`
submanifold this is its tangent space at `p`. -/
def tangentSubspace {m : ℕ} (S : Set (EuclideanSpace ℝ (Fin m)))
(p : EuclideanSpace ℝ (Fin m)) : Submodule ℝ (EuclideanSpace ℝ (Fin m)) :=
Submodule.span ℝ {v | ∃ c : ℝ → EuclideanSpace ℝ (Fin m), c 0 = p ∧
(∀ᶠ t in 𝓝 0, c t ∈ S) ∧ HasDerivAt c v 0}
/-- The projector `ℝ^m = V ⊕ W → V`, `v + w ↦ v`, onto `V` along `W`, as a map `ℝ^m → ℝ^m`
(defined as `0` when `V` and `W` are not complementary, a case never used). -/
noncomputable def projAlong {m : ℕ} (V W : Submodule ℝ (EuclideanSpace ℝ (Fin m))) :
EuclideanSpace ℝ (Fin m) →L[ℝ] EuclideanSpace ℝ (Fin m) :=
open Classical in
if h : IsCompl V W then
LinearMap.toContinuousLinearMap (V.subtype ∘ₗ Submodule.projectionOnto V W h)
else 0
/-- The standing assumptions of §9 (Benaïm 1999, pp. 47–48), without the regularity of `F` and
`S` (which each result states). `F : ℝ^m → ℝ^m` generates the flow `Φ`
(`d/dt Φ_t(x) = F(Φ_t(x))`); `S ⊆ ℝ^m` is the `(m − d)`-dimensional submanifold, `1 ≤ d ≤ m`;
`Γ ⊆ S` is nonempty, compact and invariant (`Φ_t(Γ) = Γ` for all `t ∈ ℝ`); `S` is locally
invariant: `Φ_t(U ∩ S) ⊆ S` for `|t| ≤ t₀`, where `U` is a neighbourhood of `Γ` and `t₀ > 0`; and
for every `p ∈ Γ`, `ℝ^m = T_p S ⊕ E^u_p` where
(i) `p ↦ E^u_p` is continuous from `Γ` into the Grassmannian `G(d, m)` (continuity of the
orthogonal projection onto `E^u_p`, each `E^u_p` of dimension `d`),
(ii) `DΦ_t(p) E^u_p = E^u_{Φ_t(p)}` for all `t ∈ ℝ`, `p ∈ Γ`,
(iii) there are `λ > 0`, `C > 0` with `‖DΦ_t(p) w‖ ≥ C e^{λ t} ‖w‖` for `p ∈ Γ`, `w ∈ E^u_p`,
`t ≥ 0`. -/
def IsNormallyRepellingSet {m : ℕ} (d : ℕ)
(F : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m))
(Φ : Flow ℝ (EuclideanSpace ℝ (Fin m))) (S Γ U : Set (EuclideanSpace ℝ (Fin m))) (t₀ : ℝ)
(Eu : EuclideanSpace ℝ (Fin m) → Submodule ℝ (EuclideanSpace ℝ (Fin m))) : Prop :=
(∀ x t, HasDerivAt (fun s => Φ s x) (F (Φ t x)) t) ∧
1 ≤ d ∧ d ≤ m ∧
Γ.Nonempty ∧ IsCompact Γ ∧ Γ ⊆ S ∧ (∀ t : ℝ, Φ t '' Γ = Γ) ∧
U ∈ 𝓝ˢ Γ ∧ 0 < t₀ ∧ (∀ t : ℝ, |t| ≤ t₀ → Φ t '' (U ∩ S) ⊆ S) ∧
(∀ p ∈ Γ, IsCompl (tangentSubspace S p) (Eu p) ∧ Module.finrank ℝ (Eu p) = d) ∧
ContinuousOn (fun p => (Eu p).starProjection) Γ ∧
(∀ t : ℝ, ∀ p ∈ Γ, (Eu p).map (fderiv ℝ (Φ t) p : _ →ₗ[ℝ] _) = Eu (Φ t p)) ∧
∃ lam C : ℝ, 0 < lam ∧ 0 < C ∧ ∀ p ∈ Γ, ∀ w ∈ Eu p, ∀ t : ℝ, 0 ≤ t →
C * Real.exp (lam * t) * ‖w‖ ≤ ‖fderiv ℝ (Φ t) p w‖
/-- The construction of §9.1, step 1 (Benaïm 1999, pp. 50–51), as the list of properties the
paper requires of its choices. With `f = Φ_T` and `Df(p) = DΦ_T(p)`:
1. `T > 0` and `‖Df(p) w‖ ≥ 5‖w‖` for `p ∈ Γ`, `w ∈ E^u_p`;
2. `N` is a compact neighbourhood of `Γ` with `N ⊆ U` and `f(N) ⊆ U`;
3. `p ↦ E^u_p` (`Eext`) is a continuous extension to `N` with values in `G(d, m)`, equal to `E^u`
on `Γ`, with `‖Df(p) w‖ ≥ 4‖w‖` for `p ∈ N`, `w ∈ E^u_p`;
4. `p ↦ Ẽ^u_p` (`Et`) is a `C^∞` map from `N` into `G(d, m)`;
5. `ε > 0` with `ε(‖Df(p)‖ + 4) < 1` for `p ∈ N` and `ε‖Df(p)‖(‖P_p‖ + ‖P̃_p‖ + 1) < 1` for
`p ∈ N ∩ S`, where `P_p` projects onto `T_p S` along `E^u_p` and `P̃_p` onto `T_p S` along
`Ẽ^u_p`;
6. for `p ∈ N ∩ S`: `ℝ^m = T_p S ⊕ E^u_p` (so that `P_p` is defined), `ℝ^m = T_p S ⊕ Ẽ^u_p`,
and `‖P_p − P̃_p‖ ≤ ε`;
7. `N₀ ⊆ N` is an open neighbourhood of `S ∩ int N` and `Π : N₀ → S ∩ N` is the inverse of
`H(p, v) = p + v` on the bundle `Ẽ^u` near its zero section: for `x ∈ N₀`,
`x = Π(x) + v` with `v ∈ Ẽ^u_{Π(x)}`, `(Π(x), x − Π(x))` is the only such decomposition near
itself, `Π` is continuous on `N₀`, `Π(p) = p` on `S ∩ N₀`, and `DΠ(p) = P̃_p` for `p ∈ N₀ ∩ S`.
The Lyapounov-type function is then `V(x) = ‖x − Π(x)‖` on `N₀`. -/
def IsTubularConstruction {m : ℕ} (d : ℕ) (Φ : Flow ℝ (EuclideanSpace ℝ (Fin m)))
(S Γ U : Set (EuclideanSpace ℝ (Fin m)))
(Eu : EuclideanSpace ℝ (Fin m) → Submodule ℝ (EuclideanSpace ℝ (Fin m))) (T : ℝ)
(N : Set (EuclideanSpace ℝ (Fin m)))
(Eext Et : EuclideanSpace ℝ (Fin m) → Submodule ℝ (EuclideanSpace ℝ (Fin m))) (ε : ℝ)
(N₀ : Set (EuclideanSpace ℝ (Fin m)))
(Pr : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m)) : Prop :=
-- 1.
(0 < T ∧ ∀ p ∈ Γ, ∀ w ∈ Eu p, 5 * ‖w‖ ≤ ‖fderiv ℝ (Φ T) p w‖) ∧
-- 2.
(IsCompact N ∧ N ∈ 𝓝ˢ Γ ∧ N ⊆ U ∧ Φ T '' N ⊆ U) ∧
-- 3.
(ContinuousOn (fun p => (Eext p).starProjection) N ∧ (∀ p ∈ N, Module.finrank ℝ (Eext p) = d) ∧
(∀ p ∈ Γ, Eext p = Eu p) ∧ ∀ p ∈ N, ∀ w ∈ Eext p, 4 * ‖w‖ ≤ ‖fderiv ℝ (Φ T) p w‖) ∧
-- 4.
((∀ p ∈ N, Module.finrank ℝ (Et p) = d) ∧ ContDiffOn ℝ ∞ (fun p => (Et p).starProjection) N) ∧
-- 5.
(0 < ε ∧ (∀ p ∈ N, ε * (‖fderiv ℝ (Φ T) p‖ + 4) < 1) ∧
∀ p ∈ N ∩ S, ε * ‖fderiv ℝ (Φ T) p‖ *
(‖projAlong (tangentSubspace S p) (Eext p)‖ + ‖projAlong (tangentSubspace S p) (Et p)‖ + 1)
< 1) ∧
-- 6.
(∀ p ∈ N ∩ S, IsCompl (tangentSubspace S p) (Eext p) ∧ IsCompl (tangentSubspace S p) (Et p) ∧
‖projAlong (tangentSubspace S p) (Eext p) - projAlong (tangentSubspace S p) (Et p)‖ ≤ ε) ∧
-- 7.
(IsOpen N₀ ∧ S ∩ interior N ⊆ N₀ ∧ N₀ ⊆ N ∧ ContinuousOn Pr N₀ ∧
(∀ x ∈ N₀, Pr x ∈ S ∩ N ∧ x - Pr x ∈ Et (Pr x) ∧
∃ W ∈ 𝓝 (Pr x, x - Pr x), ∀ q v, (q, v) ∈ W → q ∈ S ∩ N → v ∈ Et q → q + v = x →
q = Pr x) ∧
(∀ p ∈ S ∩ N₀, Pr p = p) ∧
∀ p ∈ S ∩ N₀, HasFDerivAt Pr (projAlong (tangentSubspace S p) (Et p)) p)
/-- `V(x) = ‖x − Π(x)‖` (p. 51), the distance from `x` to its base point `Π(x) ∈ S`. -/
noncomputable def tubeDist {m : ℕ} (Pr : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m))
(x : EuclideanSpace ℝ (Fin m)) : ℝ :=
‖x - Pr x‖
/-- `η(x) = ∫_0^l V(Φ_{−t}(x)) dt` (Proposition 9.5, p. 53). -/
noncomputable def etaFun {m : ℕ} (Φ : Flow ℝ (EuclideanSpace ℝ (Fin m)))
(Pr : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m)) (l : ℝ)
(x : EuclideanSpace ℝ (Fin m)) : ℝ :=
∫ t in (0 : ℝ)..l, tubeDist Pr (Φ (-t) x)
/-- The right derivative `Dη(x).h = lim_{t → 0, t > 0} (η(x + t h) − η(x))/t` (p. 52), as a
value (meaningful where the limit exists). -/
noncomputable def rightDirDeriv {m : ℕ} (η : EuclideanSpace ℝ (Fin m) → ℝ)
(x h : EuclideanSpace ℝ (Fin m)) : ℝ :=
limUnder (𝓝[>] (0 : ℝ)) (fun t => (η (x + t • h) - η x) / t)
/-- `η` admits a right derivative at `x` (p. 52): for every `h ∈ ℝ^m` the limit
`lim_{t → 0, t > 0} (η(x + t h) − η(x))/t` exists (and is `rightDirDeriv η x h`). -/
def HasRightDirDerivAt {m : ℕ} (η : EuclideanSpace ℝ (Fin m) → ℝ)
(x : EuclideanSpace ℝ (Fin m)) : Prop :=
∀ h, Tendsto (fun t : ℝ => (η (x + t • h) - η x) / t) (𝓝[>] 0) (𝓝 (rightDirDeriv η x h))
end StochApproxDyn.WeakAPT.Supplement