SR17's strict gain decrease is derived on the actual full-state certificate, rather than assumed as a residual ordering at the switch.
theorem
MindFormal.ResponsiveSearch.value_drift_bound
(χ : ℝ)
(a : ℚ)
(s : MindState (Fin 3) 2 Unit Unit)
(hx : ∀ (i : Fin 3), mindActivity s i ∈ Set.Icc 0 1)
(hr : ∀ (i : Fin 3), mindTrace s i () ∈ Set.Icc 0 1)
(hv : ∀ (i : Fin 3) (b : Fin 2), |mindValue s i b ()| ≤ 1)
(u q : Fin 3 → ℝ)
(hu : u ∈ inputRange)
(i : Fin 3)
(b : Fin 2)
:
The unequal rates in III yield their separate switch-time movement budgets.
theorem
MindFormal.ResponsiveSearch.offset_order
(s : MindState (Fin 3) 2 Unit Unit)
(hA : ∑ i : Fin 3, (mindActivity s i - 2 * mindTrace s i ()) < -(3255 / 10000))
(hB : ∑ i : Fin 3, |mindActivity s i - 2 * mindTrace s i ()| < 2323 / 1000)
(hv0 : ∀ (i : Fin 3), |mindValue s i 0 () - 1 / 10| ≤ 375 / 100000)
(hv1 : ∀ (i : Fin 3), |mindValue s i 1 () - 1 / 5| ≤ 65 / 10000)
:
The two residual offsets satisfy the strict order required by the source switch algebra; all numerical bounds are consequences of the full state.
theorem
MindFormal.ResponsiveSearch.actual_loss_gain
(R : PhysicalGlobalData 3 2 Unit Unit)
(χ : ℝ)
(a : ℚ)
(hdata : R.data = (mind χ a).drift)
(hs : R.state 0 = ↑start)
(hb : ∀ t ∈ Set.Icc 0 1, InCorridorBox (↑start) 1 1 (9 / 1000) (4 / 5) (R.state t))
(hn : ∀ t ∈ Set.Icc 0 1, ∀ (c : CoordinateIndex (Fin 3) 2 Unit Unit), |R.driver t.toNNReal c| ≤ 1 / 1000)
(hu : ∀ t ∈ Set.Icc 0 1, R.input t ∈ inputRange)
:
The actual gain strictly decreases when the useful delivery is exchanged for the competing delivery at one quarter, with both value rates moving.