MindFormal v1.0.0One Mind

MindFormal.Tools.ScalarExit.Tube

theorem MindFormal.ScalarExit.reflected_reference_tube {H ν T₀ d₀ dT b : ℝ} (hH : 0 ≤ H) (hν : 0 ≤ ν) (hd₀ : 0 ≤ d₀) (hdT : 0 ≤ dT) (hb : 0 ≤ b) (x y w v : C(↑(HorizonTime H), ℝ)) (target : ℝ → ℝ) (hx : ScalarDynamics hH x w fun (t : ℝ) => ν * (target t - (ContinuousMap.IccExtend hH x) t)) (hyint : IntervalIntegrable (fun (t : ℝ) => ν * (T₀ - (ContinuousMap.IccExtend hH y) t)) MeasureTheory.volume 0 H) (hyeq : ∀ (t : ↑(HorizonTime H)), y t = (y ⟨0, ⋯⟩ + ∫ (s : ℝ) in 0..↑t, ν * (T₀ - (ContinuousMap.IccExtend hH y) s)) + (v t - v ⟨0, ⋯⟩)) (hinterior : ∀ (t : ↑(HorizonTime H)), d₀ + dT ≤ y t) (hstart : |x ⟨0, ⋯⟩ - y ⟨0, ⋯⟩| ≤ d₀) (hdriver : ∀ (t : ↑(HorizonTime H)), |w t - w ⟨0, ⋯⟩ - (v t - v ⟨0, ⋯⟩)| ≤ b) (htarget : ∀ (t : ↑(HorizonTime H)), |target ↑t - T₀| ≤ dT) (t : ↑(HorizonTime H)) :
|x t - y t| ≤ d₀ + dT + 2 * b

OC1.14's scalar tube. The comparison uses the actual floor regulator, the full target error and the residual after canceling the common forcing. The interior reference permits both shifted comparison paths.

theorem MindFormal.ScalarExit.reconstructed_interior {S L e z : ℝ} (hmargin : L + 4 * e < S) (hz : |z| ≤ L + 2 * e) :
e < (S + z) / 2 ∧ e < (S - z) / 2

Reconstruction from a conserved total gives positive reference activities through the outer absorbing boundary, with the complete OC1.14 margin.

theorem MindFormal.ScalarExit.answer_lead_error {a S e x y : ℝ} (hw : x = a) (hr : y ≤ a) (htotal : |x + y - S| ≤ 2 * e) :
|x - y - (2 * a - S)| ≤ 2 * e ∧ |x - y| = x - y

At a common activity bar the lead is determined by the total.