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
- MindFormal.ExtinctionWriter.other _d s i k = ∑ j ∈ Finset.univ.erase k, MindFormal.mindRelation s i j * MindFormal.mindActivity s j
Instances For
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)
:
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.β))
:
The source's throughout control derives the forcing sign; that sign is not an extra hypothesis supplied to the nonnegative-coordinate conclusion.