MindFormal v1.0.0One Mind

MindFormal.Tools.A907OutputSupport.Profile

Deterministic steering profiles: a start ramp and one tent per label. A rate that is constant on finitely many time intervals integrates to the stated profile. These are real functions of time only.

Clamp to [0, 1].

Equations
Instances For
    noncomputable def MindFormal.A907OutputSupport.tent (s ρ t : ℝ) :

    A tent rising on [s, s + ρ] and falling on [s + ρ, s + 2ρ].

    Equations
    Instances For
      theorem MindFormal.A907OutputSupport.tent_eq_zero_of_le {s ρ t : ℝ} (hρ : 0 < ρ) (ht : t ≤ s) :
      tent s ρ t = 0
      theorem MindFormal.A907OutputSupport.tent_eq_zero_of_ge {s ρ t : ℝ} (hρ : 0 < ρ) (ht : s + 2 * ρ ≤ t) :
      tent s ρ t = 0
      theorem MindFormal.A907OutputSupport.tent_peak {s ρ : ℝ} (hρ : 0 < ρ) :
      tent s ρ (s + ρ) = 1
      theorem MindFormal.A907OutputSupport.tent_nonneg {s ρ t : ℝ} (hρ : 0 < ρ) :
      0 ≤ tent s ρ t

      The integral of an interval indicator up to t.

      theorem MindFormal.A907OutputSupport.clamp_ramp {a ρ t : ℝ} (hρ : 0 < ρ) :
      max 0 (min t (a + ρ) - a) / ρ = clamp01 ((t - a) / ρ)