MindFormal v1.0.0One Mind

MindFormal.Run.CompanionAttention.Count

Expected counts of literal native attention events, including the worst possible adverse count on the exceptional paths.

theorem MindFormal.CompanionAttention.native_count_cap {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (H : NNReal) (ω : Ω) (i : Fin (N a)) :
theorem MindFormal.CompanionAttention.native_count_measurable {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (H : NNReal) (i : Fin (N a)) :
Measurable fun (ω : Ω) => nativeSelectionCount E a H ω i
theorem MindFormal.CompanionAttention.native_count_integrable {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (H : NNReal) (i : Fin (N a)) :
MeasureTheory.Integrable (fun (ω : Ω) => ↑(nativeSelectionCount E a H ω i)) μ
def MindFormal.CompanionAttention.ReleaseBudget {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (H : NNReal) (ω : Ω) (i : Fin (N a)) (t₀ : ℝ) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.CompanionAttention.native_count_mean {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (H : NNReal) (i j : Fin (N a)) (hlo : ∀ (l : Fin (N a)), l = i ∨ l = j → (E.normal.range a).lower (Sum.inr (Sum.inl l)) = some 0) (hup : ∀ (l : Fin (N a)), l = i ∨ l = j → (E.normal.range a).upper (Sum.inr (Sum.inl l)) = none) (G : Set Ω) (hG : MeasurableSet G) (z : ℝ) (Klo Khi Rlo Rhi : Fin (N a) → ℝ) (b d ε : ℝ) (hfirst : ∀ ω ∈ G, FirstCaptureBudget E a H ω i j z Klo Khi Rlo Rhi b d) (hreturn : ∀ ω ∈ G, ∀ t₀ ∈ Set.Icc 0 d, ((nativeClock E a H ω true).search 0).event = some (t₀, i) → ReleaseBudget E a H ω i t₀) (hprob : 1 - ε ≤ μ.real G) (hε : ε < (1 + ↑⌊(↑H - d) / (E.observed.member a).pause true⌋₊) / (1 + ↑⌊(↑H - d) / (E.observed.member a).pause true⌋₊ + (1 + ↑⌊↑H / (E.observed.member a).pause true⌋₊))) :
    (1 + ↑⌊(↑H - d) / (E.observed.member a).pause true⌋₊) * (1 - ε) - (1 + ↑⌊↑H / (E.observed.member a).pause true⌋₊) * ε ≤ ∫ (ω : Ω), ↑(nativeSelectionCount E a H ω i) - ↑(nativeSelectionCount E a H ω j) ∂μ ∧ 0 < ∫ (ω : Ω), ↑(nativeSelectionCount E a H ω i) - ↑(nativeSelectionCount E a H ω j) ∂μ