MindFormal v1.0.0One Mind

MindFormal.Tools.ReceiptTiming.Timing

noncomputable def MindFormal.ReceiptTiming.cumulative (Δ : ℝ → ℝ) (t : ℝ) :
Equations
Instances For
    theorem MindFormal.ReceiptTiming.timing_parts {H : ℝ} (w Δ : ℝ → ℝ) (hw : AbsolutelyContinuousOnInterval w 0 H) (hΔ : IntervalIntegrable Δ MeasureTheory.volume 0 H) (htotal : cumulative Δ H = 0) :
    ∫ (t : ℝ) in 0..H, w t * Δ t = -∫ (t : ℝ) in 0..H, deriv w t * cumulative Δ t

    W2.3 at the absolute-continuity scope, including the zero-total endpoint. No monotonicity, positivity, variance or constant-presence premise is used.

    theorem MindFormal.ReceiptTiming.timing_nonnegative {H : ℝ} (hH : 0 ≤ H) (w Δ : ℝ → ℝ) (hw : AbsolutelyContinuousOnInterval w 0 H) (hΔ : IntervalIntegrable Δ MeasureTheory.volume 0 H) (htotal : cumulative Δ H = 0) (hw' : ∀ᵐ (t : ℝ), t ∈ Set.Icc 0 H → 0 ≤ deriv w t) (hJ : ∀ t ∈ Set.Icc 0 H, cumulative Δ t ≤ 0) :
    0 ≤ ∫ (t : ℝ) in 0..H, w t * Δ t

    A nondecreasing absolutely continuous weight gives the weak timing direction. The primitive derivative condition is stated a.e., permitting all AC weights.

    theorem MindFormal.ReceiptTiming.two_arm_error {F₁ F₂ R₁ R₂ e₁ e₂ : ℝ} (h₁ : |F₁ - R₁| ≤ e₁) (h₂ : |F₂ - R₂| ≤ e₂) :
    |F₂ - F₁ - (R₂ - R₁)| ≤ e₁ + e₂

    Both complete arm errors must be paid, even on shared raw innovations.

    theorem MindFormal.ReceiptTiming.native_positive {F₁ F₂ R₁ R₂ e₁ e₂ : ℝ} (h₁ : |F₁ - R₁| ≤ e₁) (h₂ : |F₂ - R₂| ≤ e₂) (hgap : e₁ + e₂ < R₂ - R₁) :
    F₁ < F₂
    theorem MindFormal.ReceiptTiming.native_negative {F₁ F₂ R₁ R₂ e₁ e₂ : ℝ} (h₁ : |F₁ - R₁| ≤ e₁) (h₂ : |F₂ - R₂| ≤ e₂) (hgap : R₂ - R₁ < -(e₁ + e₂)) :
    F₂ < F₁