MindFormal v1.0.0One Mind

MindFormal.Tools.A630TwoRaces.TwoStage

noncomputable def MindFormal.A630TwoRaces.twoStage (ν a b F t : ℝ) :

The response to two constant targets, with the second starting at F. The cut is truncated at the observation time, so the same expression also covers times before the switch.

Equations
Instances For
    theorem MindFormal.A630TwoRaces.twoStage_before {ν a b F t : ℝ} (ht : t ≤ F) :
    twoStage ν a b F t = a * (1 - Real.exp (-ν * t))
    theorem MindFormal.A630TwoRaces.twoStage_after {ν a b F t : ℝ} (ht : F ≤ t) :
    twoStage ν a b F t = a * (1 - Real.exp (-ν * t)) + (b - a) * (1 - Real.exp (-ν * (t - F)))
    theorem MindFormal.A630TwoRaces.twoStage_error {ν a b F t d : ℝ} (hν : 0 < ν) (hF : 0 ≤ F) (ht : 0 ≤ t) (hd : 0 ≤ d) {f : ℝ → ℝ} (hf : IntervalIntegrable f MeasureTheory.volume 0 t) (hbefore : ∀ s ∈ Set.Ioo 0 (min t F), |f s - a| ≤ d) (hafter : ∀ s ∈ Set.Ioo (min t F) t, |f s - b| ≤ d) :
    |expConv ν 0 f t - twoStage ν a b F t| ≤ d

    The two cell errors pay a total exponential mass at most one. Only open cells are used, so switching the native pulse at its endpoint does not impose a false pointwise comparison there.

    theorem MindFormal.A630TwoRaces.twoStage_switch_antitone {ν a b t : ℝ} (hν : 0 ≤ ν) (hab : a ≤ b) :
    Antitone fun (F : ℝ) => twoStage ν a b F t
    theorem MindFormal.A630TwoRaces.twoStage_switch_monotone {ν a b t : ℝ} (hν : 0 ≤ ν) (hab : b ≤ a) :
    Monotone fun (F : ℝ) => twoStage ν a b F t
    theorem MindFormal.A630TwoRaces.twoStage_time_monotone {ν a b F : ℝ} (hν : 0 ≤ ν) (ha : 0 ≤ a) (hab : a ≤ b) :
    Monotone (twoStage ν a b F)
    theorem MindFormal.A630TwoRaces.twoStage_zero_after_upper {ν a F t : ℝ} (hν : 0 ≤ ν) (ha : 0 ≤ a) (hF : 0 ≤ F) (ht : 0 ≤ t) :
    twoStage ν a 0 F t ≤ a * (1 - Real.exp (-ν * F))
    theorem MindFormal.A630TwoRaces.twoStage_upper {ν a b F t M : ℝ} (hν : 0 ≤ ν) (hF : 0 ≤ F) (ht : 0 ≤ t) (hM : 0 ≤ M) (ha : a ≤ M) (hb : b ≤ M) :
    twoStage ν a b F t ≤ M
    theorem MindFormal.A630TwoRaces.twoStage_after_lower {ν a b F t : ℝ} (hν : 0 ≤ ν) (ha : 0 ≤ a) (hF : 0 ≤ F) (ht : F ≤ t) :
    b * (1 - Real.exp (-ν * (t - F))) ≤ twoStage ν a b F t
    theorem MindFormal.A630TwoRaces.twoStage_log_value (a b : ℝ) {r s : ℝ} (hr : 0 < r) (hs : 0 < s) (hrs : r ≤ s) :
    twoStage 1 a b (Real.log r) (Real.log s) = a * (1 - 1 / s) + (b - a) * (1 - r / s)
    theorem MindFormal.A630TwoRaces.twoStage_le_baseline {ν a b F t : ℝ} (hν : 0 ≤ ν) (hab : b ≤ a) :
    twoStage ν a b F t ≤ a * (1 - Real.exp (-ν * t))