MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.MarkClock

theorem MindFormal.A695LearningValue.mark_count_succ {Ω : Type u_1} (X : Ω → Set ℕ) (K : ℕ) (ω : Ω) :

A prefix count changes by exactly the next mark indicator.

theorem MindFormal.A695LearningValue.mark_count_le {Ω : Type u_1} (X : Ω → Set ℕ) (K : ℕ) (ω : Ω) :

The tail-count hitting index tests precisely the received prefix.

theorem MindFormal.A695LearningValue.mark_wait_eq_succ {Ω : Type u_1} (X : Ω → Set ℕ) {m : ℕ} (hm : 1 ≤ m) (K : ℕ) (ω : Ω) :
theorem MindFormal.A695LearningValue.ConditionalMarks.wait_mass {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration ℕ mΩ} {mark : ℕ → Set Ω} {p : ↑unitInterval} (h : ConditionalMarks ℱ mark p) {m : ℕ} (hm : 1 ≤ m) (K : ℕ) (hK : m ≤ K) :
μ.real {ω : Ω | A641Practice.BernoulliSlots.waitingSlots m ω = ↑K} = ↑((K - 1).choose (m - 1)) * ↑p ^ m * (1 - ↑p) ^ (K - m)

CC9.8's negative-binomial mass, derived from the conditional mark law.

theorem MindFormal.A695LearningValue.ConditionalMarks.wait_cdf {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration ℕ mΩ} {mark : ℕ → Set Ω} {p : ↑unitInterval} (h : ConditionalMarks ℱ mark p) (m K : ℕ) :
μ.real {ω : Ω | A641Practice.BernoulliSlots.waitingSlots m ω ≤ ↑K} = ∑ d ∈ Finset.Icc m K, ↑(K.choose d) * ↑p ^ d * (1 - ↑p) ^ (K - d)