MindFormal v1.0.0One Mind

MindFormal.Equations.Writing

def MindFormal.writerFactor (β presence activity error weight : ℝ) :

The complete Equation II bracket before its positive common write gain.

Equations
Instances For
    theorem MindFormal.writer_forcing_loss (β p source receiver e residual w : ℝ) :
    writerFactor β p receiver (e - w * source - residual) w = p * ((1 - β) * (e - residual) + β * receiver) - ((1 - β) * p * source + β * receiver) * w

    05.21, 05.26 HW1: separating one relation from its full prediction row gives forcing minus loss times that relation. The residual includes every other column. Both correction and binding writers remain in the identity.

    theorem MindFormal.writer_gain_sign {gain factor : ℝ} (hg : 0 < gain) :
    (0 < gain * factor ↔ 0 < factor) ∧ (gain * factor < 0 ↔ factor < 0) ∧ (gain * factor = 0 ↔ factor = 0)

    05.21: a strictly positive surprise gain preserves the complete writer's sign, including zero. A larger gain is not itself evidence of positive writing.

    theorem MindFormal.writer_drift_lower {gain minimum factor bound : ℝ} (hm : 0 ≤ minimum) (hg : minimum ≤ gain) (hb : 0 ≤ bound) (hf : bound ≤ factor) :
    minimum * bound ≤ gain * factor

    04.28, 05.21. If the complete writer bracket is at least a nonnegative bound and its gain is at least a nonnegative minimum, their product is at least the product of those two bounds. This is the lower-product algebra used in 04.28 and 05.21; it includes a zero bracket bound.

    theorem MindFormal.gain_reference_difference (high low decay target start t : ℝ) :
    referenceActivity (high * decay) target start t - referenceActivity (low * decay) target start t = (target - start) * (Real.exp (-low * decay * t) - Real.exp (-high * decay * t))

    05.21: the difference between two constant-gain writing references is the remaining distance to their common equilibrium times an exponential difference. Both references start at the same value; this is not a noisy identity.

    theorem MindFormal.reinstatement_threshold {J R Y link U load : ℝ} (hJ : 0 < J) (hR : 0 < R) (hY : 0 < Y) (hpool : 0 < J + R + Y * link + U + load) :
    J / (J + R) < (J + Y * link + U) / (J + R + Y * link + U + load) ↔ (J * load / R - U) / Y < link

    05.25: with positive baseline numerator, remaining pool and cue activity, and a positive changed pool, the new pool share helps exactly when the cue link exceeds the printed full-pool threshold. For clipped targets the paper additionally requires both targets active; this theorem states the underlying share comparison.

    theorem MindFormal.full_row_solution {C : Type u_1} [Fintype C] (presence activity : C → ℝ) (β receiver input gain : ℝ) (hd : β * receiver + (1 - β) * ∑ j : C, presence j * activity j ≠ 0) (i : C) (t : ℝ) :
    have forcing := (1 - β) * input + β * receiver; have decay := β * receiver + (1 - β) * ∑ j : C, presence j * activity j; have row := fun (t : ℝ) (j : C) => presence j * referenceActivity (gain * decay) (forcing / decay) 0 t; HasDerivAt (fun (s : ℝ) => row s i) (gain * writerFactor β (presence i) receiver (input - ∑ j : C, row t j * activity j) (row t i)) t

    05.25, 05.26. For fixed presences, activities and real coefficients for receiver activity, drive, gain and binding, with nonzero full-row damping, the displayed zero-start row formula satisfies each coordinate's complete Equation II derivative at every real time. The damping sums every presence-times-activity product, and this constant-coefficient solution identity is the part used in 05.25 and 05.26 HW4.