MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.ExtinctionWriter

LI4.1 on the complete structural writer and its verified reference. The full gain, presence, competing predictions and changing input/focus remain.

def MindFormal.ExtinctionWriter.other {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (_d : MindDriftData (Fin N) n T Λ) (s : MindState (Fin N) n T Λ) (i k : Fin N) :
Equations
Instances For
    noncomputable def MindFormal.ExtinctionWriter.loss {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i k : Fin N) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MindFormal.ExtinctionWriter.force {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i k : Fin N) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.ExtinctionWriter.full_writer {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i k : Fin N) :
        assembledDrift d u q s (Sum.inl (i, k)) = force d u q s i k - loss d u s i k * mindRelation s i k
        theorem MindFormal.ExtinctionWriter.forcing_sign {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i k : Fin N) (hb : d.β < 1) (hm : 0 < currentGain d u s) (hc : 0 < d.presence (mindTrace s k)) :
        force d u q s i k < 0 ↔ other d s i k > d.drive (u i) (q i) (mindValue s i) + d.β * mindActivity s i / (1 - d.β)
        theorem MindFormal.ExtinctionWriter.reference {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i k : Fin N) {t : ℝ} (ht : 0 ≤ t) (hH : t ≤ ↑H) (hL : IntervalIntegrable (fun (w : ℝ) => loss d (R.input w) (↑(R.realPath w)) i k) MeasureTheory.volume 0 t) (hF : IntervalIntegrable (fun (w : ℝ) => force d (R.input w) (R.mode w) (↑(R.realPath w)) i k) MeasureTheory.volume 0 t) :
        have L := fun (w : ℝ) => loss d (R.input w) (↑(R.realPath w)) i k; have F := fun (w : ℝ) => force d (R.input w) (R.mode w) (↑(R.realPath w)) i k; have W := fun (w : ℝ) => mindRelation (↑(R.realPath w)) i k; W t = Real.exp (-∫ (w : ℝ) in 0..t, L w) * (W 0 + ∫ (w : ℝ) in 0..t, Real.exp (∫ (u : ℝ) in 0..w, L u) * F w) ∧ (W t < 0 ↔ W 0 + ∫ (w : ℝ) in 0..t, Real.exp (∫ (u : ℝ) in 0..w, L u) * F w < 0)

        The integrating factor is formed from the actual complete reference coefficients. Neither its weighted forcing nor the acquired sign is supplied.

        theorem MindFormal.ExtinctionWriter.nonnegative {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i k : Fin N) {t : ℝ} (ht : 0 ≤ t) (hH : t ≤ ↑H) (hL : IntervalIntegrable (fun (w : ℝ) => loss d (R.input w) (↑(R.realPath w)) i k) MeasureTheory.volume 0 t) (hF : IntervalIntegrable (fun (w : ℝ) => force d (R.input w) (R.mode w) (↑(R.realPath w)) i k) MeasureTheory.volume 0 t) (initial : 0 ≤ mindRelation (↑(R.realPath 0)) i k) (forcing : ∀ w ∈ Set.Icc 0 t, 0 ≤ force d (R.input w) (R.mode w) (↑(R.realPath w)) i k) :
        0 ≤ mindRelation (↑(R.realPath t)) i k
        theorem MindFormal.ExtinctionWriter.control {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {J : Type u_3} [Fintype J] (I : EquationInstance N n T Λ J) (A : InstanceAdmission I) {H : NNReal} (R : LearningReference I.drift H) (i k : Fin N) {t : ℝ} (ht : 0 ≤ t) (hH : t ≤ ↑H) (hL : IntervalIntegrable (fun (w : ℝ) => loss I.drift (R.input w) (↑(R.realPath w)) i k) MeasureTheory.volume 0 t) (hF : IntervalIntegrable (fun (w : ℝ) => force I.drift (R.input w) (R.mode w) (↑(R.realPath w)) i k) MeasureTheory.volume 0 t) (initial : 0 ≤ mindRelation (↑(R.realPath 0)) i k) (bounded_other : ∀ w ∈ Set.Icc 0 t, other I.drift (↑(R.realPath w)) i k ≤ I.drive (R.input w i) (R.mode w i) (mindValue (↑(R.realPath w)) i) + I.β * mindActivity (↑(R.realPath w)) i / (1 - I.β)) :
        0 ≤ mindRelation (↑(R.realPath t)) i k

        The source's throughout control derives the forcing sign; that sign is not an extra hypothesis supplied to the nonnegative-coordinate conclusion.