MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch04.LearningWindows

Chapter 4's tools on a verified continuing-learning reference: the (C3)/(C6) target bounds from link, cue-activity and input bounds; the (C4)–(C5) act and exclusion windows for any read; the (B) and (O) link writes of 04.17; and the (R1) focus renewal of 04.26. Each holds on the reference of every draw; the corridor event carries it to the actual run.

04.17a (C3): I's transform is nondecreasing on the whole line: zero on the nonpositive inputs, nonnegative, and strictly increasing on the positive ones.

def MindFormal.otherLoad {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :

04.17a (C3): the pool load on content i besides its own transformed input: the floor and every other content's transformed input.

Equations
Instances For
    def MindFormal.otherInput {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i c : Fin N) :

    04.17a (C6): content i's raw input besides the route from cue c: its drive, its residue and every other incoming relation times its sender's activity.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.assembledInputs_split {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i c : Fin N) :
      assembledInputs d u q s i = d.transform.ψ (mindRelation s i c * mindActivity s c + otherInput d u q s i c)

      04.17a (C6): content i's transformed input is ψ of its cue route W_ic x_c plus the rest.

      theorem MindFormal.normalizedTarget_split {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :

      04.17a (C3): content i's target is its share J_i/(J_i+S_i) of the one pool, less the offset and clipped at zero, with S_i the rest of the pool.

      theorem MindFormal.share_le {J J' S S' : ℝ} (hJ : 0 ≤ J) (hJJ : J ≤ J') (hS : 0 < S') (hSS : S' ≤ S) :
      J / (J + S) ≤ J' / (J' + S')

      04.17a (C3): the share J/(J+S) rises with J≥0 and falls with S>0.

      theorem MindFormal.target_le_zero_of_input {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) (hJ : assembledInputs d u q s i ≤ d.activity.g / (1 - d.activity.g) * otherLoad d u q s i) :

      04.22 (T1a): a transformed input at most g/(1-g) times the rest of the pool leaves the target at zero: the share J/(J+S) is then at most the offset g.

      theorem MindFormal.target_le_of_drive_cap {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) {e I S Tc : ℝ} (he : d.drive (u i) (q i) (mindValue s i) ≤ e) (hI : d.residue (mindTrace s i) + ∑ l : Fin N, mindRelation s i l * mindActivity s l ≤ I) (hS : S ≤ otherLoad d u q s i) (hT : 0 ≤ Tc) (hθ : d.activity.g + Tc < 1) (hcap : d.transform.ψ (e + I) ≤ (d.activity.g + Tc) / (1 - (d.activity.g + Tc)) * S) :

      04.33 (TC11): a raw input whose drive is at most e and whose other part (residue and every relation) is at most I, with ψ(e+I)≤θ/(1-θ) times a lower bound S on the rest of the pool, θ=g+T<1 and T≥0, keeps the target at most T.

      theorem MindFormal.binding_drift_lower {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 j : Fin N) {pm pp a wp Es mm : ℝ} (hβ0 : 0 ≤ d.β) (hβ1 : d.β ≤ 1) (hp : pm ≤ d.presence (mindTrace s j)) (hpp : d.presence (mindTrace s j) ≤ pp) (ha : 0 ≤ a) (hx : a ≤ mindActivity s i) (hW : mindRelation s i j ≤ wp) (hwp0 : 0 ≤ wp) (hwp : wp < pm) (hEs : 0 ≤ Es) (hE : -Es ≤ d.drive (u i) (q i) (mindValue s i) - ∑ l : Fin N, mindRelation s i l * mindActivity s l) (hmm : 0 ≤ mm) (hm : mm ≤ d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|) (hd : 0 ≤ d.β * a * (pm - wp) - (1 - d.β) * pp * Es) :
      mm * (d.β * a * (pm - wp) - (1 - d.β) * pp * Es) ≤ assembledDrift d u q s (Sum.inl (i, j))

      04.17 (B): a held link j→i whose sender presence lies in [p₋,p₊], receiver activity is at least a≥0, link at most w₊ with 0≤w₊<p₋, prediction error at least -E*, E*≥0, and gain at least m₋≥0 has complete II drift at least m₋d₊, d₊=βa(p₋-w₊)-(1-β)p₊E*≥0. Both terms of II are kept.

      theorem MindFormal.omission_drift_upper {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 Λ) (r j : Fin N) {pm pp sm a0 mm : ℝ} (hβ0 : 0 ≤ d.β) (hβ1 : d.β ≤ 1) (hp : pm ≤ d.presence (mindTrace s j)) (hpp : d.presence (mindTrace s j) ≤ pp) (hpm : 0 ≤ pm) (hsm : 0 ≤ sm) (hE : d.drive (u r) (q r) (mindValue s r) - ∑ l : Fin N, mindRelation s r l * mindActivity s l ≤ -sm) (hW : 0 ≤ mindRelation s r j) (hx0 : 0 ≤ mindActivity s r) (hx : mindActivity s r ≤ a0) (hmm : 0 ≤ mm) (hm : mm ≤ d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|) (hd : 0 ≤ (1 - d.β) * pm * sm - d.β * a0 * pp) :
      assembledDrift d u q s (Sum.inl (r, j)) ≤ -(mm * ((1 - d.β) * pm * sm - d.β * a0 * pp))

      04.17 (O): a route j→r to a predicted receiver whose sender presence lies in [p₋,p₊] with p₋≥0, whose prediction exceeds its drive by s₋≥0, with link at least zero, receiver activity in [0,a₀] and gain at least m₋≥0, has complete II drift at most -m₋d₋, d₋=(1-β)p₋s₋-βa₀p₊≥0. Both terms of II are kept.

      theorem MindFormal.cessation_drift_upper {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 j : Fin N) {e Ip Cm Cp Wm xp mm : ℝ} (hβ0 : 0 ≤ d.β) (hβ1 : d.β ≤ 1) (he : d.drive (u i) (q i) (mindValue s i) ≤ e) (hIp : Ip ≤ ∑ l : Fin N, mindRelation s i l * mindActivity s l) (hcut : e < Ip) (hp : Cm ≤ d.presence (mindTrace s j)) (hpp : d.presence (mindTrace s j) ≤ Cp) (hCm : 0 ≤ Cm) (hW : Wm ≤ mindRelation s i j) (hx0 : 0 ≤ mindActivity s i) (hx : mindActivity s i ≤ xp) (hmm : 0 < mm) (hm : mm ≤ d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|) (hΔ : 0 < (1 - d.β) * Cm * (Ip - e) - d.β * xp * max (Cp - Wm) 0) :
      assembledDrift d u q s (Sum.inl (i, j)) ≤ -(mm * ((1 - d.β) * Cm * (Ip - e) - d.β * xp * max (Cp - Wm) 0))

      04.33 (TC11): with drive at most e below the full prediction Σ_l W_il x_l ≥ I₋, sender presence in [C₋,C₊] (C₋≥0), link at least W₋, receiver activity in [0,x₊] and gain at least m₋>0, the complete II drift of W_ij is at most -m₋Δ_W, Δ_W=(1-β)C₋(I₋-e)-βx₊(C₊-W₋)_+>0.

      noncomputable def MindFormal.LearningRun.refAct {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

      04.17a (C4): a content's activity on the verified continuing reference of draw z.

      Equations
      Instances For
        noncomputable def MindFormal.LearningRun.refState {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) :
        MindState (Fin N) n T Λ

        04.17: the reference state of draw z at time t.

        Equations
        Instances For
          noncomputable def MindFormal.LearningRun.refDrift {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) :
          MindState (Fin N) n T Λ

          04.17: the complete drift of the continuing reference of draw z at time t, with that reference's own input and focus mode.

          Equations
          Instances For
            noncomputable def MindFormal.LearningRun.refPresence {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (j : Fin N) (t : ℝ) :

            04.17 (B), (O): sender j's presence c(r_j) on the continuing reference of draw z.

            Equations
            Instances For
              noncomputable def MindFormal.LearningRun.refError {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

              04.17 (B), (O): receiver i's prediction error E_i=e_i-Σ_l W_il x_l on the continuing reference of draw z, its drive taken with the reference's own input and focus mode.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                noncomputable def MindFormal.LearningRun.refGain {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) :

                04.17 (B), (O): the write gain M(|δ|) on the continuing reference of draw z.

                Equations
                Instances For
                  noncomputable def MindFormal.LearningRun.refOtherInput {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i c : Fin N) (t : ℝ) :

                  04.17a (C6): content i's raw input besides cue c's route, on the reference of draw z.

                  Equations
                  Instances For
                    noncomputable def MindFormal.LearningRun.refOtherLoad {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

                    04.17a (C3): the rest of the pool beside content i, on the reference of draw z.

                    Equations
                    Instances For
                      noncomputable def MindFormal.LearningRun.refDrive {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

                      04.33 (TC11): content i's drive D(u,q,v) on the reference of draw z, with that reference's own input and focus mode.

                      Equations
                      Instances For
                        noncomputable def MindFormal.LearningRun.refNondrive {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

                        04.33 (TC11): content i's raw input besides its drive, residue plus every relation times its sender's activity, on the reference of draw z.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          noncomputable def MindFormal.LearningRun.refPrediction {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

                          04.33 (TC11): content i's full relation prediction Σ_l W_il x_l on the reference of draw z.

                          Equations
                          Instances For
                            noncomputable def MindFormal.LearningRun.refInput {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

                            04.17a (C3): content i's transformed input J_i=ψ(I_i) on the reference of draw z.

                            Equations
                            Instances For
                              theorem MindFormal.learningRun_refAct_nonneg {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :
                              0 ≤ C.refAct z i t

                              04.17a (C4): reference activity is nonnegative, since the continuing reference is physical.

                              theorem MindFormal.learningRun_relation_change {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) :
                              C.refCoordinate z (Sum.inl (i, j)) t1 - C.refCoordinate z (Sum.inl (i, j)) t0 = ∫ (s : ℝ) in t0..t1, C.refDrift z s (Sum.inl (i, j))

                              04.17 (W): on the continuing reference, a relation's change over [t₀,t₁] is the integral of its complete II drift.

                              theorem MindFormal.learningRun_relation_lower {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 rate : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hrate : ∀ s ∈ Set.Icc t0 t1, rate ≤ C.refDrift z s (Sum.inl (i, j))) :
                              rate * (t1 - t0) ≤ C.refCoordinate z (Sum.inl (i, j)) t1 - C.refCoordinate z (Sum.inl (i, j)) t0

                              04.17 (W): a lower rate on a relation's complete drift over [t₀,t₁] gives at least that rate times the duration of increase on the continuing reference.

                              theorem MindFormal.learningRun_relation_upper {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 rate : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hrate : ∀ s ∈ Set.Icc t0 t1, C.refDrift z s (Sum.inl (i, j)) ≤ rate) :
                              C.refCoordinate z (Sum.inl (i, j)) t1 - C.refCoordinate z (Sum.inl (i, j)) t0 ≤ rate * (t1 - t0)

                              04.17 (W), retention: an upper rate on a relation's complete drift over [t₀,t₁] bounds its increase on the continuing reference by that rate times the duration.

                              theorem MindFormal.learningRun_refAct_lower {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) {t0 t c z0 : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑C.horizon) (hz0 : z0 ≤ C.refAct z i t0) (hc : ∀ s ∈ Set.Ioc t0 t, c ≤ (C.reference z).target i s) :

                              04.17a (C4): a lower target bound c on (t₀,t] and a start at least z₀ keep the reference activity at t at or above the held curve toward c from z₀.

                              theorem MindFormal.learningRun_refAct_upper {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) {t0 t c z0 : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑C.horizon) (hz0 : C.refAct z i t0 ≤ z0) (hc : ∀ s ∈ Set.Ioc t0 t, (C.reference z).target i s ≤ c) :

                              04.17a (C4): an upper target bound c on (t₀,t] and a start at most z₀ keep the reference activity at t at or below the held curve toward c from z₀.

                              structure MindFormal.LearningTargetWindow {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (p U : ℝ) :

                              04.17a (C4)–(C5): an act window on the continuing reference of draw z, for any read. From phase p to U≤H: the winner's target is at least its lower target and its start at least its lower start, and once its activity reaches need its read is at the action bar plus the score error (read); its held curve reaches need by U. Every other output's target is at most its upper target from its upper start, and while its activity is under that held curve its read is below the bar minus the score error. Nothing is assumed about scores beyond the read's own values at the bounded activities.

                              Instances For
                                def MindFormal.LearningTargetWindow.margins {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i : Fin N} {p U : ℝ} (W : LearningTargetWindow C z i p U) :

                                04.17a (C5): the reference score window of a target window: the held curves put the winner at the bar plus the error at U and every rival below the bar minus the error through U.

                                Equations
                                • W.margins = { phase := p, phase_nonneg := ⋯, phase_lower := ⋯, lower_nonneg := ⋯, ordered := ⋯, within := ⋯, output := ⋯, winner := ⋯, before := ⋯, rivals := ⋯ }
                                Instances For
                                  structure MindFormal.LearningExclusion {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (a b : ℝ) :

                                  04.17a (C4)–(C5): an exclusion window for output i on the continuing reference of draw z: on [a,b]⊆[0,H] its target is at most target, its start at most start, and while its activity is under that held curve its read is below the action bar minus the score error.

                                  Instances For
                                    theorem MindFormal.LearningExclusion.below {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i : Fin N} {a b : ℝ} (E : LearningExclusion C z i a b) (t : ℝ) :
                                    t ∈ Set.Icc a b → C.score z i t < C.data.reads.actionBar - C.error

                                    04.17a (C5): an exclusion window keeps the reference score below the action bar minus the score error throughout [a,b].

                                    theorem MindFormal.learningRun_no_act {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {z : Ω} (hz : z ∈ C.good) (i : Fin N) {a b : ℝ} (ha : 0 ≤ a) (hb : b ≤ ↑C.horizon) (below : ∀ t ∈ Set.Icc a b, C.score z i t < C.data.reads.actionBar - C.error) (k : ℕ) :
                                    z ∉ C.act k i a b

                                    04.17a (C5), V: on the corridor event, a reference score below the action bar minus the computed score error throughout [a,b]⊆[0,H] excludes every actual act of that output in [a,b], in every native slot.

                                    theorem MindFormal.learningRun_focus_renewal {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) (i : Fin N) {z : Ω} (hz : z ∈ C.good) (R1 : ∀ t ∈ Set.Icc 0 ↑C.horizon, LearningFocusMargin C hY z i t) :
                                    (∀ (k : ℕ), ↑k * C.data.pause true ≤ ↑C.horizon → (C.focus z).release k = ↑k * C.data.pause true ∧ ((C.focus z).search k).event = some (↑k * C.data.pause true, i)) ∧ ∀ t ∈ Set.Icc 0 ↑C.horizon, (C.data.toPhysicalNoiseData.globalData z).pulse t i = 1

                                    04.26 (R1): reference awareness, attention and unique-score margins for content i at every time of [0,H] select i at every native focus release kρ≤H on the corridor event: each release is kρ and each search returns i there, so its own pulse is renewed without a gap throughout [0,H].

                                    theorem MindFormal.learningRun_binding_gain {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 pm pp a wp Es mm : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hβ0 : 0 ≤ C.data.toPhysicalNoiseData.data.β) (hβ1 : C.data.toPhysicalNoiseData.data.β ≤ 1) (hp : ∀ s ∈ Set.Icc t0 t1, pm ≤ C.refPresence z j s ∧ C.refPresence z j s ≤ pp) (ha : 0 ≤ a) (hx : ∀ s ∈ Set.Icc t0 t1, a ≤ C.refAct z i s) (hW : ∀ s ∈ Set.Icc t0 t1, C.refCoordinate z (Sum.inl (i, j)) s ≤ wp) (hwp0 : 0 ≤ wp) (hwp : wp < pm) (hEs : 0 ≤ Es) (hE : ∀ s ∈ Set.Icc t0 t1, -Es ≤ C.refError z i s) (hmm : 0 ≤ mm) (hm : ∀ s ∈ Set.Icc t0 t1, mm ≤ C.refGain z s) (hd : 0 ≤ C.data.toPhysicalNoiseData.data.β * a * (pm - wp) - (1 - C.data.toPhysicalNoiseData.data.β) * pp * Es) :
                                    mm * (C.data.toPhysicalNoiseData.data.β * a * (pm - wp) - (1 - C.data.toPhysicalNoiseData.data.β) * pp * Es) * (t1 - t0) ≤ C.refCoordinate z (Sum.inl (i, j)) t1 - C.refCoordinate z (Sum.inl (i, j)) t0

                                    04.17 (B), (W): on the continuing reference of draw z, a held link j→i whose sender presence stays in [p₋,p₊], receiver activity at least a≥0, link at most w₊ with 0≤w₊<p₋, prediction error at least -E*, E*≥0, and gain at least m₋≥0 throughout [t₀,t₁] rises by at least m₋d₊(t₁-t₀), d₊=βa(p₋-w₊)-(1-β)p₊E*≥0, with both terms of II kept.

                                    theorem MindFormal.learningRun_omission_loss {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (r j : Fin N) {t0 t1 pm pp sm a0 mm : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hβ0 : 0 ≤ C.data.toPhysicalNoiseData.data.β) (hβ1 : C.data.toPhysicalNoiseData.data.β ≤ 1) (hp : ∀ s ∈ Set.Icc t0 t1, pm ≤ C.refPresence z j s ∧ C.refPresence z j s ≤ pp) (hpm : 0 ≤ pm) (hsm : 0 ≤ sm) (hE : ∀ s ∈ Set.Icc t0 t1, C.refError z r s ≤ -sm) (hW : ∀ s ∈ Set.Icc t0 t1, 0 ≤ C.refCoordinate z (Sum.inl (r, j)) s) (hx : ∀ s ∈ Set.Icc t0 t1, C.refAct z r s ≤ a0) (hmm : 0 ≤ mm) (hm : ∀ s ∈ Set.Icc t0 t1, mm ≤ C.refGain z s) (hd : 0 ≤ (1 - C.data.toPhysicalNoiseData.data.β) * pm * sm - C.data.toPhysicalNoiseData.data.β * a0 * pp) :
                                    mm * ((1 - C.data.toPhysicalNoiseData.data.β) * pm * sm - C.data.toPhysicalNoiseData.data.β * a0 * pp) * (t1 - t0) ≤ C.refCoordinate z (Sum.inl (r, j)) t0 - C.refCoordinate z (Sum.inl (r, j)) t1

                                    04.17 (O), (W): on the continuing reference of draw z, a route j→r to a predicted receiver whose sender presence stays in [p₋,p₊] with p₋≥0, whose prediction exceeds its drive by s₋≥0, with link at least zero, receiver activity at most a₀ and gain at least m₋≥0 throughout [t₀,t₁] falls by at least m₋d₋(t₁-t₀), d₋=(1-β)p₋s₋-βa₀p₊≥0.

                                    structure MindFormal.LinkedWindow {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i c : Fin N) (p U w cue : ℝ) :

                                    04.17a (C3)–(C6), success side: an act window for output i at cue-link level w≥0 and cue-activity level a≥0 from cue c on the reference of draw z. On (p,U] i's other raw input is at least B and the rest of the pool at most S, so a link of at least w and cue activity of at least a keep i's target at least [ψ(wa+B)/(ψ(wa+B)+S)-g]_+; from i's start that held curve reaches need by U, where i's read is at the action bar plus the score error; every other output is held below as in a target window.

                                    Instances For
                                      noncomputable def MindFormal.LinkedWindow.toWindow {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i c : Fin N} {p U w cue : ℝ} (W : LinkedWindow C z i c p U w cue) (hlink : ∀ s ∈ Set.Ioc p U, w ≤ C.refCoordinate z (Sum.inl (i, c)) s) (hcue : ∀ s ∈ Set.Ioc p U, cue ≤ C.refAct z c s) :

                                      04.17a (C6): a success certificate at link level w and cue level a, with a link of at least w and cue activity of at least a on (p,U], gives a target window: the (C3) share bound is derived from the link, cue, input and load bounds.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        structure MindFormal.LinkedExclusion {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i c : Fin N) (a b w cue : ℝ) :

                                        04.17a (C3)–(C6), failure side: an exclusion window for output i at cue-link level w≥0 and cue-activity level A from cue c on the reference of draw z. On (a,b] i's other raw input is at most B and the rest of the pool at least S>0, so a link of at most w and cue activity of at most A keep i's target at most [ψ(wA+B)/(ψ(wA+B)+S)-g]_+; while i's activity is under that held curve from its start, its read is below the action bar minus the score error.

                                        Instances For
                                          noncomputable def MindFormal.LinkedExclusion.toExclusion {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i c : Fin N} {a b w cue : ℝ} (E : LinkedExclusion C z i c a b w cue) (hlink : ∀ s ∈ Set.Ioc a b, C.refCoordinate z (Sum.inl (i, c)) s ≤ w) (hcue : ∀ s ∈ Set.Ioc a b, C.refAct z c s ≤ cue) :

                                          04.17a (C6): a failure certificate at link level w and cue level A, with a link of at most w and cue activity of at most A on (a,b], gives an exclusion window: the (C3) share bound is derived from the link, cue, input and load bounds.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            theorem MindFormal.referenceActivity_time_mono {ν c z t t' : ℝ} (hν : 0 ≤ ν) (hz : z ≤ c) (ht : t ≤ t') :

                                            04.17a (C4): from a start at or below its target, the held curve rises with time.

                                            theorem MindFormal.learningRun_linked_rise {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i c : Fin N) {t0 t w a B S z0 : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑C.horizon) (hw : 0 ≤ w) (ha : 0 ≤ a) (hz0 : z0 ≤ C.refAct z i t0) (hlink : ∀ s ∈ Set.Ioc t0 t, w ≤ C.refCoordinate z (Sum.inl (i, c)) s) (hcue : ∀ s ∈ Set.Ioc t0 t, a ≤ C.refAct z c s) (hrest : ∀ s ∈ Set.Ioc t0 t, B ≤ C.refOtherInput z i c s) (hload : ∀ s ∈ Set.Ioc t0 t, C.refOtherLoad z i s ≤ S) :

                                            04.17a (C6), (C4): on (t₀,t], a link of at least w≥0 from cue c, cue activity at least a≥0, other raw input at least B and the rest of the pool at most S keep content i's target at least [ψ(wa+B)/(ψ(wa+B)+S)-g]_+, so its reference activity at t is at least that held curve from any lower start z₀ at t₀.

                                            theorem MindFormal.learningRun_linked_fall {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i c : Fin N) {t0 t w A B S z0 : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑C.horizon) (hw : 0 ≤ w) (hS : 0 < S) (hz0 : C.refAct z i t0 ≤ z0) (hlink : ∀ s ∈ Set.Ioc t0 t, C.refCoordinate z (Sum.inl (i, c)) s ≤ w) (hcue : ∀ s ∈ Set.Ioc t0 t, C.refAct z c s ≤ A) (hrest : ∀ s ∈ Set.Ioc t0 t, C.refOtherInput z i c s ≤ B) (hload : ∀ s ∈ Set.Ioc t0 t, S ≤ C.refOtherLoad z i s) :

                                            04.17a (C6), (C4): on (t₀,t], a link of at most w≥0 from cue c, cue activity at most A, other raw input at most B and the rest of the pool at least S>0 keep content i's target at most [ψ(wA+B)/(ψ(wA+B)+S)-g]_+, so its reference activity at t is at most that held curve from any upper start z₀ at t₀.

                                            theorem MindFormal.referenceActivity_le_max {ν c z t : ℝ} (hν : 0 ≤ ν) (ht : 0 ≤ t) :

                                            04.17a (C4): at any nonnegative time the held curve lies at most the larger of its start and its target.

                                            theorem MindFormal.variation_bounds {Δ a f w0 : ℝ} (hΔ : 0 ≤ Δ) (ha : 0 < a) (μ F : ℝ → ℝ) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 Δ) (hF : IntervalIntegrable F MeasureTheory.volume 0 Δ) :
                                            ((∀ s ∈ Set.Icc 0 Δ, μ s ≤ a) → (∀ s ∈ Set.Icc 0 Δ, f ≤ F s) → 0 ≤ f → 0 ≤ w0 → w0 * Real.exp (-a * Δ) + f / a * (1 - Real.exp (-a * Δ)) ≤ Real.exp (-∫ (u : ℝ) in 0..Δ, μ u) * (w0 + ∫ (s : ℝ) in 0..Δ, Real.exp (∫ (u : ℝ) in 0..s, μ u) * F s)) ∧ ((∀ s ∈ Set.Icc 0 Δ, a ≤ μ s) → (∀ s ∈ Set.Icc 0 Δ, F s ≤ f) → 0 ≤ f → Real.exp (-∫ (u : ℝ) in 0..Δ, μ u) * (w0 + ∫ (s : ℝ) in 0..Δ, Real.exp (∫ (u : ℝ) in 0..s, μ u) * F s) ≤ max w0 0 * Real.exp (-a * Δ) + f / a * (1 - Real.exp (-a * Δ)))

                                            04.17a (E): bounds on the variation-of-constants value e^{-V(Δ)}(w₀+∫₀^Δ e^{V}F), V(s)=∫₀^s μ. With μ≤a, a>0, F≥f≥0 and w₀≥0 it is at least w₀e^{-aΔ}+(f/a)(1-e^{-aΔ}); with μ≥a and F≤f, f≥0, it is at most max{w₀,0}e^{-aΔ}+(f/a)(1-e^{-aΔ}).

                                            noncomputable def MindFormal.LearningRun.refLoss {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (t : ℝ) :

                                            04.17 (E): the loss rate A_ij=M[(1-β)c_j x_j+βx_i] of relation (i,j) on the reference of draw z.

                                            Equations
                                            Instances For
                                              noncomputable def MindFormal.LearningRun.refForcing {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (t : ℝ) :

                                              04.17 (E): the forcing F_ij=Mc_j[(1-β)(e_i-Σ_{l≠j}W_il x_l)+βx_i] of relation (i,j) on the reference of draw z, with every other sender in the prediction.

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                theorem MindFormal.learningRun_drift_forcing_loss {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (t : ℝ) :
                                                C.refDrift z t (Sum.inl (i, j)) = C.refForcing z i j t - C.refLoss z i j t * C.refCoordinate z (Sum.inl (i, j)) t

                                                04.17 (E): every complete II drift on the reference is its forcing minus its loss rate times the relation.

                                                theorem MindFormal.learningRun_loss_forcing_integrable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hb : b ≤ ↑C.horizon) :

                                                04.17 (E): on [a,b]⊆[0,H] the loss rate and the forcing of a relation on the reference are interval integrable: the gain is bounded and measurable along the measurable input, and the rest is continuous.

                                                theorem MindFormal.learningRun_relation_variation {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) :
                                                C.refCoordinate z (Sum.inl (i, j)) t1 = Real.exp (-∫ (u : ℝ) in 0..t1 - t0, C.refLoss z i j (u + t0)) * (C.refCoordinate z (Sum.inl (i, j)) t0 + ∫ (s : ℝ) in 0..t1 - t0, Real.exp (∫ (u : ℝ) in 0..s, C.refLoss z i j (u + t0)) * C.refForcing z i j (s + t0))

                                                04.17 (E): on the reference of draw z, a relation over [t₀,t₁]⊆[0,H] is exactly e^{-V}(W(t₀)+∫e^{V}F), with V the loss rate's integral from t₀: the variation-of-constants identity, written in the time elapsed since t₀.

                                                theorem MindFormal.learningRun_relation_exp_bounds {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 a f : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (ha : 0 < a) :
                                                ((∀ s ∈ Set.Icc t0 t1, C.refLoss z i j s ≤ a) → (∀ s ∈ Set.Icc t0 t1, f ≤ C.refForcing z i j s) → 0 ≤ f → 0 ≤ C.refCoordinate z (Sum.inl (i, j)) t0 → C.refCoordinate z (Sum.inl (i, j)) t0 * Real.exp (-a * (t1 - t0)) + f / a * (1 - Real.exp (-a * (t1 - t0))) ≤ C.refCoordinate z (Sum.inl (i, j)) t1) ∧ ((∀ s ∈ Set.Icc t0 t1, a ≤ C.refLoss z i j s) → (∀ s ∈ Set.Icc t0 t1, C.refForcing z i j s ≤ f) → 0 ≤ f → C.refCoordinate z (Sum.inl (i, j)) t1 ≤ max (C.refCoordinate z (Sum.inl (i, j)) t0) 0 * Real.exp (-a * (t1 - t0)) + f / a * (1 - Real.exp (-a * (t1 - t0))))

                                                04.17a (E), (B7), (P7): on the reference of draw z, over [t₀,t₁]⊆[0,H] with Δ=t₁-t₀: a loss rate at most a>0 and forcing at least f≥0 from W(t₀)≥0 keep the relation at t₁ at least W(t₀)e^{-aΔ}+(f/a)(1-e^{-aΔ}); a loss rate at least a and forcing at most f≥0 keep it at most max{W(t₀),0}e^{-aΔ}+(f/a)(1-e^{-aΔ}). No sign of the relation in between is needed.

                                                theorem MindFormal.learningRun_relation_episode {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 a f l b : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (ha : 0 < a) (hf : 0 ≤ f) (hl : 0 ≤ l) (hb : 0 ≤ b) (hloss : ∀ s ∈ Set.Icc t0 t1, 0 ≤ C.refLoss z i j s) :
                                                ((∀ s ∈ Set.Icc t0 t1, C.refLoss z i j s ≤ a) → (∀ s ∈ Set.Icc t0 t1, f ≤ C.refForcing z i j s) → l - b ≤ C.refCoordinate z (Sum.inl (i, j)) t0 → l * Real.exp (-a * (t1 - t0)) + f / a * (1 - Real.exp (-a * (t1 - t0))) - b ≤ C.refCoordinate z (Sum.inl (i, j)) t1) ∧ ((∀ s ∈ Set.Icc t0 t1, a ≤ C.refLoss z i j s) → (∀ s ∈ Set.Icc t0 t1, C.refForcing z i j s ≤ f) → C.refCoordinate z (Sum.inl (i, j)) t0 ≤ l + b → C.refCoordinate z (Sum.inl (i, j)) t1 ≤ l * Real.exp (-a * (t1 - t0)) + f / a * (1 - Real.exp (-a * (t1 - t0))) + b)

                                                04.23 (F2): one episode of (E) on the reference of draw z over [t₀,t₁]⊆[0,H], from a start written as an envelope l≥0 less (or plus) an accumulated error b≥0. With a nonnegative loss rate the kernel is at most one, so the error passes through the episode and is carried, not grown: the envelope moves to le^{-aΔ}+(f/a)(1-e^{-aΔ}) and the error stays b.

                                                theorem MindFormal.learningRun_episodes_lower {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {h a f w0 : ℝ} (e g : ℕ → ℝ) (c : ℕ) (hh : 0 ≤ h) (ha : 0 < a) (hf : 0 ≤ f) (hw0 : 0 ≤ w0) (hs : ∀ m < c, 0 ≤ e (m + 1) - h ∧ e (m + 1) ≤ ↑C.horizon) (hg : ∀ (m : ℕ), 0 ≤ g m) (episode : ∀ m < c, ∀ t ∈ Set.Icc (e (m + 1) - h) (e (m + 1)), 0 ≤ C.refLoss z i j t ∧ C.refLoss z i j t ≤ a ∧ f ≤ C.refForcing z i j t) (start : w0 ≤ C.refCoordinate z (Sum.inl (i, j)) (e 0)) (gap : ∀ m < c, C.refCoordinate z (Sum.inl (i, j)) (e m) - g m ≤ C.refCoordinate z (Sum.inl (i, j)) (e (m + 1) - h)) :
                                                w0 * Real.exp (-a * (↑c * h)) + f / a * (1 - Real.exp (-a * (↑c * h))) - ∑ k ∈ Finset.range c, g k ≤ C.refCoordinate z (Sum.inl (i, j)) (e c)

                                                04.23 (F2): c episodes of (E) on the reference of draw z, c≥0. Episode m<c runs over [e(m+1)-h, e(m+1)]⊆[0,H], h≥0, with loss rate in [0,a] and forcing at least f≥0; between the checkpoint e m and the start of episode m the relation falls by at most g m≥0. From W(e 0)≥w₀≥0 the relation at e c is at least w₀e^{-ach}+(f/a)(1-e^{-ach}) less the gaps: each gap is carried through the later kernels, at most one, and added; no gap is a reset. At c=0 the bound is the start.

                                                theorem MindFormal.learningRun_episodes_upper {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {h a f w0 : ℝ} (e g : ℕ → ℝ) (c : ℕ) (hh : 0 ≤ h) (ha : 0 < a) (hf : 0 ≤ f) (hs : ∀ m < c, 0 ≤ e (m + 1) - h ∧ e (m + 1) ≤ ↑C.horizon) (hg : ∀ (m : ℕ), 0 ≤ g m) (episode : ∀ m < c, ∀ t ∈ Set.Icc (e (m + 1) - h) (e (m + 1)), 0 ≤ C.refLoss z i j t ∧ a ≤ C.refLoss z i j t ∧ C.refForcing z i j t ≤ f) (start : C.refCoordinate z (Sum.inl (i, j)) (e 0) ≤ w0) (gap : ∀ m < c, C.refCoordinate z (Sum.inl (i, j)) (e (m + 1) - h) ≤ C.refCoordinate z (Sum.inl (i, j)) (e m) + g m) :
                                                C.refCoordinate z (Sum.inl (i, j)) (e c) ≤ max w0 0 * Real.exp (-a * (↑c * h)) + f / a * (1 - Real.exp (-a * (↑c * h))) + ∑ k ∈ Finset.range c, g k

                                                04.23 (F2): the upper twin of the episode envelope: with loss rate at least a>0 and forcing at most f≥0 in each episode, rises of at most g m≥0 between checkpoint and episode and W(e 0)≤w₀, the relation at e c is at most max{w₀,0}e^{-ach}+(f/a)(1-e^{-ach}) plus the gaps. At c=0 the bound is the start.

                                                structure MindFormal.LearningDelayedWindow {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i : Fin N) (p L U : ℝ) extends MindFormal.LearningTargetWindow C z i p U :

                                                04.32 (C8): an act window with a lower time bound: a target window from phase p to U whose winner, while its activity is under its upper held curve from its upper start, keeps its read below the action bar minus the score error before L (late_read).

                                                Instances For
                                                  def MindFormal.LearningDelayedWindow.margins {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i : Fin N} {p L U : ℝ} (W : LearningDelayedWindow C z i p L U) :

                                                  04.32 (C8): the score window of a delayed window: before L every output, the winner by its upper held curve and every rival by its own, is below the bar minus the error.

                                                  Equations
                                                  • W.margins = { phase := p, phase_nonneg := ⋯, phase_lower := ⋯, lower_nonneg := ⋯, ordered := ⋯, within := ⋯, output := ⋯, winner := ⋯, before := ⋯, rivals := ⋯ }
                                                  Instances For
                                                    def MindFormal.LearningRun.refUnqualified {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) (z : Ω) (j : Fin N) (t : ℝ) :

                                                    04.29, 04.32 (C5)–(C6): a content is unqualified for attention on the reference at t by more than the computed errors: its activity is below the awareness bar minus the state error, or its attention score below the attention bar minus the score error.

                                                    Equations
                                                    Instances For
                                                      structure MindFormal.LearningFocusWindowMargins {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) (z : Ω) (i : Fin N) (L U : ℝ) :

                                                      04.29, 04.32 (C5): reference focus margins on a window: from the phase until L every content is unqualified by more than the errors; i qualifies with both margins at U; every other content stays unqualified through U.

                                                      Instances For
                                                        theorem MindFormal.learningRun_focus_window_at {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) {z : Ω} (hz : z ∈ C.good) (k : ℕ) (i : Fin N) {L U : ℝ} (m : LearningFocusWindowMargins C hY z i L U) (hrelease : m.phase ≤ (C.focus z).release k ∧ (C.focus z).release k ≤ U) :
                                                        ∃ (t : ℝ), ((C.focus z).search k).event = some (t, i) ∧ t ∈ Set.Icc L U

                                                        04.29, 04.32 (C5): on the corridor event, focus margins and a focus release inside [phase,U] select i in that slot at a time in [L,U].

                                                        structure MindFormal.FocusTargetWindow {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) (z : Ω) (i : Fin N) (p L U : ℝ) :

                                                        04.32 (C5): a first-focus window at target level for any reads, from phase p: the winner's target is at least its lower target from its lower start so that its held curve reaches need by U, where both its reads clear their bars plus the errors; before L, while its activity is under its upper held curve, it is unqualified; every other content, while under its own upper held curve, is unqualified through U.

                                                        Instances For
                                                          def MindFormal.FocusTargetWindow.margins {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {hY : LocallyLipschitz ⇑C.data.reads.attention} {z : Ω} {i : Fin N} {p L U : ℝ} (W : FocusTargetWindow C hY z i p L U) :

                                                          04.32 (C5): the focus margins of a first-focus target window.

                                                          Equations
                                                          • W.margins = { phase := p, phase_nonneg := ⋯, phase_lower := ⋯, ordered := ⋯, within := ⋯, winner := ⋯, before := ⋯, rivals := ⋯ }
                                                          Instances For