MindFormal v1.0.0One Mind

MindFormal.Run.ActualWriting

ORDER O01 additive module. Pathwise finite-interval facts about the actual constructed constant-amplitude run: its complete drift is integrable on every finite interval, and every signed or trace coordinate changes by the integral of its complete drift coordinate plus its own innovation increment. These are the equations of the run; no corridor, reference or probability event is assumed.

theorem MindFormal.physicalGlobal_drift_integrable {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) (ht : 0 ≤ t) :

05.21, 05.26 (HW2): the complete assembled drift of the actual global run is interval integrable on [0,t] for every t>=0; it agrees there with the integrable forcing of the finite coupled run on the horizon t.

theorem MindFormal.physicalGlobal_drift_coordinate_integrable {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (j : CoordinateIndex (Fin N) n T Λ) {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) :

05.21, 05.26 (HW2): one coordinate of the actual complete drift is interval integrable on every interval [a,b] with 0<=a<=b.

theorem MindFormal.physicalGlobal_increment {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (j : CoordinateIndex (Fin N) n T Λ) (hj : mindFloor j = false) {t0 t : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) :
G.state t j - G.state t0 j = (∫ (s : ℝ) in t0..t, assembledDrift G.data (G.input s) (G.pulse s) (G.state s) j) + (G.driver t.toNNReal j - G.driver t0.toNNReal j)

05.21 (21.2), 05.26 (HW2): on [t0,t] with 0<=t0<=t, every relation, value or trace coordinate of the actual run changes by the integral of its complete drift coordinate plus the increment of its own constant-amplitude innovation.

noncomputable def MindFormal.actualPresence {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (j : Fin N) (s : ℝ) :

05.21: the actual sender presence c(r_j) at real time s on the run G.

Equations
Instances For
    noncomputable def MindFormal.actualError {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) (s : ℝ) :

    05.21: the actual complete receiver error e_i-Σ_l W_il x_l at time s, with the run's own input, native focus pulse and learned values in the drive.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MindFormal.actualGain {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (s : ℝ) :

      05.21: the actual common write gain M(|δ|) at time s, from the complete III residual of the run.

      Equations
      Instances For
        theorem MindFormal.actual_writer_drift {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i j : Fin N) (s : ℝ) :

        05.21 (21.1): on the actual run, every Equation II drift is the common gain times the complete writer bracket with the actual presence and error.

        theorem MindFormal.barrier_upper {t0 t1 b : ℝ} (h01 : t0 ≤ t1) (w D B M : ℝ → ℝ) (hw : ContinuousOn w (Set.Icc t0 t1)) (hD : IntervalIntegrable D MeasureTheory.volume t0 t1) (hB : IntervalIntegrable B MeasureTheory.volume t0 t1) (hB0 : ∀ s ∈ Set.Icc t0 t1, 0 ≤ B s) (hM : ∀ s ∈ Set.Icc t0 t1, |M s| ≤ b) (hinc : ∀ a ∈ Set.Icc t0 t1, w t1 - w a = (∫ (s : ℝ) in a..t1, D s) + (M t1 - M a)) (hpos : ∀ s ∈ Set.Icc t0 t1, 0 < w s → D s ≤ B s) (hw0 : w t0 ≤ 0) :
        w t1 ≤ (∫ (s : ℝ) in t0..t1, B s) + 2 * b

        05.21 (21.4): a continuous path w on [t0,t1] that starts nonpositive, changes between any a in [t0,t1] and t1 by the integral of D plus the increment of a path M bounded by b, and has D<=B wherever w>0, with B>=0 integrable, ends at most the integral of B plus 2b.

        theorem MindFormal.actual_trace_upper {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) (l : Λ) {t0 t X : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hr0 : mindTrace (G.state t0) i l = 0) (hx : ∀ s ∈ Set.Icc t0 t, mindActivity (G.state s) i ≤ X) :
        mindTrace (G.state t) i l ≤ X * (1 - Real.exp (-G.data.rate l * (t - t0)))

        05.21 (21.4): if on [t0,t] a content's actual activity is at most X and its trace for rate index l is zero at t0, D4 keeps that trace at most X(1-exp(-λ_l(t-t0))); no noise enters traces.

        theorem MindFormal.actual_zero_target_representation {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (d : Fin N) {t0 t1 : ℝ} (h0 : 0 ≤ t0) (htarget : ∀ s ∈ Set.Icc t0 t1, normalizedTarget G.data.activity.σ G.data.activity.g (assembledInputs G.data (G.input s) (G.pulse s) (G.state s)) d = 0) (s : ℝ) (hs : s ∈ Set.Icc t0 t1) :
        mindActivity (G.state s) d = mindActivity (G.state t0) d * Real.exp (-G.data.activity.ν * (s - t0)) + (G.driver s.toNNReal (Sum.inr (Sum.inl d)) - G.driver t0.toNNReal (Sum.inr (Sum.inl d)) - G.data.activity.ν * ∫ (u : ℝ) in t0..s, Real.exp (-G.data.activity.ν * (s - u)) * (G.driver u.toNNReal (Sum.inr (Sum.inl d)) - G.driver t0.toNNReal (Sum.inr (Sum.inl d)))) + (G.realPush s d - G.realPush t0 d - G.data.activity.ν * ∫ (u : ℝ) in t0..s, Real.exp (-G.data.activity.ν * (s - u)) * (G.realPush u d - G.realPush t0 d))

        05.21 (21.5): while a content's complete actual target is zero on [t0,t1], its actual activity at every s there is x(t0)exp(-ν(s-t0)) plus the exponentially filtered innovation increment M and filtered push increment K: x(s)=x(t0)e^{-ν(s-t0)}+[M(s)-ν∫e^{-ν(s-u)}M]+[K(s)-ν∫e^{-ν(s-u)}K].

        theorem MindFormal.filtered_increment_bound {ν t0 t b : ℝ} (hν : 0 < ν) (ht : t0 ≤ t) (M : ℝ → ℝ) (hMc : Continuous M) (hM : ∀ u ∈ Set.Icc t0 t, |M u| ≤ b) :
        |M t - ν * ∫ (u : ℝ) in t0..t, Real.exp (-ν * (t - u)) * M u| ≤ 2 * b

        05.21 (21.5): with an innovation path M bounded by b on [t0,t], the filtered increment M(t)-ν∫e^{-ν(t-u)}M(u)du is at most 2b in absolute value.

        theorem MindFormal.actual_zero_target_decay {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (d : Fin N) {t0 t1 b : ℝ} (h0 : 0 ≤ t0) (htarget : ∀ s ∈ Set.Icc t0 t1, normalizedTarget G.data.activity.σ G.data.activity.g (assembledInputs G.data (G.input s) (G.pulse s) (G.state s)) d = 0) (hnoise : ∀ s ∈ Set.Icc t0 t1, |G.driver s.toNNReal (Sum.inr (Sum.inl d)) - G.driver t0.toNNReal (Sum.inr (Sum.inl d))| ≤ b) (t : ℝ) (ht : t ∈ Set.Icc t0 t1) :
        |mindActivity (G.state t) d - mindActivity (G.state t0) d * Real.exp (-G.data.activity.ν * (t - t0))| ≤ 4 * b

        05.21 (21.5): while a content's complete actual target is zero on [t0,t1] and its accumulated activity innovation stays within b, its actual activity stays within 4b of the decay curve x(t0)exp(-ν(t-t0)) throughout, with reflection at the activity floor retained.

        noncomputable def MindFormal.traceDecay (lr ν r0 x0 τ : ℝ) :

        05.21 (21.5): the comparison trace of rate λ driven by the activity x0·exp(-ν τ) from trace r0 after elapsed time τ: r0e^{-λτ}+λx0(e^{-ντ}-e^{-λτ})/(λ-ν) for λ≠ν, and r0e^{-λτ}+λx0τe^{-λτ} for λ=ν.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.traceDecay_deriv (lr ν r0 x0 τ : ℝ) :
          HasDerivAt (traceDecay lr ν r0 x0) (lr * (x0 * Real.exp (-ν * τ) - traceDecay lr ν r0 x0 τ)) τ

          05.21 (21.5): the comparison trace solves D4 with the decaying comparison activity, τ ↦ λ(x0·e^{-ντ}-traceDecay), in both the equal and unequal rate cases.

          theorem MindFormal.actual_trace_decay {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (d : Fin N) (l : Λ) {t0 t1 e : ℝ} (h0 : 0 ≤ t0) (hx : ∀ u ∈ Set.Icc t0 t1, |mindActivity (G.state u) d - mindActivity (G.state t0) d * Real.exp (-G.data.activity.ν * (u - t0))| ≤ e) (t : ℝ) (ht : t ∈ Set.Icc t0 t1) :
          |mindTrace (G.state t) d l - traceDecay (G.data.rate l) G.data.activity.ν (mindTrace (G.state t0) d l) (mindActivity (G.state t0) d) (t - t0)| ≤ e * (1 - Real.exp (-G.data.rate l * (t - t0)))

          05.21 (21.5): if on [t0,t1] a content's actual activity stays within e of x0·exp(-ν(t-t0)), each of its traces stays within e(1-exp(-λ(t-t0))) of the comparison trace traceDecay started from its own value at t0; traces carry no innovation.