MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.A804CoPresentRepair.RowError

(C4) at the subclass's free constants: the actual learned row i, written by both II writers along any activity/trace history in the box, stays within (E_0 + K_ref A_i + F_i + 3b) exp(A_i) of the constant-coholding (C1) row.

def MindFormal.A798CoPresentRecruit.rowWriter {N : ℕ} (m β Ui : ℝ) (i : Fin N) (x r w : Fin N → ℝ) :
Fin N → ℝ

Row i's complete II writer at activities x, traces r (c=r), row w, drive Ui and constant gain m: m[(1-β) r_j (Ui - Σ w_l x_l) + β x_i (r_j - w_j)].

Equations
Instances For
    theorem MindFormal.A798CoPresentRecruit.rowWriter_continuous {N : ℕ} (m β Ui : ℝ) (i : Fin N) :
    Continuous fun (p : (Fin N → ℝ) × (Fin N → ℝ) × (Fin N → ℝ)) => rowWriter m β Ui i p.1 p.2.1 p.2.2
    theorem MindFormal.A798CoPresentRecruit.lift_box_norm {N : ℕ} {r : Fin N → ℝ} {X : ℝ} (hX : 0 ≤ X) (hr : ∀ (j : Fin N), 0 ≤ r j ∧ r j ≤ X) :
    theorem MindFormal.A798CoPresentRecruit.rowWriter_forcing_bound {N : ℕ} {m β Ui U X : ℝ} (hm : 0 ≤ m) (hβ0 : 0 ≤ β) (hβ1 : β ≤ 1) (hX : 0 ≤ X) (hUi : |Ui| ≤ U) (i : Fin N) (a x r w : Fin N → ℝ) (hx : ∀ (j : Fin N), 0 ≤ x j ∧ x j ≤ X) (hr : ∀ (j : Fin N), 0 ≤ r j ∧ r j ≤ X) :

    The writer's forcing error against the held comparison at the actual row: φ + κ‖w‖ with the printed coefficients.

    theorem MindFormal.A798CoPresentRecruit.row_error_equation {N : ℕ} (m β Ui : ℝ) (i : Fin N) (a w₀ : Fin N → ℝ) {H : ℝ} (x r w : ℝ → Fin N → ℝ) (ξ : ℝ → EuclideanSpace ℝ (Fin N)) (hx : Continuous x) (hr : Continuous r) (hw : Continuous w) (hA : 0 < ∑ j : Fin N, a j ^ 2) (hd : (1 - β) * ∑ j : Fin N, a j ^ 2 + β * a i ≠ 0) (heq : ∀ t ∈ Set.Icc 0 H, ConceptPreparation.euclideanLift (w t) = (ConceptPreparation.euclideanLift (w 0) + ∫ (u : ℝ) in 0..t, ConceptPreparation.euclideanLift (rowWriter m β Ui i (x u) (r u) (w u))) + ξ t) (t : ℝ) :
    t ∈ Set.Icc 0 H → ConceptPreparation.euclideanLift (w t - coholdRow m β Ui (a i) a w₀ t) = (ConceptPreparation.euclideanLift (w 0 - w₀) + ∫ (u : ℝ) in 0..t, ConceptPreparation.euclideanLift (rowWriter m β Ui i (x u) (r u) (w u)) - ConceptPreparation.heldVector m β Ui (a i) a (w u) - (m * ((1 - β) * ∑ j : Fin N, a j ^ 2 + β * a i)) • (ConceptPreparation.activitySpan a).starProjection (ConceptPreparation.euclideanLift (w u - coholdRow m β Ui (a i) a w₀ u)) - (m * β * a i) • (ConceptPreparation.activitySpan a)ᗮ.starProjection (ConceptPreparation.euclideanLift (w u - coholdRow m β Ui (a i) a w₀ u))) + ξ t

    (C4)'s error equation at free β: the actual row minus the closed (C1) row has the exact two-mode loss and the derived forcing error.

    theorem MindFormal.A798CoPresentRecruit.row_error_gronwall {N : ℕ} {m β Ui U X Kref b H : ℝ} (hm : 0 ≤ m) (hβ0 : 0 ≤ β) (hβ1 : β < 1) (hX : 0 ≤ X) (hUi : |Ui| ≤ U) (hH : 0 ≤ H) (i : Fin N) (a w₀ : Fin N → ℝ) (ha : ∀ (j : Fin N), 0 ≤ a j) (hA : 0 < ∑ j : Fin N, a j ^ 2) (x r w : ℝ → Fin N → ℝ) (ξ : ℝ → EuclideanSpace ℝ (Fin N)) (hx : Continuous x) (hr : Continuous r) (hw : Continuous w) (hξ : Continuous ξ) (hbox : ∀ t ∈ Set.Icc 0 H, ∀ (j : Fin N), (0 ≤ x t j ∧ x t j ≤ X) ∧ 0 ≤ r t j ∧ r t j ≤ X) (hb : ∀ t ∈ Set.Icc 0 H, ‖ξ t‖ ≤ b) (href : ∀ t ∈ Set.Icc 0 H, ‖ConceptPreparation.euclideanLift (coholdRow m β Ui (a i) a w₀ t)‖ ≤ Kref) (heq : ∀ t ∈ Set.Icc 0 H, ConceptPreparation.euclideanLift (w t) = (ConceptPreparation.euclideanLift (w 0) + ∫ (u : ℝ) in 0..t, ConceptPreparation.euclideanLift (rowWriter m β Ui i (x u) (r u) (w u))) + ξ t) :
    have κ := fun (u : ℝ) => m * (((1 - β) * √↑N * X + β) * ‖ConceptPreparation.euclideanLift (x u - a)‖ + (1 - β) * ‖ConceptPreparation.euclideanLift a‖ * ‖ConceptPreparation.euclideanLift (r u - a)‖); have φ := fun (u : ℝ) => m * (((1 - β) * U + β * X) * ‖ConceptPreparation.euclideanLift (r u - a)‖ + β * ‖ConceptPreparation.euclideanLift a‖ * ‖ConceptPreparation.euclideanLift (x u - a)‖); ‖ConceptPreparation.euclideanLift (w H - coholdRow m β Ui (a i) a w₀ H)‖ ≤ (((‖ConceptPreparation.euclideanLift (w 0 - w₀)‖ + Kref * ∫ (u : ℝ) in 0..H, κ u) + ∫ (u : ℝ) in 0..H, φ u) + 3 * b) * Real.exp (∫ (u : ℝ) in 0..H, κ u)

    (C4) at free constants: Gronwall over the two-mode estimate.