MindFormal v1.0.0One Mind

MindFormal.Run.CompanionAttention.ConstantGain

The constant-coefficient comparison of 04.30 (S5). The zero innovation here belongs only to the printed comparison calculation.

theorem MindFormal.CompanionAttention.constant_gain_solution {H a b w₀ : ℝ} (hH : 0 ≤ H) (ha : a ≠ 0) (m w : ℝ → ℝ) (hm : IntervalIntegrable m MeasureTheory.volume 0 H) (hw : Continuous w) (he : ∀ t ∈ Set.Icc 0 H, w t = w₀ + ∫ (s : ℝ) in 0..t, m s * (b - a * w s)) :
w H = b / a + (w₀ - b / a) * Real.exp (-a * ∫ (s : ℝ) in 0..H, m s)

Solve the printed complete scalar relation comparison, allowing an integrable time-varying gain. Both relation terms have already been collected in the constants a and b; a is nonzero. No native hold or noise-free admitted experiment is asserted.

theorem MindFormal.CompanionAttention.constant_gain_difference {a target w₀ ΛH ΛL : ℝ} (ha : 0 < a) (hΛ : ΛL < ΛH) :
have wH := target + (w₀ - target) * Real.exp (-a * ΛH); have wL := target + (w₀ - target) * Real.exp (-a * ΛL); wH - wL = (target - w₀) * (Real.exp (-a * ΛL) - Real.exp (-a * ΛH)) ∧ (wL < wH ↔ w₀ < target) ∧ (wH = wL ↔ w₀ = target) ∧ (wH < wL ↔ target < w₀)