MindFormal v1.0.0One Mind

MindFormal.Run.A1043LongRunAttention.CoverBlock

Paper 2, long-run attention, (7)–(9) pathwise: the cover block. Stage k < N lasts a ramp 𝔰 = log 4/Ξ½ and a plateau ρ; on it the planned innovation of content k rises with slope Ξ½b and every other falls with slope Ξ½b. If the run starts the block with every activity at most R and every actual activity innovation stays within 1 of its plan, then k is IV's qualifying winner throughout stage k's plateau, so it is natively selected there: the block visits every content. b pays for the awareness bar Ξ±, the attention bar ΞΉ, the value read's bound J and the block's accumulated innovation errors. Nothing is assumed of values, links, input or actions.

The ramp 𝔰 = log 4/Ξ½.

Equations
Instances For
    noncomputable def MindFormal.A1043LongRunAttention.coverAmp (R Tp Fb Ξ± ΞΉ : ℝ) (N : β„•) :

    The cover amplitude b, for start bound R, target bound T⁺, value-read bound J, bars α, ι and N contents.

    Equations
    Instances For

      Stage k's sign for content i.

      Equations
      Instances For
        noncomputable def MindFormal.A1043LongRunAttention.coverPath (Ξ½ ρ b : ℝ) (N : β„•) (i : Fin N) :
        ℝ β†’ ℝ

        The cover plan for content i.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.A1043LongRunAttention.exp_ramp {Ξ½ : ℝ} (hΞ½ : 0 < Ξ½) :
          Real.exp (-Ξ½ * ramp Ξ½) = 1 / 4
          theorem MindFormal.A1043LongRunAttention.ramp_pos {Ξ½ : ℝ} (hΞ½ : 0 < Ξ½) :
          0 < ramp Ξ½
          theorem MindFormal.A1043LongRunAttention.score_eq {N n : β„•} {T : Type u_1} {Ξ› : Type u_2} [Fintype T] [Fintype Ξ›] (G : PhysicalGlobalData N n T Ξ›) (F : (Fin n β†’ T β†’ ℝ) β†’ ℝ) (hY : βˆ€ (z : NativeReadState n T), G.reads.attention z = (↑z).1 + F (↑z).2) (t : ℝ) (l : Fin N) :

          The score of content l on the run is its activity plus the value read.

          theorem MindFormal.A1043LongRunAttention.guard_eq {N n : β„•} {T : Type u_1} {Ξ› : Type u_2} [Fintype T] [Fintype Ξ›] (G : PhysicalGlobalData N n T Ξ›) (F : (Fin n β†’ T β†’ ℝ) β†’ ℝ) (hY : βˆ€ (z : NativeReadState n T), G.reads.attention z = (↑z).1 + F (↑z).2) (t : ℝ) (l : Fin N) :
          theorem MindFormal.A1043LongRunAttention.dominant_wins {N n : β„•} {T : Type u_1} {Ξ› : Type u_2} [Fintype T] [Fintype Ξ›] (G : PhysicalGlobalData N n T Ξ›) (F : (Fin n β†’ T β†’ ℝ) β†’ ℝ) (hY : βˆ€ (z : NativeReadState n T), G.reads.attention z = (↑z).1 + F (↑z).2) (t : ℝ) (j : Fin N) (hΞ± : G.reads.awarenessBar ≀ mindActivity (G.state t) j) (hΞΉ : G.reads.attentionBar ≀ mindActivity (G.state t) j + F (mindValue (G.state t) j)) (hgap : βˆ€ (l : Fin N), l β‰  j β†’ mindActivity (G.state t) l + F (mindValue (G.state t) l) < mindActivity (G.state t) j + F (mindValue (G.state t) j)) :

          Dominance makes the winner. If j clears the awareness and attention bars and its score exceeds every other content's, it is IV's qualifying winner.

          theorem MindFormal.A1043LongRunAttention.cover_pathwise {N n : β„•} {T : Type u_1} {Ξ› : Type u_2} [Fintype T] [Fintype Ξ›] (G : PhysicalGlobalData N n T Ξ›) (F : (Fin n β†’ T β†’ ℝ) β†’ ℝ) {Fb : ℝ} (hY : βˆ€ (z : NativeReadState n T), G.reads.attention z = (↑z).1 + F (↑z).2) (hF : βˆ€ (v : Fin n β†’ T β†’ ℝ), |F v| ≀ Fb) {s R : ℝ} (hs : 0 ≀ s) (hR : 0 ≀ R) (hx : βˆ€ (i : Fin N), mindActivity (G.state s) i ≀ R) (hΞΎ : βˆ€ (i : Fin N), βˆ€ r ∈ Set.Icc s (s + ↑N * (ramp G.data.activity.Ξ½ + G.pause true)), |G.driver r.toNNReal (Sum.inr (Sum.inl i)) - G.driver s.toNNReal (Sum.inr (Sum.inl i)) - coverPath G.data.activity.Ξ½ (G.pause true) (coverAmp R (1 - G.data.activity.g) Fb G.reads.awarenessBar G.reads.attentionBar N) N i (r - s)| ≀ 1) (j : Fin N) :
          βˆƒ (k : β„•) (t : ℝ), G.event true k = some (t, j) ∧ t ∈ Set.Icc s (s + ↑N * (ramp G.data.activity.Ξ½ + G.pause true))

          The cover block visits every content.