theorem
MindFormal.PolicyTests.path_reach
{Ω : Type u_1}
[MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(edge : ℕ → Set Ω)
(p : ℕ → ℝ)
(d : ℕ)
(hp : ∀ k < d, 0 ≤ p k)
(hedge : ∀ k < d, p k ≤ conditionalSuccess μ edge k)
:
theorem
MindFormal.PolicyTests.no_visit
{Ω : Type u_1}
[MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(visit : ℕ → Set Ω)
{p : ℝ}
(hp : p ∈ Set.Icc 0 1)
(R : ℕ)
(opportunity :
∀ k < R,
μ.real (prefixEvent (fun (j : ℕ) => (visit j)ᶜ) (k + 1)) ≤ (1 - p) * μ.real (prefixEvent (fun (j : ℕ) => (visit j)ᶜ) k))
:
The block premise is conditional on the complete past of failures, including any retained native state. No independence is used.
theorem
MindFormal.PolicyTests.no_visit_conditional
{Ω : Type u_1}
[MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(visit : ℕ → Set Ω)
{p : ℝ}
(hp : p ∈ Set.Icc 0 1)
(R : ℕ)
(hm : ∀ k < R, MeasurableSet (visit k))
(opportunity :
∀ k < R,
μ.real (prefixEvent (fun (j : ℕ) => (visit j)ᶜ) k) ≠ 0 →
p ≤ μ.real (prefixEvent (fun (j : ℕ) => (visit j)ᶜ) k ∩ visit k) / μ.real (prefixEvent (fun (j : ℕ) => (visit j)ᶜ) k))
:
The entry's conditional opportunity is a lower bound on success given all previous failures. The failure recursion is derived here.
theorem
MindFormal.PolicyTests.coverage_union
{Ω : Type u_1}
{I : Type u_2}
[MeasurableSpace Ω]
[Fintype I]
(μ : MeasureTheory.Measure Ω)
(miss : I → Set Ω)
{p : ℝ}
(R : ℕ)
(hb : ∀ (i : I), μ.real (miss i) ≤ (1 - p) ^ R)
: