MindFormal v1.0.0One Mind

MindFormal.Tools.A699Shared.PairedLabels

def MindFormal.A699Shared.labelD {I : Type u_1} [Fintype I] (p q : I → ℝ) :

Label disagreement for independent continuations of a fixed history.

Equations
Instances For
    noncomputable def MindFormal.A699Shared.labelX {I : Type u_1} [Fintype I] (p q : I → ℝ) :

    Excess over the two repeated-view baselines, on that same history.

    Equations
    Instances For
      theorem MindFormal.A699Shared.labelD_bounds {I : Type u_1} [Fintype I] {p q : I → ℝ} (hp : IsLabelMass p) (hq : IsLabelMass q) :
      theorem MindFormal.A699Shared.labelX_bounds {I : Type u_1} [Fintype I] {p q : I → ℝ} (hp : IsLabelMass p) (hq : IsLabelMass q) :
      theorem MindFormal.A699Shared.labelX_excess {I : Type u_1} [Fintype I] (p q : I → ℝ) :
      labelX p q = labelD p q - (labelD p p + labelD q q) / 2
      noncomputable def MindFormal.A699Shared.historyMean {Ω : Type u_2} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (A : Set Ω) (f : Ω → ℝ) :

      Average over a successful preparation, after pairing future records conditionally on each complete history.

      Equations
      Instances For
        theorem MindFormal.A699Shared.historyMean_le {Ω : Type u_2} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure μ] {A : Set Ω} (hA : MeasurableSet A) (hpos : 0 < μ.real A) {f : Ω → ℝ} (hf : MeasureTheory.IntegrableOn f A μ) {b : ℝ} (h : ∀ᵐ (ω : Ω) ∂μ, ω ∈ A → f ω ≤ b) :
        historyMean μ A f ≤ b
        theorem MindFormal.A699Shared.le_historyMean {Ω : Type u_2} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure μ] {A : Set Ω} (hA : MeasurableSet A) (hpos : 0 < μ.real A) {f : Ω → ℝ} (hf : MeasureTheory.IntegrableOn f A μ) {b : ℝ} (h : ∀ᵐ (ω : Ω) ∂μ, ω ∈ A → b ≤ f ω) :
        b ≤ historyMean μ A f
        theorem MindFormal.A699Shared.labelScores_integrable {I : Type u_1} {Ω : Type u_2} [Fintype I] [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure μ] {p q : Ω → I → ℝ} (hp : ∀ (i : I), Measurable fun (ω : Ω) => p ω i) (hq : ∀ (i : I), Measurable fun (ω : Ω) => q ω i) (hmass : ∀ᵐ (ω : Ω) ∂μ, IsLabelMass (p ω) ∧ IsLabelMass (q ω)) :
        MeasureTheory.Integrable (fun (ω : Ω) => labelD (p ω) (q ω)) μ ∧ MeasureTheory.Integrable (fun (ω : Ω) => labelX (p ω) (q ω)) μ
        theorem MindFormal.A699Shared.paired_history_bounds {I : Type u_1} {Ω : Type u_2} [Fintype I] [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure μ] {A : Set Ω} (hA : MeasurableSet A) (hpos : 0 < μ.real A) {p q : Ω → I → ℝ} (hp : ∀ (i : I), Measurable fun (ω : Ω) => p ω i) (hq : ∀ (i : I), Measurable fun (ω : Ω) => q ω i) (hmass : ∀ᵐ (ω : Ω) ∂μ, IsLabelMass (p ω) ∧ IsLabelMass (q ω)) {ε : ℝ} (hε : 0 ≤ ε) (hε2 : ε ≤ 1 / 2) (i j : I) (hconf : ∀ᵐ (ω : Ω) ∂μ, ω ∈ A → 1 - ε ≤ p ω i ∧ 1 - ε ≤ q ω j) :
        (i ≠ j → (1 - 2 * ε ≤ historyMean μ A fun (ω : Ω) => labelD (p ω) (q ω)) ∧ (1 - 2 * ε) ^ 2 ≤ historyMean μ A fun (ω : Ω) => labelX (p ω) (q ω)) ∧ (i = j → (historyMean μ A fun (ω : Ω) => labelD (p ω) (q ω)) ≤ 2 * ε ∧ (historyMean μ A fun (ω : Ω) => labelX (p ω) (q ω)) ≤ 8 * ε ^ 2)

        The protected-label comparison is averaged only after taking the product of each history's two conditional laws. Both disagreement and excess bounds therefore retain arbitrary dependence in the preparation.