MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.RowSolutions

Chapter 7's (Concepts) coholding row: II's complete row, both writers, solved exactly along a constant coholding activity and presence vector a, constant write gain m and a fixed receiver drive U (10.16 (C1)); it is the carried-bank row of 10.18 (AB1.5), CC7's corner row of 10.17 (CC9.11), the shedding rows of 10.15 (CC6.3) and the old fine row of 10.14 (CC5.6). Nothing here is tagged.

noncomputable def MindFormal.coholdLoss {N : ℕ} (m β ai : ℝ) (a : Fin N → ℝ) :
(Fin N → ℝ) →L[ℝ] Fin N → ℝ

(C1): the linear part of II's held row equation, w ↦ −m(ζa(aᵀw)+βa_iw), ζ=1−β.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.coholdLoss_apply {N : ℕ} (m β ai : ℝ) (a w : Fin N → ℝ) (j : Fin N) :
    (coholdLoss m β ai a) w j = -(m * ((1 - β) * a j * ∑ l : Fin N, a l * w l + β * ai * w j))
    def MindFormal.coholdSource {N : ℕ} (m β U ai : ℝ) (a : Fin N → ℝ) :
    Fin N → ℝ

    (C1): the source of II's held row equation, m(ζU+βa_i)a.

    Equations
    Instances For
      noncomputable def MindFormal.coholdRow {N : ℕ} (m β U ai : ℝ) (a w0 : Fin N → ℝ) (t : ℝ) :
      Fin N → ℝ

      (C1): the closed row w(t)=e^{−mβa_it}Q_aw⁰+e^{−md_it}P_aw⁰+(1−e^{−md_it})k_ia, with d_i=ζ‖a‖²+βa_i, k_i=(ζU+βa_i)/d_i and P_aw⁰=((aᵀw⁰)/‖a‖²)a.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.coholdRow_dot {N : ℕ} (m β U ai : ℝ) (a w0 : Fin N → ℝ) (t : ℝ) (hA : 0 < ∑ l : Fin N, a l ^ 2) :
        ∑ l : Fin N, a l * coholdRow m β U ai a w0 t l = Real.exp (-(m * ((1 - β) * ∑ l : Fin N, a l ^ 2 + β * ai) * t)) * ∑ l : Fin N, a l * w0 l + (1 - Real.exp (-(m * ((1 - β) * ∑ l : Fin N, a l ^ 2 + β * ai) * t))) * (((1 - β) * U + β * ai) / ((1 - β) * ∑ l : Fin N, a l ^ 2 + β * ai)) * ∑ l : Fin N, a l ^ 2
        theorem MindFormal.coholdRow_zero {N : ℕ} (m β U ai : ℝ) (a w0 : Fin N → ℝ) :
        coholdRow m β U ai a w0 0 = w0
        theorem MindFormal.coholdRow_hasDerivAt {N : ℕ} (m β U ai : ℝ) (a w0 : Fin N → ℝ) (t : ℝ) (hA : 0 < ∑ l : Fin N, a l ^ 2) (hd : (1 - β) * ∑ l : Fin N, a l ^ 2 + β * ai ≠ 0) :
        HasDerivAt (coholdRow m β U ai a w0) ((coholdLoss m β ai a) (coholdRow m β U ai a w0 t) + coholdSource m β U ai a) t

        (C1): the closed row solves II's held row equation ẇ=𝖧w+𝐝 with 𝖧 the loss and 𝐝 the source, when ‖a‖²>0 and d_i ≠ 0.

        theorem MindFormal.coholdRow_unique {N : ℕ} (m β U ai : ℝ) (a w0 : Fin N → ℝ) (hA : 0 < ∑ l : Fin N, a l ^ 2) (hd : (1 - β) * ∑ l : Fin N, a l ^ 2 + β * ai ≠ 0) (w : ℝ → Fin N → ℝ) (hw : ∀ (t : ℝ), HasDerivAt w ((coholdLoss m β ai a) (w t) + coholdSource m β U ai a) t) (h0 : w 0 = w0) :
        w = coholdRow m β U ai a w0

        (C1): the closed row is the only solution of II's held row equation from w⁰.

        theorem MindFormal.relationDrift_held {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 : Fin N) {m U : ℝ} (a : Fin N → ℝ) (hgain : currentGain d u s = m) (hdrive : d.drive (u i) (q i) (mindValue s i) = U) (hx : ∀ (j : Fin N), mindActivity s j = a j) (hc : ∀ (j : Fin N), d.presence (mindTrace s j) = a j) :
        (fun (j : Fin N) => assembledDrift d u q s (Sum.inl (i, j))) = (coholdLoss m d.β (a i) a) (mindRelation s i) + coholdSource m d.β U (a i) a

        II's relation drift, with the gain held at m, the receiver's drive at U and activity and presence both a, is the held row equation's right side.

        The alternating split calendar (10.15 (CC6.5)) #

        noncomputable def MindFormal.splitCycle (m β a ℓ : ℝ) (W : Fin 4 → Fin 4 → ℝ) :
        Fin 4 → Fin 4 → ℝ

        (CC6.5): one cycle of the alternating calendar on the four-content bank (P,A,B,Q): a block of length ℓ coholding G₁={P,A} at activity a, then one coholding G₂={B,Q}; every row follows II's held row over each block, active or not, with zero drives.

        Equations
        Instances For
          noncomputable def MindFormal.splitBank (β a w0 r s : ℝ) (n : ℕ) :
          Fin 4 → Fin 4 → ℝ

          (CC6.5): the closed bank after n cycles from the clique {P,A,B} at w₀ (Q unused): p_n=w_∞+(w₀−w_∞)k^n, q_n=w_∞(1−k^n), c_n=(w₀/2)(r^n+k^n), d_n=(w₀/2)(r^n−k^n), k=rs.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MindFormal.splitCycle_rows {m β a ℓ : ℝ} (ha : a ≠ 0) (hd1 : (1 - β) * (2 * a ^ 2) + β * a ≠ 0) {r s : ℝ} (hr : Real.exp (-(m * β * a * ℓ)) = r) (hs : Real.exp (-(m * ((1 - β) * (2 * a ^ 2)) * ℓ)) = s) (x y z : ℝ) :
            coholdRow m β 0 0 ![0, 0, a, a] (coholdRow m β 0 a ![a, a, 0, 0] ![x, x, y, z] ℓ) ℓ = ![β * a / (2 * (1 - β) * a + β) + (x - β * a / (2 * (1 - β) * a + β)) * (r * s), β * a / (2 * (1 - β) * a + β) + (x - β * a / (2 * (1 - β) * a + β)) * (r * s), r * ((y - z) / 2 + s * (y + z) / 2), r * (-(y - z) / 2 + s * (y + z) / 2)] ∧ coholdRow m β 0 a ![0, 0, a, a] (coholdRow m β 0 0 ![a, a, 0, 0] ![x, x, y, z] ℓ) ℓ = ![r * s * x, r * s * x, r * (y - z) / 2 + r * s * (y + z) / 2 + (1 - r * s) * (β * a / (2 * (1 - β) * a + β)), -(r * (y - z) / 2) + r * s * (y + z) / 2 + (1 - r * s) * (β * a / (2 * (1 - β) * a + β))]
            theorem MindFormal.splitCycle_bank {m β a ℓ : ℝ} (ha : a ≠ 0) (hd1 : (1 - β) * (2 * a ^ 2) + β * a ≠ 0) {r s : ℝ} (hr : Real.exp (-(m * β * a * ℓ)) = r) (hs : Real.exp (-(m * ((1 - β) * (2 * a ^ 2)) * ℓ)) = s) (w0 : ℝ) (n : ℕ) :
            splitCycle m β a ℓ (splitBank β a w0 r s n) = splitBank β a w0 r s (n + 1)

            (CC6.5): one cycle maps the closed bank at n to the closed bank at n+1.

            theorem MindFormal.splitCycle_iterate {m β a ℓ : ℝ} (ha : a ≠ 0) (hd1 : (1 - β) * (2 * a ^ 2) + β * a ≠ 0) {r s : ℝ} (hr : Real.exp (-(m * β * a * ℓ)) = r) (hs : Real.exp (-(m * ((1 - β) * (2 * a ^ 2)) * ℓ)) = s) (w0 : ℝ) (n : ℕ) :
            (splitCycle m β a ℓ)^[n] ![![w0, w0, w0, 0], ![w0, w0, w0, 0], ![w0, w0, w0, 0], ![0, 0, 0, 0]] = splitBank β a w0 r s n

            (CC6.5): from the clique {P,A,B} at w₀ with Q unused, the bank after n cycles is the closed bank: the four-by-four matrix in full.

            def MindFormal.cuePool (K0 h : ℝ) (W : Fin 4 → Fin 4 → ℝ) (j : Fin 4) :

            (CC6.6): the complete pool on a held cue of sender j at feature activity h: the floor and drive K₀ plus every receiver's positive raw input W_dj·h (the positive-part transform).

            Equations
            Instances For
              def MindFormal.splitReads (θ K0 h : ℝ) (W : Fin 4 → Fin 4 → ℝ) :

              (CC6.6): the four reads of the split-and-return test on a bank (P,A,B,Q) at the required share θ: the parent accepts the A cue, the parent rejects the B cue, Q accepts the B cue, and B returns on the Q cue.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def MindFormal.splitTests (θ K0 h w0 winf r k : ℝ) (n : ℕ) :

                (CC6.6): the four tests in the closed bank's entries p_n, q_n, c_n, d_n and pools 𝒫_A, 𝒫_B, 𝒫_Q.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem MindFormal.splitReads_iff {m β a ℓ : ℝ} (ha : a ≠ 0) (hd1 : (1 - β) * (2 * a ^ 2) + β * a ≠ 0) {r s : ℝ} (hr : Real.exp (-(m * β * a * ℓ)) = r) (hs : Real.exp (-(m * ((1 - β) * (2 * a ^ 2)) * ℓ)) = s) {θ K0 h w0 : ℝ} (hh : 0 ≤ h) (hw0 : 0 ≤ w0) (hwinf : w0 / 2 ≤ β * a / (2 * (1 - β) * a + β)) (hr1 : r ≤ 1) (hs1 : s ≤ 1) (n : ℕ) :
                  splitReads θ K0 h ((splitCycle m β a ℓ)^[n] ![![w0, w0, w0, 0], ![w0, w0, w0, 0], ![w0, w0, w0, 0], ![0, 0, 0, 0]]) ↔ splitTests θ K0 h w0 (β * a / (2 * (1 - β) * a + β)) r (r * s) n

                  (CC6.6): on the bank after n cycles, the four held-cue reads with the complete positive-part pools are exactly the four elementary tests in r^n and k^n=(rs)^n (0 ≤ r,s ≤ 1, w₀ ≥ 0, w_∞ ≥ w₀/2, h ≥ 0): the A, B and Q cues' pools are K₀+(2p_n+w₀k^n)h, K₀+(3c_n+2q_n)h and K₀+(2q_n−d_n)h, P's and A's negative Q links clipped to zero.