MindFormal v1.0.0One Mind

MindFormal.Tools.TubeEnclosure

02.20: an exact solution of a time-dependent field stays in a tube around an approximate path. The field need only be Lipschitz on the tube, so kinks and clips in it are allowed; the tube's width is a datum and the solution is shown never to leave it. Pure analysis, no mind.

theorem MindFormal.tube_enclosure {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {v : ℝ → E → E} {x y y' : ℝ → E} {P : Set E} {a b δ ε r : ℝ} {K : NNReal} (hx : ContinuousOn x (Set.Icc a b)) (hx' : ∀ t ∈ Set.Ico a b, HasDerivWithinAt x (v t (x t)) (Set.Ici t) t) (hxP : ∀ t ∈ Set.Ico a b, x t ∈ P) (hy : ContinuousOn y (Set.Icc a b)) (hy' : ∀ t ∈ Set.Ico a b, HasDerivWithinAt y (y' t) (Set.Ici t) t) (hyP : ∀ t ∈ Set.Ico a b, y t ∈ P) (defect : ∀ t ∈ Set.Ico a b, ‖y' t - v t (y t)‖ ≤ ε) (lip : ∀ t ∈ Set.Ico a b, LipschitzOnWith K (v t) ({z : E | ‖z - y t‖ ≤ r} ∩ P)) (start : ‖x a - y a‖ ≤ δ) (room : gronwallBound δ (↑K) ε (b - a) < r) (t : ℝ) :
t ∈ Set.Icc a b → ‖x t - y t‖ ≤ gronwallBound δ (↑K) ε (t - a)

02.20: one piece. On [a,b] let x solve x' = v(t,x) from the right and stay in a set P, and let y be continuous with right derivative y', stay in P, and have defect ‖y'−v(t,y)‖ ≤ ε. If each v(t,·) is K-Lipschitz on the tube {z : ‖z−y(t)‖ ≤ r} ∩ P, ‖x(a)−y(a)‖ ≤ δ, and the Grönwall bound at the piece's end is below r, then x stays in the tube and ‖x(t)−y(t)‖ ≤ gronwallBound δ K ε (t−a) on [a,b]. A first exit would occur at a time where the bound is already below r.

theorem MindFormal.tube_enclosure_pieces {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {v : ℝ → E → E} {x : ℝ → E} {P : Set E} {m : ℕ} {τ : ℕ → ℝ} {y y' : ℕ → ℝ → E} {δ ε r : ℕ → ℝ} {K : ℕ → NNReal} (hτ : ∀ k < m, τ k ≤ τ (k + 1)) (hx : ∀ k < m, ContinuousOn x (Set.Icc (τ k) (τ (k + 1)))) (hx' : ∀ k < m, ∀ t ∈ Set.Ico (τ k) (τ (k + 1)), HasDerivWithinAt x (v t (x t)) (Set.Ici t) t) (hxP : ∀ k < m, ∀ t ∈ Set.Ico (τ k) (τ (k + 1)), x t ∈ P) (hy : ∀ k < m, ContinuousOn (y k) (Set.Icc (τ k) (τ (k + 1)))) (hy' : ∀ k < m, ∀ t ∈ Set.Ico (τ k) (τ (k + 1)), HasDerivWithinAt (y k) (y' k t) (Set.Ici t) t) (hyP : ∀ k < m, ∀ t ∈ Set.Ico (τ k) (τ (k + 1)), y k t ∈ P) (defect : ∀ k < m, ∀ t ∈ Set.Ico (τ k) (τ (k + 1)), ‖y' k t - v t (y k t)‖ ≤ ε k) (lip : ∀ k < m, ∀ t ∈ Set.Ico (τ k) (τ (k + 1)), LipschitzOnWith (K k) (v t) ({z : E | ‖z - y k t‖ ≤ r k} ∩ P)) (start : ‖x (τ 0) - y 0 (τ 0)‖ ≤ δ 0) (carry : ∀ (k : ℕ), k + 1 < m → gronwallBound (δ k) (↑(K k)) (ε k) (τ (k + 1) - τ k) + ‖y k (τ (k + 1)) - y (k + 1) (τ (k + 1))‖ ≤ δ (k + 1)) (room : ∀ k < m, gronwallBound (δ k) (↑(K k)) (ε k) (τ (k + 1) - τ k) < r k) (k : ℕ) :
k < m → ∀ t ∈ Set.Icc (τ k) (τ (k + 1)), ‖x t - y k t‖ ≤ gronwallBound (δ k) (↑(K k)) (ε k) (t - τ k)

02.20: the pieces glued. Breakpoints τ k ≤ τ (k+1) for k < m. On piece k, x is continuous, solves x' = v(t,x) from the right and stays in P; the approximate path y k is continuous with right derivative y' k, stays in P, has defect at most ε k, and v(t,·) is K k-Lipschitz on the tube of width r k around it. The start is within δ 0; at each break the Grönwall bound at the piece's end plus the jump ‖y k − y (k+1)‖ there is at most δ (k+1); each piece's end bound is below its width. Then on each piece ‖x(t) − y k(t)‖ ≤ gronwallBound (δ k) (K k) (ε k) (t − τ k). Any finite number of pieces.