MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.PracticeRoutes

LI2.3 on the full existing native search, including every third route and native priority. The held new-route curve is derived from I.

def MindFormal.PracticeRoutes.third {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (old fresh : Fin N) (t : ℝ) :

Raw no-third-winner condition, permitting qualified third-route ties.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.PracticeRoutes.select {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (H : ℝ) (winner other : Fin N) {t : ℝ} (ht : t ∈ Set.Icc 0 H) (hw : G.reads.outputs winner = true) (hvalue : PracticeSequence.score G t winner = G.reads.actionBar) (hother : PracticeSequence.score G t other ≤ G.reads.actionBar) (hpriority : PracticeSequence.score G t other = G.reads.actionBar → winner ≤ other) (before : ∀ s ∈ Set.Ico 0 t, PracticeSequence.score G s winner < G.reads.actionBar ∧ PracticeSequence.score G s other < G.reads.actionBar) (no_third : ∀ s ∈ Set.Icc 0 t, third G winner other s) :
    ((G.native H false).search 0).event = some (t, winner)
    theorem MindFormal.PracticeRoutes.two_routes {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : ℝ → LearningReference d H) (G : ℝ → PhysicalGlobalData N n T Λ) (old fresh : Fin N) {V Gload g omega limit delta gamma Dold : ℝ} (hn : 0 < d.activity.ν) (hG : 0 < Gload) (hg : 0 ≤ g) (hchi : 0 < omega - V) (hd : 0 < delta) (hgamma : 0 < gamma) (hD : 0 < Dold) (hH : Dold ≤ ↑H) (hpriority : old ≤ fresh) (hbranch : g + (omega - V) / (1 - Real.exp (-d.activity.ν * Dold)) < 1) (hbelow : limit - delta < PracticeThresholds.required Gload g ((omega - V) / (1 - Real.exp (-d.activity.ν * Dold)))) (habove : PracticeThresholds.required Gload g ((omega - V) / (1 - Real.exp (-d.activity.ν * Dold))) < limit) (hbar : ∀ k ∈ Set.Ici 0, (G k).reads.actionBar = omega) (hout : ∀ k ∈ Set.Ici 0, (G k).reads.outputs old = true ∧ (G k).reads.outputs fresh = true) (path : ∀ k ∈ Set.Ici 0, ∀ t ∈ Set.Icc 0 ↑H, (G k).realPath t = (R k).realPath t) (read : ∀ k ∈ Set.Ici 0, ∀ (s : PhysicalState N n T Λ), ((G k).reads.scores false) s fresh = mindActivity (↑s) fresh + V) (initial : ∀ k ∈ Set.Ici 0, mindActivity (↑((R k).realPath 0)) fresh = 0) (held : ∀ k ∈ Set.Ici 0, ∀ s ∈ Set.Ioc 0 ↑H, (R k).target fresh s = PracticeThresholds.target (limit - delta * Real.exp (-gamma * k)) Gload g) (old_at : ∀ k ∈ Set.Ici 0, PracticeSequence.score (G k) Dold old = omega) (old_before : ∀ k ∈ Set.Ici 0, ∀ t ∈ Set.Ico 0 Dold, PracticeSequence.score (G k) t old < omega) (no_third : ∀ k ∈ Set.Ici 0, ∀ t ∈ Set.Icc 0 Dold, third (G k) old fresh t) :
    have star := PracticeThresholds.required Gload g ((omega - V) / (1 - Real.exp (-d.activity.ν * Dold))); have cut := 1 / gamma * Real.log (delta / (limit - star)); 0 < cut ∧ (∀ k ∈ Set.Ici 0, k ≤ cut → (((G k).native (↑H) false).search 0).event = some (Dold, old)) ∧ (∀ k ∈ Set.Ici 0, cut < k → ∃ t ∈ Set.Ico 0 Dold, (((G k).native (↑H) false).search 0).event = some (t, fresh)) ∧ ∀ (k : ℕ), cut < ↑k ↔ ⌊cut⌋₊ + 1 ≤ k