MindFormal v1.0.0One Mind

MindFormal.Run.CompanionAttention.LatencyStatistics

Native latency statistics. The response interval is derived from the complete process and both guards before the exceptional tails are charged.

noncomputable def MindFormal.CompanionAttention.detectionLower {Ω : 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) (K z e₀ dT b : ℝ) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MindFormal.CompanionAttention.detectionUpper {Ω : 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) (K z e₀ dT b : ℝ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      structure MindFormal.CompanionAttention.LiveDetection {Ω : 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)) (K z e₀ dT b : ℝ) (G : Set Ω) (ε : ℝ) :
      Instances For
        theorem MindFormal.CompanionAttention.native_latency_good {Ω : 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)) (K z e₀ dT b ε : ℝ) (G : Set Ω) (C : LiveDetection E a H i K z e₀ dT b G ε) (RT : Ω → ℝ) (hRT : NativeLatencyRead E a RT) :
        ∀ᵐ (ω : Ω) ∂μ, ω ∈ G → RT ω ∈ Set.Icc (detectionLower E a K z e₀ dT b) (detectionUpper E a K z e₀ dT b)
        theorem MindFormal.CompanionAttention.native_latency_nonnegative_bounds {Ω : 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)) (K z e₀ dT b ε : ℝ) (G : Set Ω) (C : LiveDetection E a H i K z e₀ dT b G ε) :
        0 ≤ detectionLower E a K z e₀ dT b ∧ 0 ≤ detectionUpper E a K z e₀ dT b
        theorem MindFormal.CompanionAttention.native_latency_mean_bounds {Ω : 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)) (K z e₀ dT b ε M : ℝ) (G : Set Ω) (C : LiveDetection E a H i K z e₀ dT b G ε) (RT : Ω → ℝ) (hRT : NativeLatencyRead E a RT) (hf : MeasureTheory.MemLp RT 2 μ) (h0 : 0 ≤ᵐ[μ] RT) (hM : 0 ≤ M) (hsecond : ∫ (ω : Ω), RT ω ^ 2 ∂μ ≤ M ^ 2) :
        detectionLower E a K z e₀ dT b * (1 - ε) ≤ ∫ (ω : Ω), RT ω ∂μ ∧ ∫ (ω : Ω), RT ω ∂μ ≤ detectionUpper E a K z e₀ dT b + M * √ε
        theorem MindFormal.CompanionAttention.native_latency_median_bounds {Ω : 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)) (K z e₀ dT b ε : ℝ) (G : Set Ω) (C : LiveDetection E a H i K z e₀ dT b G ε) (RT : Ω → ℝ) (hRT : NativeLatencyRead E a RT) (m : ℝ) (hbelow : 1 / 2 ≤ μ.real {ω : Ω | RT ω ≤ m}) (habove : 1 / 2 ≤ μ.real {ω : Ω | m ≤ RT ω}) :
        m ∈ Set.Icc (detectionLower E a K z e₀ dT b) (detectionUpper E a K z e₀ dT b)