MindFormal v1.0.0One Mind

MindFormal.Run.Transfer

theorem MindFormal.tube_first_label {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {N : ℕ} {actual : Ω → Fin N → ℝ → ℝ} {reference : Fin N → ℝ → ℝ} {H error ε ω : ℝ} (tube : Tube μ actual reference H error ε) (hH : 0 ≤ H) (i : Fin N) (search : (z : Ω) → NativeSearch (fun (t : ℝ) (j : Fin N) => actual z j t - ω) (fun (t : ℝ) (j : Fin N) => actual z j t) 0 H) (hwinner : ω + error < reference i H) (hrivals : ∀ (j : Fin N), j ≠ i → ∀ t ∈ Set.Icc 0 H, reference j t < ω - error) (_measurable_event : MeasurableSet {z : Ω | ∃ (t : ℝ), (search z).event = some (t, i)}) :
1 - ε ≤ μ.real {z : Ω | ∃ (t : ℝ), (search z).event = some (t, i)}

02.20, 03.12, 03.7, 04.28. For a supplied probability distribution, a nonnegative horizon, a common Tube and a native score search released at zero on each realization, suppose one reference score exceeds ω + error at H and every rival stays strictly below ω − error throughout [0,H]. If the event that this label is selected is measurable, it is the first native label by H with probability at least 1 − ε.

theorem MindFormal.tube_lead_growth {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) {actual : Ω → I → ℝ → ℝ} {reference : I → ℝ → ℝ} {H error ε s t : ℝ} (tube : Tube μ actual reference H error ε) (i j : I) (hs : s ∈ Set.Icc 0 H) (ht : t ∈ Set.Icc 0 H) (hmargin : 4 * error < reference i t - reference j t - (reference i s - reference j s)) (z : Ω) :
z ∈ tube.good → actual z i s - actual z j s < actual z i t - actual z j t

02.20, 04.24. For two reads and two times in [0,H], a reference lead change exceeding four times the common Tube error implies that the actual lead at the second time is greater than at the first on every realization in the certified event. This is 02.20's endpoint consequence, with no monotonic-path claim.

theorem MindFormal.tube_count_sandwich {Ω : Type u_1} {I : Type u_2} [MeasurableSpace Ω] [Fintype I] (μ : MeasureTheory.Measure Ω) {actual : Ω → I → ℝ → ℝ} {reference : I → ℝ → ℝ} {H error ε level a b : ℝ} (tube : Tube μ actual reference H error ε) (hwindow : Set.Icc a b ⊆ Set.Icc 0 H) (z : Ω) :
z ∈ tube.good → {i : I | ∀ t ∈ Set.Icc a b, level + error ≤ reference i t}.card ≤ {i : I | ∀ t ∈ Set.Icc a b, level ≤ actual z i t}.card ∧ {i : I | ∀ t ∈ Set.Icc a b, level ≤ actual z i t}.card ≤ {i : I | ∀ t ∈ Set.Icc a b, level - error ≤ reference i t}.card

02.20 RP13, 05.26 HW20: on one corridor event, the number of items retained throughout a subinterval lies between the reference counts at raised and lowered levels. This proves both bounds, rather than calling a lower certificate an exact capacity. The interval must lie inside the certified horizon.