MindFormal v1.0.0One Mind

MindFormal.Tools.CompanionAttention.GainEndpoint

Signed endpoint bounds for a moving, nonnegative loss rate. Kernels appear only in ordinary pathwise integrals; original noise is charged once.

theorem MindFormal.CompanionAttention.dose_kernel_lower {A : ℝ → ℝ} {H Aplus s : ℝ} (hH : 0 ≤ H) (hA : IntervalIntegrable A MeasureTheory.volume 0 H) (hbound : ∀ u ∈ Set.Icc 0 H, A u ≤ Aplus) (hs : s ∈ Set.Icc 0 H) :
Real.exp (-Aplus * (H - s)) ≤ doseKernel A H s
theorem MindFormal.CompanionAttention.gain_endpoint_lower {A F ξ : ℝ → ℝ} {H Aplus f₀ b Z : ℝ} (hH : 0 ≤ H) (hA : IntervalIntegrable A MeasureTheory.volume 0 H) (hF : IntervalIntegrable F MeasureTheory.volume 0 H) (hξ : Continuous ξ) (hAplus : 0 ≤ Aplus) (hf₀ : 0 ≤ f₀) (hbound : ∀ s ∈ Set.Icc 0 H, 0 ≤ A s ∧ A s ≤ Aplus) (hforcing : ∀ s ∈ Set.Icc 0 H, f₀ ≤ F s) (hnoise : ∀ s ∈ Set.Icc 0 H, |ξ s| ≤ b) (he : Z = (∫ (s : ℝ) in 0..H, doseKernel A H s * F s) + (ξ H - ∫ (s : ℝ) in 0..H, doseKernel A H s * A s * ξ s)) :
f₀ * relaxationTime Aplus H - 2 * b ≤ Z
theorem MindFormal.CompanionAttention.gain_endpoint_upper {A F ξ : ℝ → ℝ} {H Aplus f₀ b Z : ℝ} (hH : 0 ≤ H) (hA : IntervalIntegrable A MeasureTheory.volume 0 H) (hF : IntervalIntegrable F MeasureTheory.volume 0 H) (hξ : Continuous ξ) (hAplus : 0 ≤ Aplus) (hf₀ : 0 ≤ f₀) (hbound : ∀ s ∈ Set.Icc 0 H, 0 ≤ A s ∧ A s ≤ Aplus) (hforcing : ∀ s ∈ Set.Icc 0 H, F s ≤ -f₀) (hnoise : ∀ s ∈ Set.Icc 0 H, |ξ s| ≤ b) (he : Z = (∫ (s : ℝ) in 0..H, doseKernel A H s * F s) + (ξ H - ∫ (s : ℝ) in 0..H, doseKernel A H s * A s * ξ s)) :
Z ≤ -f₀ * relaxationTime Aplus H + 2 * b