MindFormal v1.0.0One Mind

MindFormal.Run.A1043LongRunAttention.Cover

Paper 2, long-run attention, (14): the cover time after any fixed origin s, conditionally on everything known at s, has finite mean and an explicit exponential tail. The blocks are the cover blocks of length š” = N(log 4/ν + ρ); a block succeeds when the activity moment at its start is at most 2š’³* and the original sources follow the cover plan within the tube radius. Success makes the run select every content within the block.

noncomputable def MindFormal.A1043LongRunAttention.coverTime {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] (G : PhysicalGlobalData N n T Ī›) (s : ā„) :

The cover time after s: the least t such that every content has a native focus selection in [s, s + t] (⊤ if none).

Equations
Instances For
    noncomputable def MindFormal.A1043LongRunAttention.returnTime {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] (G : PhysicalGlobalData N n T Ī›) (s : ā„) (i : Fin N) :

    The wait after s until content i's next native focus selection (⊤ if none).

    Equations
    Instances For
      theorem MindFormal.A1043LongRunAttention.coverTime_le {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] (G : PhysicalGlobalData N n T Ī›) {s : ā„} {t : NNReal} (h : āˆ€ (j : Fin N), ∃ (k : ā„•) (u : ā„), G.event true k = some (u, j) ∧ u ∈ Set.Icc s (s + ↑t)) :
      coverTime G s ≤ ↑t
      theorem MindFormal.A1043LongRunAttention.returnTime_le_coverTime {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] (G : PhysicalGlobalData N n T Ī›) (s : ā„) (i : Fin N) :
      noncomputable def MindFormal.A1043LongRunAttention.coverLen {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) :

      (9)'s cover block length š” = N(log 4/ν + ρ).

      Equations
      Instances For
        noncomputable def MindFormal.A1043LongRunAttention.coverB {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (Fb : ā„) :

        (7)'s amplitude for this mind and value-read bound J.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MindFormal.A1043LongRunAttention.coverW {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (Fb : ā„) (i : Fin N) :
          ā„ → ā„

          The cover plan of content i's activity innovation.

          Equations
          Instances For
            noncomputable def MindFormal.A1043LongRunAttention.coverWLip {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (Fb : ā„) (i : Fin N) :

            Its Lipschitz constant.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MindFormal.A1043LongRunAttention.coverPrice {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (Fb : ā„) :

              (11)'s block success price š”­.

              Equations
              Instances For
                noncomputable def MindFormal.A1043LongRunAttention.coverTheta {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) :

                (13)'s Ļ‘ = e^{āˆ’Ī½š”}.

                Equations
                Instances For
                  theorem MindFormal.A1043LongRunAttention.coverLen_pos {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (hN : 0 < N) :
                  theorem MindFormal.A1043LongRunAttention.coverW_lipschitz {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (Fb : ā„) (i : Fin N) :
                  LipschitzWith (coverWLip E Fb i) (coverW E Fb i)
                  theorem MindFormal.A1043LongRunAttention.coverW_zero {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (Fb : ā„) (i : Fin N) :
                  coverW E Fb i 0 = 0
                  theorem MindFormal.A1043LongRunAttention.cover_success {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (F : (Fin n → T → ā„) → ā„) {Fb : ā„} (hY : āˆ€ (z : NativeReadState n T), E.mind.reads.attention z = (↑z).1 + F (↑z).2) (hF : āˆ€ (v : Fin n → T → ā„), |F v| ≤ Fb) (hpos : āˆ€ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ī©) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) (hN : 0 < N) (s : NNReal) {ω : Ī©} (hg : E.data.toPhysicalNoiseData.Good ω) {m : ā„•} (hS : ω ∈ planS E (coverW E Fb) (coverLen E) s m) (j : Fin N) :
                  ∃ (k : ā„•) (u : ā„), (E.data.toPhysicalNoiseData.globalData ω).event true k = some (u, j) ∧ u ∈ Set.Icc (↑(s + ↑m * coverLen E)) (↑(s + ↑m * coverLen E) + ↑(coverLen E))

                  A successful cover block visits every content inside the block.

                  theorem MindFormal.A1043LongRunAttention.cover_le_of_success {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (F : (Fin n → T → ā„) → ā„) {Fb : ā„} (hY : āˆ€ (z : NativeReadState n T), E.mind.reads.attention z = (↑z).1 + F (↑z).2) (hF : āˆ€ (v : Fin n → T → ā„), |F v| ≤ Fb) (hpos : āˆ€ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ī©) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) (hN : 0 < N) (s : NNReal) {ω : Ī©} (hg : E.data.toPhysicalNoiseData.Good ω) {m M : ā„•} (hm : m < M) (hS : ω ∈ planS E (coverW E Fb) (coverLen E) s m) :

                  After a success in block m < M, the cover time is at most Mš”.

                  theorem MindFormal.A1043LongRunAttention.cover_bounds {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (F : (Fin n → T → ā„) → ā„) {Fb : ā„} (hY : āˆ€ (z : NativeReadState n T), E.mind.reads.attention z = (↑z).1 + F (↑z).2) (hF : āˆ€ (v : Fin n → T → ā„), |F v| ≤ Fb) (hpos : āˆ€ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ī©) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) (hN : 0 < N) (s : NNReal) {A : Set Ī©} (hA : MeasurableSet A) :

                  The cover after every fixed origin, (14).

                  theorem MindFormal.A1043LongRunAttention.cover_recurrence {N n : ā„•} {T : Type u_1} {Ī› : Type u_2} [Fintype T] [Fintype Ī›] {Ī© : Type u_3} [MeasurableSpace Ī©] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ī© N n T Ī› J) (F : (Fin n → T → ā„) → ā„) {Fb : ā„} (hY : āˆ€ (z : NativeReadState n T), E.mind.reads.attention z = (↑z).1 + F (↑z).2) (hF : āˆ€ (v : Fin n → T → ā„), |F v| ≤ Fb) (hpos : āˆ€ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ī©) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) :
                  āˆ€įµ (ω : Ī©) āˆ‚E.ground.μ, āˆ€ (sā‚€ : ā„) (j : Fin N), ∃ (k : ā„•) (u : ā„), (E.data.toPhysicalNoiseData.globalData ω).event true k = some (u, j) ∧ sā‚€ ≤ u

                  Every content is selected again after every time, almost surely.