MindFormal v1.0.0One Mind

MindFormal.Example.A640SharedReports.PairTasks

theorem MindFormal.A640SharedReports.Source.Pair.cost_gap_transfer {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : Fin 2 × Sources → NNReal → Ω → ℝ} {epsilon noise : ℝ} {he : 0 < epsilon} {hn : 0 < noise} {hB : BrownianFiltration μ ℱ B} (F : Bundle he hn hB) (Z : Bool → Bool → ℝ) (hZ : ∀ (P Q : Bool), Z P Q ∈ Set.Icc 0 1) (cost : Fin 3 → ℝ) (k l : Fin 3) :
|nativeRisk F k Z + cost k - (nativeRisk F l Z + cost l) - (loss4 Z (idealAnswer k) + cost k - (loss4 Z (idealAnswer l) + cost l))| ≤ 2 / 256

Both native risk errors and every separately declared task cost are kept in a comparison gap. Costs cancel only between the same actual and reference protocol; no delivery element is silently declared task utility.

theorem MindFormal.A640SharedReports.Source.Pair.task_gap_transfer {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : Fin 2 × Sources → NNReal → Ω → ℝ} {epsilon noise : ℝ} {he : 0 < epsilon} {hn : 0 < noise} {hB : BrownianFiltration μ ℱ B} (F : Bundle he hn hB) (Z : Bool → Bool → ℝ) (hZ : ∀ (P Q : Bool), Z P Q ∈ Set.Icc 0 1) :
|nativeRisk F 1 Z - nativeRisk F 0 Z - (2 * Z true false - 1) / 4| ≤ 2 / 256 ∧ |nativeRisk F 1 Z - nativeRisk F 2 Z - (1 - 2 * Z true true) / 4| ≤ 2 / 256 ∧ |nativeRisk F 0 Z - nativeRisk F 2 Z - (1 - Z true false - Z true true) / 2| ≤ 2 / 256
theorem MindFormal.A640SharedReports.Source.Pair.native_task_regions {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : Fin 2 × Sources → NNReal → Ω → ℝ} {epsilon noise : ℝ} {he : 0 < epsilon} {hn : 0 < noise} {hB : BrownianFiltration μ ℱ B} (F : Bundle he hn hB) (Z : Bool → Bool → ℝ) (hZ : ∀ (P Q : Bool), Z P Q ∈ Set.Icc 0 1) :
(Z true false < 1 / 2 - 4 / 256 → 1 / 2 + 4 / 256 < Z true true → nativeRisk F 1 Z < nativeRisk F 0 Z ∧ nativeRisk F 1 Z < nativeRisk F 2 Z) ∧ (1 / 2 + 4 / 256 < Z true false → 1 + 4 / 256 < Z true false + Z true true → nativeRisk F 0 Z < nativeRisk F 1 Z ∧ nativeRisk F 0 Z < nativeRisk F 2 Z) ∧ (Z true true < 1 / 2 - 4 / 256 → Z true false + Z true true < 1 - 4 / 256 → nativeRisk F 2 Z < nativeRisk F 1 Z ∧ nativeRisk F 2 Z < nativeRisk F 0 Z)
theorem MindFormal.A640SharedReports.Source.Pair.native_named_tasks {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : Fin 2 × Sources → NNReal → Ω → ℝ} {epsilon noise : ℝ} {he : 0 < epsilon} {hn : 0 < noise} {hB : BrownianFiltration μ ℱ B} (F : Bundle he hn hB) :
(((nativeRisk F 0 fun (P x : Bool) => bit P) < nativeRisk F 1 fun (P x : Bool) => bit P) ∧ (nativeRisk F 0 fun (P x : Bool) => bit P) < nativeRisk F 2 fun (P x : Bool) => bit P) ∧ ((nativeRisk F 2 fun (P Q : Bool) => (1 - bit P) * bit Q) < nativeRisk F 1 fun (P Q : Bool) => (1 - bit P) * bit Q) ∧ (nativeRisk F 2 fun (P Q : Bool) => (1 - bit P) * bit Q) < nativeRisk F 0 fun (P Q : Bool) => (1 - bit P) * bit Q
theorem MindFormal.A640SharedReports.Source.Pair.native_cost_order {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : Fin 2 × Sources → NNReal → Ω → ℝ} {epsilon noise : ℝ} {he : 0 < epsilon} {hn : 0 < noise} {hB : BrownianFiltration μ ℱ B} (F : Bundle he hn hB) (Z : Bool → Bool → ℝ) (hZ : ∀ (P Q : Bool), Z P Q ∈ Set.Icc 0 1) (cost : Fin 3 → ℝ) (k l : Fin 3) (gap : loss4 Z (idealAnswer k) + cost k + 2 / 256 < loss4 Z (idealAnswer l) + cost l) :
nativeRisk F k Z + cost k < nativeRisk F l Z + cost l