MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.A804CoPresentRepair.ReadScalar

(C8)'s scalar layer: a reflected activity with innovation excursion at most b' and a target within B(s) of a nonnegative level x* stays within e^{-νt}|x(0)-x*| + ν∫e^{-ν(t-w)}B(w)dw + 2b' of x*; reflection and restart are paid inside the 2b'.

theorem MindFormal.A798CoPresentRecruit.expConv_level_add (ν x0 xs : ℝ) (B : ℝ → ℝ) (hB : Continuous B) (t : ℝ) :
expConv ν x0 (fun (w : ℝ) => xs + B w) t = xs + Real.exp (-ν * t) * (x0 - xs) + ν * ∫ (w : ℝ) in 0..t, Real.exp (-ν * (t - w)) * B w

The convolution of a level plus a bounded excess.

theorem MindFormal.A798CoPresentRecruit.scalar_read_bound {H : ℝ} (hH : 0 ≤ H) (ν : NNReal) (hν : 0 < ↑ν) (x w : C(↑(HorizonTime H), ℝ)) (target : ℝ → ℝ) (xs b' : ℝ) (hxs : 0 ≤ xs) (hb' : 0 ≤ b') (B : ℝ → ℝ) (hB : Continuous B) (hB0 : ∀ (s : ℝ), 0 ≤ B s) (hx : ScalarDynamics hH x w fun (t : ℝ) => ↑ν * (target t - (ContinuousMap.IccExtend hH x) t)) (htarget : ∀ (s : ↑(HorizonTime H)), 0 ≤ target ↑s ∧ |target ↑s - xs| ≤ B ↑s) (hw : ∀ (s : ↑(HorizonTime H)), |w s - w ⟨0, ⋯⟩| ≤ b') (t : ↑(HorizonTime H)) :
|x t - xs| ≤ (Real.exp (-↑ν * ↑t) * |x ⟨0, ⋯⟩ - xs| + ↑ν * ∫ (u : ℝ) in 0..↑t, Real.exp (-↑ν * (↑t - u)) * B u) + 2 * b'

(C8) per coordinate.

theorem MindFormal.A798CoPresentRecruit.scalar_cap {H : ℝ} (hH : 0 ≤ H) (ν : NNReal) (hν : 0 < ↑ν) (x w : C(↑(HorizonTime H), ℝ)) (target : ℝ → ℝ) (hi b' : ℝ) (hhi : 0 ≤ hi) (hb' : 0 ≤ b') (hx : ScalarDynamics hH x w fun (t : ℝ) => ↑ν * (target t - (ContinuousMap.IccExtend hH x) t)) (htarget : ∀ (s : ↑(HorizonTime H)), 0 ≤ target ↑s ∧ target ↑s ≤ hi) (hw : ∀ (s : ↑(HorizonTime H)), |w s - w ⟨0, ⋯⟩| ≤ b') (t : ↑(HorizonTime H)) :
x t ≤ max (x ⟨0, ⋯⟩) hi + 2 * b'

The activity cap: a target never above hi ≥ 0 keeps x ≤ max(x(0), hi) + 2b'.

theorem MindFormal.A798CoPresentRecruit.scalarDynamics_shift {H : ℝ} (hH : 0 ≤ H) {c : ℝ} (hc : 0 ≤ c) (hcH : c ≤ H) (x w : C(↑(HorizonTime H), ℝ)) (f : ℝ → ℝ) (hx : ScalarDynamics hH x w f) :
have sh := { toFun := fun (t : ↑(HorizonTime (H - c))) => ⟨c + ↑t, ⋯⟩, continuous_toFun := ⋯ }; ScalarDynamics ⋯ (x.comp sh) (w.comp sh) fun (s : ℝ) => f (c + s)

A reflected scalar dynamics restarted at an interior time.