MindFormal v1.0.0One Mind

MindFormal.Run.A641Practice.FiniteActivity

theorem MindFormal.A641Practice.actual_trace_enclosure {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) (l : Λ) {t lo hi : ℝ} (ht : 0 ≤ t) (hlambda : 0 ≤ G.data.rate l) (hx : ∀ s ∈ Set.Icc 0 t, lo ≤ G.x s i ∧ G.x s i ≤ hi) :
Real.exp (-G.data.rate l * t) * mindTrace (G.state 0) i l + lo * (1 - Real.exp (-G.data.rate l * t)) ≤ mindTrace (G.state t) i l ∧ mindTrace (G.state t) i l ≤ Real.exp (-G.data.rate l * t) * mindTrace (G.state 0) i l + hi * (1 - Real.exp (-G.data.rate l * t))
theorem MindFormal.A641Practice.target_upper_from_raw {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) {z Q : ℝ} (hz : 0 < z) (hz₁ : z < 1 - d.activity.g) (r : RequiredRaw d.transform d.activity.g z Q) (hQ : Q ≤ rivalPool d u q s i) (hraw : restInput d u q s i + d.residue (mindTrace s i) ≤ r.raw) :
theorem MindFormal.A641Practice.target_lower_from_raw {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) {z Q : ℝ} (hz : 0 < z) (hz₁ : z < 1 - d.activity.g) (r : RequiredRaw d.transform d.activity.g z Q) (hQ : rivalPool d u q s i ≤ Q) (hraw : r.raw ≤ restInput d u q s i + d.residue (mindTrace s i)) :
noncomputable def MindFormal.A641Practice.chargeTime (rate debt capacity : ℝ) :
Equations
Instances For
    noncomputable def MindFormal.A641Practice.departureTime (rate z X bar : ℝ) :
    Equations
    Instances For
      noncomputable def MindFormal.A641Practice.deadlineTarget (rate duration x₀ bar : ℝ) :
      Equations
      Instances For
        theorem MindFormal.A641Practice.charge_time {rate debt capacity : ℝ} (hr : 0 < rate) (hd : 0 < debt) (hc : debt < capacity) :
        0 < chargeTime rate debt capacity ∧ Real.exp (-rate * chargeTime rate debt capacity) = 1 - debt / capacity
        theorem MindFormal.A641Practice.departure_curve {rate z X bar : ℝ} (hr : 0 < rate) (hz : z < bar) (hX : bar < X) :
        0 < departureTime rate z X bar ∧ referenceActivity rate z X (departureTime rate z X bar) = bar ∧ ∀ (t : ℝ), departureTime rate z X bar < t → referenceActivity rate z X t < bar
        theorem MindFormal.A641Practice.deadline_target {rate duration x₀ bar : ℝ} (hr : 0 < rate) (ht : 0 < duration) :
        referenceActivity rate (deadlineTarget rate duration x₀ bar) x₀ duration = bar ∧ ∀ (z : ℝ), bar ≤ referenceActivity rate z x₀ duration ↔ deadlineTarget rate duration x₀ bar ≤ z