MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.DrawSequential

theorem MindFormal.A695LogicPaper.PrivatePaper.conditional_prefix_bill {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (initial : Set Ω) (stage : ℕ → Set Ω) (p : ℕ → ℝ) (hp : ∀ (k : ℕ), 0 ≤ p k) (hstep : ∀ (k : ℕ), μ.real (initial ∩ prefixEvent stage k ∩ (stage k)ᶜ) ≤ p k * μ.real (initial ∩ prefixEvent stage k)) (count : ℕ) :
μ.real (initial ∩ prefixEvent stage count)ᶜ ≤ μ.real initialᶜ + ∑ k ∈ Finset.range count, p k

First failures pay actual conditional prices on the preceding successful prefix. Neither the actual bits nor their failures are assumed independent.

theorem MindFormal.A695LogicPaper.PrivatePaper.classified_prefix_bill {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (initial : Set Ω) (stage : ℕ → Set Ω) (isDraw : ℕ → Bool) {po ps : ℝ} (ho : 0 ≤ po) (hs : 0 ≤ ps) (hstep : ∀ (k : ℕ), μ.real (initial ∩ prefixEvent stage k ∩ (stage k)ᶜ) ≤ (if isDraw k = true then ps else po) * μ.real (initial ∩ prefixEvent stage k)) (count ordinary draws : ℕ) (hordinary : {k ∈ Finset.range count | isDraw k = false}.card = ordinary) (hdraws : {k ∈ Finset.range count | isDraw k = true}.card = draws) :
μ.real (initial ∩ prefixEvent stage count)ᶜ ≤ μ.real initialᶜ + ↑ordinary * po + ↑draws * ps

A finite battery pays its initialization, ordinary blocks, Draw blocks, and separately charged paper/information errors exactly once.