theorem
MindFormal.A699Shared.centered_window_enclosure
{H ν b lo hi : ℝ}
(hH : 0 ≤ H)
(hν : 0 < ν)
(x w : C(↑(HorizonTime H), ℝ))
(f T : ℝ → ℝ)
(hx : ScalarDynamics hH x w f)
(hf : ∀ (s : ↑(HorizonTime H)), f ↑s = ν * (T ↑s - x s))
(hb : 0 ≤ b)
(hlo : 0 ≤ lo)
(hhi : 0 ≤ hi)
(c t : ↑(HorizonTime H))
(hct : c ≤ t)
(hT : ∀ s ∈ Set.Icc c t, lo ≤ T ↑s ∧ T ↑s ≤ hi)
(hw : ∀ s ∈ Set.Icc c t, |w s - w c| ≤ b)
:
A fresh increment cap on a window costs twice that cap in activity. The equation, innovation and entry state are the original ones shifted to the window; no physical state is reset.
theorem
MindFormal.A699Shared.centered_window_lower
{H ν b lo : ℝ}
(hH : 0 ≤ H)
(hν : 0 < ν)
(x w : C(↑(HorizonTime H), ℝ))
(f T : ℝ → ℝ)
(hx : ScalarDynamics hH x w f)
(hf : ∀ (s : ↑(HorizonTime H)), f ↑s = ν * (T ↑s - x s))
(hb : 0 ≤ b)
(hlo : 0 ≤ lo)
(c t : ↑(HorizonTime H))
(hct : c ≤ t)
(hT : ∀ s ∈ Set.Icc c t, lo ≤ T ↑s)
(hw : ∀ s ∈ Set.Icc c t, |w s - w c| ≤ b)
:
One-sided window comparison needs only the lower target envelope; the actual target may be any integrable nonnegative history.
theorem
MindFormal.A699Shared.guard_keeps_high
{H ν d guard need : ℝ}
(hH : 0 ≤ H)
(hν : 0 < ν)
(hd : 0 ≤ d)
(hg : 0 ≤ guard)
(x w : C(↑(HorizonTime H), ℝ))
(f T : ℝ → ℝ)
(hx : ScalarDynamics hH x w f)
(hf : ∀ (s : ↑(HorizonTime H)), f ↑s = ν * (T ↑s - x s))
(c t : ↑(HorizonTime H))
(hct : c ≤ t)
(hxc : guard ≤ x c)
(hmargin : need + d ≤ guard * Real.exp (-ν * H))
(hT : ∀ s ∈ Set.Icc c t, 0 ≤ T ↑s)
(hw : ∀ s ∈ Set.Icc c t, |w s - w c| ≤ d / 2)
:
Once the actual path reaches the guard, a fresh centered increment cap keeps it high through the deadline. The positive target only helps.