MindFormal v1.0.0One Mind

MindFormal.Example.A705SupportPrograms.SharedFormDecay

Tools for the quiet phases: two-cell noise windows, open-window coordinate faces, and the decaying activity face ψ(s) = ψ₀ e^{-1.3(s-a)} + 10⁻⁶ with its strict step and its dose.

theorem MindFormal.A705SupportPrograms.Shared.open_upper_face (G : PhysicalGlobalData 6 2 Unit Unit) (c : CoordinateIndex (Fin 6) 2 Unit Unit) (hc : mindFloor c = false) {a t u b : ℝ} (ha : 0 ≤ a) (hat : a ≤ t) (hstart : G.state a c ≤ u) (hnoise : ∀ s ∈ Set.Icc a t, |G.driver s.toNNReal c| ≤ b) (B : ℝ → ℝ) (hB : IntervalIntegrable B MeasureTheory.volume a t) (hB0 : ∀ s ∈ Set.Icc a t, 0 ≤ B s) (hd : ∀ s ∈ Set.Ioo a t, u < G.state s c → assembledDrift G.data (G.input s) (G.pulse s) (G.state s) c ≤ B s) :
G.state t c ≤ (u + ∫ (s : ℝ) in a..t, B s) + 2 * b

A coordinate face whose drift bound is needed on the open window only.

theorem MindFormal.A705SupportPrograms.Shared.open_lower_face (G : PhysicalGlobalData 6 2 Unit Unit) (c : CoordinateIndex (Fin 6) 2 Unit Unit) (hc : mindFloor c = false) {a t u b : ℝ} (ha : 0 ≤ a) (hat : a ≤ t) (hstart : u ≤ G.state a c) (hnoise : ∀ s ∈ Set.Icc a t, |G.driver s.toNNReal c| ≤ b) (B : ℝ → ℝ) (hB : IntervalIntegrable B MeasureTheory.volume a t) (hB0 : ∀ s ∈ Set.Icc a t, 0 ≤ B s) (hd : ∀ s ∈ Set.Ioo a t, G.state s c < u → -B s ≤ assembledDrift G.data (G.input s) (G.pulse s) (G.state s) c) :
(u - ∫ (s : ℝ) in a..t, B s) - 2 * b ≤ G.state t c
noncomputable def MindFormal.A705SupportPrograms.Shared.psi (a ψ₀ s : ℝ) :

The decaying activity face.

Equations
Instances For
    theorem MindFormal.A705SupportPrograms.Shared.psi_anti {a ψ₀ : ℝ} (hψ : 0 ≤ ψ₀) {s s' : ℝ} (h : s ≤ s') :
    psi a ψ₀ s' ≤ psi a ψ₀ s
    theorem MindFormal.A705SupportPrograms.Shared.psi_integral {a ψ₀ t : ℝ} (hψ : 0 ≤ ψ₀) :
    ∫ (s : ℝ) in a..t, psi a ψ₀ s ≤ ψ₀ * (10 / 13) + (t - a) / 10 ^ 6

    The face's integral.

    theorem MindFormal.A705SupportPrograms.Shared.two_cell_noise (G : PhysicalGlobalData 6 2 Unit Unit) (hcell : ∀ k < cellCount, ∀ r ∈ Set.Icc (↑k / 100) ((↑k + 1) / 100), ∀ (i : Fin 6), |G.driver r.toNNReal (actRow i) - G.driver (↑k / 100).toNNReal (actRow i)| ≤ 5 / 10 ^ 8) (n : ℕ) (hn : n + 2 ≤ cellCount) {r : ℝ} (hr : r ∈ Set.Icc (↑n / 100) ((↑n + 2) / 100)) (i : Fin 6) :
    |G.driver r.toNNReal (Sum.inr (Sum.inl i)) - G.driver (↑n / 100).toNNReal (Sum.inr (Sum.inl i))| ≤ 1 / 10 ^ 7

    Two consecutive cells' increments.

    theorem MindFormal.A705SupportPrograms.Shared.window_noise (G : PhysicalGlobalData 6 2 Unit Unit) (hcell : ∀ k < cellCount, ∀ r ∈ Set.Icc (↑k / 100) ((↑k + 1) / 100), ∀ (i : Fin 6), |G.driver r.toNNReal (actRow i) - G.driver (↑k / 100).toNNReal (actRow i)| ≤ 5 / 10 ^ 8) {t : ℝ} (ht : 2 / 100 ≤ t) (htH : t ≤ 140183 / 10) :
    t - 2 / 100 ≤ ↑(⌈100 * t⌉₊ - 2) / 100 ∧ ↑(⌈100 * t⌉₊ - 2) / 100 ≤ t - 1 / 100 ∧ ∀ r ∈ Set.Icc (↑(⌈100 * t⌉₊ - 2) / 100) t, ∀ (i : Fin 6), |G.driver r.toNNReal (Sum.inr (Sum.inl i)) - G.driver (↑(⌈100 * t⌉₊ - 2) / 100).toNNReal (Sum.inr (Sum.inl i))| ≤ 1 / 10 ^ 7

    The window from the cell boundary one to two cells back.

    theorem MindFormal.A705SupportPrograms.Shared.decay_step (G : PhysicalGlobalData 6 2 Unit Unit) (hcell : ∀ k < cellCount, ∀ r ∈ Set.Icc (↑k / 100) ((↑k + 1) / 100), ∀ (i : Fin 6), |G.driver r.toNNReal (actRow i) - G.driver (↑k / 100).toNNReal (actRow i)| ≤ 5 / 10 ^ 8) (n₀ : ℕ) (i : Fin 6) {ψ₀ t : ℝ} (hψ : 1 / 100 ≤ ψ₀) (ht : ↑n₀ / 100 ≤ t) (htH : t ≤ 140183 / 10) (hn₀ : n₀ + 2 ≤ cellCount) (hν : G.data.activity.ν = 100) (h0 : G.x (↑n₀ / 100) i + 2 / 10 ^ 7 < 987 / 1000 * ψ₀) (hx : ∀ r ∈ Set.Icc (↑n₀ / 100) t, G.x r i ≤ psi (↑n₀ / 100) ψ₀ r) (hT : ∀ r ∈ Set.Ioo (↑n₀ / 100) t, G.target i r ≤ 95 / 100 * psi (↑n₀ / 100) ψ₀ r ∧ (2 * psi (↑n₀ / 100) ψ₀ r ≤ 77 / 1000 → G.target i r = 0)) :
    G.x t i < psi (↑n₀ / 100) ψ₀ t

    The decaying face's strict step for one A/B activity. On the prefix the activity stays under ψ; the target is under .95 ψ and vanishes once 2ψ ≤ .077.