MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch10.L79Information

06.3(2): event-supremum total variation and common-history kernels. The conditional history kernel is an experiment premise, not an inference from separately equal input and innovation marginals.

noncomputable def MindFormal.Logic.L79.eventTV {α : Type u_1} [MeasurableSpace α] (μ ν : MeasureTheory.Measure α) :
Equations
Instances For
    theorem MindFormal.Logic.L79.unit_test_bound {α : Type u_1} [MeasurableSpace α] (μ ν : MeasureTheory.Measure α) [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.IsProbabilityMeasure ν] (f : α → ℝ) (hf : Measurable f) (h0 : ∀ (a : α), 0 ≤ f a) (h1 : ∀ (a : α), f a ≤ 1) :
    |∫ (a : α), f a ∂μ - ∫ (a : α), f a ∂ν| ≤ eventTV μ ν

    Layer cake extends the event bound to every measurable randomized test. The integration interval has length one, so there is no factor two.

    theorem MindFormal.Logic.L79.kernel_event_real {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (μ : MeasureTheory.Measure α) (K : ProbabilityTheory.Kernel α β) (B : Set β) (hB : MeasurableSet B) [ProbabilityTheory.IsMarkovKernel K] :
    (μ.bind ⇑K).real B = ∫ (a : α), (K a).real B ∂μ
    theorem MindFormal.Logic.L79.randomized_accuracy {α : Type u_1} [MeasurableSpace α] (μ ν : MeasureTheory.Measure α) [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.IsProbabilityMeasure ν] (f : α → ℝ) (hf : Measurable f) (h0 : ∀ (a : α), 0 ≤ f a) (h1 : ∀ (a : α), f a ≤ 1) :
    (∫ (a : α), f a ∂μ + (1 - ∫ (a : α), f a ∂ν)) / 2 ≤ (1 + eventTV μ ν) / 2

    A randomized reader reports alternative zero with probability f(y).

    noncomputable def MindFormal.Logic.L79.readerAccuracy {α : Type u_1} [MeasurableSpace α] (μ ν : MeasureTheory.Measure α) (f : α → ℝ) :
    Equations
    Instances For
      Equations
      Instances For
        theorem MindFormal.Logic.L79.accuracy_nonempty {α : Type u_1} [MeasurableSpace α] (μ ν : MeasureTheory.Measure α) :
        {a : ℝ | ∃ (f : α → ℝ), Measurable f ∧ (∀ (z : α), 0 ≤ f z) ∧ (∀ (z : α), f z ≤ 1) ∧ a = readerAccuracy μ ν f}.Nonempty

        The source common kernel is over complete histories. A measurable observation is postcomposed with that kernel, so the bound holds for every such observation.

        theorem MindFormal.Logic.L79.actual_constant_profile_case {Ω : Type u_3} {P : Type u_4} {Y : Type u_5} [MeasurableSpace Ω] [MeasurableSpace P] [MeasurableSpace Y] {N n : ℕ} {T : Type u_6} {Λ : Type u_7} {J : Type u_8} [Fintype T] [Fintype Λ] [Fintype J] (A : AnnotatedExperiment) (H : NNReal) (read : C(ℝ, MindState (Fin N) n T Λ) × (ℕ → Option (ℝ × Fin N)) × (ℕ → Option (ℝ × Fin N)) → Y) (hm : Measurable fun (ω : Ω) => read (A.history ω H)) (μ ν : MeasureTheory.Measure P) [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.IsProbabilityMeasure ν] :
        have K := ProbabilityTheory.Kernel.const P (MeasureTheory.Measure.map (fun (ω : Ω) => read (A.history ω H)) A.physical.ground.μ); eventTV (μ.bind ⇑K) (ν.bind ⇑K) = 0 ∧ optimalAccuracy (μ.bind ⇑K) (ν.bind ⇑K) = 1 / 2

        A compatible physical instance of the common-kernel premise. Every state and both native event histories of the actual experiment enter the observation. Its profile-independent law makes the information bound exact at one half.