MindFormal v1.0.0One Mind

MindFormal.Tools.ReflectedContraction

02.20: the one-sided (contraction) comparison of a reflected integral path with an unreflected one. The forcing is merely integrable in time, so the distance is absolutely continuous and its rate is bounded almost everywhere; the floor's regulator only ever moves a reflected coordinate toward the comparison path, which stays on the nonnegative side, so it never widens the distance in a weighted sup norm. Pure analysis, no mind.

theorem MindFormal.ae_gronwall {φ m : ℝ → ℝ} {b δ μ c : ℝ} (hb : 0 ≤ b) (hφ : AbsolutelyContinuousOnInterval φ 0 b) (hm : IntervalIntegrable m MeasureTheory.volume 0 b) (hm0 : ∀ s ∈ Set.Icc 0 b, 0 ≤ m s) (h0 : φ 0 ≤ δ) (hd : ∀ᵐ (t : ℝ), t ∈ Set.Ioo 0 b → DifferentiableAt ℝ φ t → deriv φ t ≤ μ * φ t + c + m t) (t : ℝ) :
t ∈ Set.Icc 0 b → φ t ≤ gronwallBound δ μ c t + max 1 (Real.exp (μ * t)) * ∫ (s : ℝ) in 0..t, m s

02.20: THE ALMOST-EVERYWHERE GRÖNWALL BOUND. An absolutely continuous φ on [0,b] with φ(0) ≤ δ whose derivative, wherever it exists in (0,b) (almost everywhere), is at most μφ + c + m(t), with m nonnegative and integrable and μ of any sign, stays below Grönwall's bound at rate μ plus max(1, e^{μt}) times the integral of m from 0 to t.

theorem MindFormal.floorRegulator_le_add {H : ℝ} (f : C(↑(HorizonTime H), ℝ)) {s t : ↑(HorizonTime H)} (hst : s ≤ t) {M : ℝ} (hM : ∀ (r : ↑(HorizonTime H)), s ≤ r → r ≤ t → f s - f r ≤ M) :

02.12, 02.20: between two times s ≤ t the running floor regulator rises by at most the largest fall of its path below its value at s.

theorem MindFormal.weighted_regulator_step {I : Type u_1} [Fintype I] (w : I → ℚ) {d D a : I → ℝ} (hcase : ∀ (i : I), D i = a i ∨ a i ≤ D i ∧ d i < 0 ∨ d i = 0 ∧ D i = 0) :
∀ᶠ (h : ℝ) in nhdsWithin 0 (Set.Ioi 0), ‖(weightMap w) (d + h • D)‖ ≤ ‖(weightMap w) (d + h • a)‖

02.20: the floor's regulator never widens a weighted sup distance. Coordinatewise, let the rate D of the difference d equal the rate a without the regulator, or exceed it where d < 0, or vanish where d = 0. Then for all small h > 0 the Euler step d + hD is no farther from zero than d + ha in the norm max_i w_i|·|.

theorem MindFormal.weightMap_norm_le {I : Type u_1} [Fintype I] (w : I → ℚ) {W : ℝ} (hW0 : 0 ≤ W) (hW : ∀ (i : I), |↑(w i)| ≤ W) (v : I → ℝ) :

02.20: the weighted sup norm is at most the largest weight times the sup norm.

theorem MindFormal.floorRegulator_hasDerivAt_zero {H : ℝ} (hH : 0 ≤ H) (p : C(↑(HorizonTime H), ℝ)) {s : ℝ} (hs : s ∈ Set.Ioo 0 H) (hpos : 0 < (floorReflection p) (Set.projIcc 0 H hH s)) :
HasDerivAt (fun (r : ℝ) => floorRegulator p (Set.projIcc 0 H hH r)) 0 s

02.12, 02.20: at an interior time where the reflected path is strictly positive, its running regulator is locally constant, so its rate there is zero.

theorem MindFormal.reflected_contraction {H : ℝ} {I : Type u_1} [Fintype I] (hH : 0 ≤ H) (reflect : I → Bool) (f g : ℝ → I → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 H) (hg : IntervalIntegrable g MeasureTheory.volume 0 H) (a b : I → ℝ) (x y : C(↑(HorizonTime H), I → ℝ)) (hx : productReflection reflect (forcingInput hH f hf a 0) = x) (hy : forcingInput hH g hg b 0 = y) (ha : ∀ (i : I), reflect i = true → 0 ≤ a i) (hy0 : ∀ (t : ↑(HorizonTime H)) (i : I), reflect i = true → 0 ≤ y t i) (w : I → ℚ) {W M μ c δ Δ r : ℝ} (hW0 : 0 ≤ W) (hW : ∀ (i : I), |↑(w i)| ≤ W) (hc : 0 ≤ c) (F : ℝ → (I → ℝ) → I → ℝ) (hgF : ∀ (t : ↑(HorizonTime H)), g ↑t = F (↑t) (y t)) (hgM : ∀ (t : ↑(HorizonTime H)), ‖g ↑t‖ ≤ M) (m : ℝ → ℝ) (hm : IntervalIntegrable m MeasureTheory.volume 0 H) (hm0 : ∀ s ∈ Set.Icc 0 H, 0 ≤ m s) (hbudget : ∀ (t : ↑(HorizonTime H)), ∫ (s : ℝ) in 0..↑t, m s ≤ Δ) (tube : ∀ (t : ↑(HorizonTime H)), ‖(weightMap w) (x t - y t)‖ ≤ r → ‖f ↑t‖ ≤ M ∧ (↑t < H → ‖(weightMap w) (f ↑t - F (↑t) (x t))‖ ≤ c + m ↑t ∧ ∃ h₀ > 0, ∀ h ∈ Set.Ioo 0 h₀, ‖(weightMap w) (x t - y t + h • (F (↑t) (x t) - F (↑t) (y t)))‖ ≤ (1 + h * μ) * ‖(weightMap w) (x t - y t)‖)) (hstart : ‖(weightMap w) (a - b)‖ ≤ δ) (room : max δ (gronwallBound δ μ c H) + max 1 (Real.exp (μ * H)) * Δ < r) (t : ↑(HorizonTime H)) :
‖(weightMap w) (x t - y t)‖ ≤ gronwallBound δ μ c ↑t + max 1 (Real.exp (μ * ↑t)) * Δ ∧ ‖(weightMap w) (x t - y t)‖ < r

02.20: THE CONTRACTION COMPARISON OF A REFLECTED PATH. On [0,H], x is the floor reflection (on the coordinates reflect marks) of a + ∫f, with f integrable and a nonnegative on those coordinates; y = b + ∫g is unreflected and nonnegative on them, with g = F(t, y(t)), ‖g‖ ≤ M. Distances are measured in the weighted sup norm ‖·‖_w = max_i w_i|·| (weights at most W in size). Wherever x is in the tube of width r around y: ‖f‖ ≤ M; and, at every time before H, the forcing's defect against the field at x is at most c + m(t), m nonnegative and integrable with every prefix integral at most Δ, and the field's one-sided Lipschitz constant between x and y is at most μ, of any sign (a short Euler step moves them apart by at most the factor 1 + hμ). If ‖a − b‖_w ≤ δ, c ≥ 0 and the larger of δ and Grönwall's end value plus max(1,e^{μH})Δ is below r, then x stays in the tube and ‖x(t) − y(t)‖_w ≤ gronwallBound δ μ c t + max(1, e^{μt})Δ. The floor's push is never charged.