MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.NominalCorridor

theorem MindFormal.A695LearningValue.nominal_reflection_error {H : ℝ} {I : Type u_1} [Fintype I] (reflect : I → Bool) (free : C(↑(HorizonTime H), I → ℝ)) (y : ↑(HorizonTime H) → I → ℝ) {J : ℝ} (hJ : 0 ≤ J) (hy : ∀ (t : ↑(HorizonTime H)) (i : I), reflect i = true → 0 ≤ y t i) (hres : ∀ (t : ↑(HorizonTime H)), ‖free t - y t‖ ≤ J) (t : ↑(HorizonTime H)) :
‖(productReflection reflect free) t - y t‖ ≤ 2 * J

A nominal path may jump. Its nonnegative reflected coordinates and uniform integral residual, rather than continuity of that nominal path, bound its distance from the continuous reflection of its free integral.

theorem MindFormal.A695LearningValue.nominal_corridor_prefix {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 → ℝ) (w x : C(↑(HorizonTime H), I → ℝ)) (hx : reflectedForcing hH reflect f hf a w = x) (y : ↑(HorizonTime H) → I → ℝ) {d0 dw L J : ℝ} (hd0 : 0 ≤ d0) (hdw : 0 ≤ dw) (hL : 0 ≤ L) (hJ : 0 ≤ J) (hstart : ‖a - b‖ ≤ d0) (hy : ∀ (t : ↑(HorizonTime H)) (i : I), reflect i = true → 0 ≤ y t i) (hres : ∀ (t : ↑(HorizonTime H)), ‖(forcingInput hH g hg b 0) t - y t‖ ≤ J) (T : ↑(HorizonTime H)) (hdriver : ∀ s ≤ T, ‖w s‖ ≤ dw) (hfg : ∀ s ≤ T, ‖f ↑s - g ↑s‖ ≤ L * ‖x s - y s‖) (t : ↑(HorizonTime H)) :
t ≤ T → ‖x t - y t‖ ≤ 2 * (d0 + dw + J) * Real.exp (2 * L * ↑t) ∧ ‖x t - (reflectedForcing hH reflect g hg b 0) t‖ + 2 * J ≤ 2 * (d0 + dw + J) * Real.exp (2 * L * ↑t)

Integral Gronwall with a possibly discontinuous nonnegative nominal path. The residual J includes all nominal jumps. The resulting constant is exactly 2*(initial error + innovation excursion + J), not an added continuous-reference assumption or a second uncharged jump allowance.

theorem MindFormal.A695LearningValue.nominal_corridor_closed {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 → ℝ) (w x : C(↑(HorizonTime H), I → ℝ)) (hx : reflectedForcing hH reflect f hf a w = x) (y : ↑(HorizonTime H) → I → ℝ) {d0 dw L J R : ℝ} (hd0 : 0 ≤ d0) (hdw : 0 ≤ dw) (hL : 0 ≤ L) (hJ : 0 ≤ J) (hstart : ‖a - b‖ ≤ d0) (hy : ∀ (t : ↑(HorizonTime H)) (i : I), reflect i = true → 0 ≤ y t i) (hres : ∀ (t : ↑(HorizonTime H)), ‖(forcingInput hH g hg b 0) t - y t‖ ≤ J) (hdriver : ∀ (T : ↑(HorizonTime H)), (∀ s ≤ T, ‖x s - (reflectedForcing hH reflect g hg b 0) s‖ ≤ R - 2 * J) → ∀ s ≤ T, ‖w s‖ ≤ dw) (hlocal : ∀ (s : ↑(HorizonTime H)), ‖x s - y s‖ ≤ R → ‖f ↑s - g ↑s‖ ≤ L * ‖x s - y s‖) (hzero : ‖x ⟨0, ⋯⟩ - (reflectedForcing hH reflect g hg b 0) ⟨0, ⋯⟩‖ + 2 * J < R) (hclose : 2 * (d0 + dw + J) * Real.exp (2 * L * H) < R) (t : ↑(HorizonTime H)) :
‖x t - y t‖ ≤ 2 * (d0 + dw + J) * Real.exp (2 * L * H) ∧ ‖x t - y t‖ < R

The same exact bound rules out a first exit using the continuous proxy. Local forcing and innovation estimates are needed only while the actual path is inside the nominal box. Physical floor faces require no strict clearance, even if the nominal path jumps there.