MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.ResponsiveConsequences.NativeEvents

theorem MindFormal.ResponsiveConsequences.transverse_native {N : ℕ} {guard score ref : ℝ → Fin N → ℝ} {release H τ ε m : ℝ} (S : NativeSearch guard score release H) (w : Fin N) (hm : 0 < m) (he : 0 ≤ ε) (fits : release ≤ τ + 2 * ε / m ∧ τ + 2 * ε / m ≤ H) (error : ∀ t ∈ Set.Icc release H, ∀ (j : Fin N), |guard t j - ref t j| ≤ ε) (slope_before : ∀ t ∈ Set.Ico release τ, ref t w ≤ -m * (τ - t)) (slope_after : ∀ t ∈ Set.Icc τ (τ + 2 * ε / m), m * (t - τ) ≤ ref t w) (earlier : ∀ t ∈ Set.Ico release (τ - 2 * ε / m), ∀ (j : Fin N), j ≠ w → ref t j + ε < 0) (dominance : ∀ t ∈ Set.Icc (τ - 2 * ε / m) (τ + 2 * ε / m), ∀ (j : Fin N), j ≠ w → 0 ≤ guard t j → 0 ≤ guard t w ∧ score t j < score t w) :
∃ t ∈ Set.Icc (τ - 2 * ε / m) (τ + 2 * ε / m), S.event = some (t, w) ∧ |t - τ| ≤ 2 * ε / m

The source's transverse crossing estimate, proved from native attainment and first-race exclusion. The read error may be zero. Qualification includes both IV guards (their minimum), and dominance includes the actual score race.

theorem MindFormal.ResponsiveConsequences.released_native {N : ℕ} {guard score : ℝ → Fin N → ℝ} {release H : ℝ} (S : NativeSearch guard score release H) (w : Fin N) (hH : release ≤ H) (qualifies : 0 ≤ guard release w) (dominance : ∀ (j : Fin N), j ≠ w → 0 ≤ guard release j → score release j < score release w) :
S.event = some (release, w)

A strictly qualified released selection inherits exactly the release clock. It need not be the only qualifying content: the score margin fixes it.

theorem MindFormal.ResponsiveConsequences.pulse_interval_bill {K : ℕ} (start finish start' finish' : Fin K → ℝ) (pause : ℝ) (hfinish : ∀ (j : Fin K), finish j = start j + pause) (hfinish' : ∀ (j : Fin K), finish' j = start' j + pause) :
∑ j : Fin K, (|start j - start' j| + |finish j - finish' j|) = 2 * ∑ j : Fin K, |start j - start' j|

The changed focus support is priced by both ends of every interval.

theorem MindFormal.ResponsiveConsequences.responsive_bill {Fmode Lu Lret dstream dt inputCost modeCost : ℝ} (hLu : 0 ≤ Lu) (input : inputCost ≤ dstream + Lret * dt) (mode : modeCost ≤ 2 * Fmode * dt) :
Lu * inputCost + modeCost ≤ Lu * dstream + (2 * Fmode + Lu * Lret) * dt

SR13's response/mode charge uses only completed prefix shifts. The response-statistics estimate is precisely its source-granted causal hold.