MindFormal v1.0.0One Mind

MindFormal.Tools.A641Awareness.InteractionRisk

noncomputable def MindFormal.A641Awareness.InteractionRisk.q {Ω : Type u_1} {m : MeasurableSpace Ω} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} (Z : Fin 2 → Ω → Bool) (d : Fin 2) :
Ω → ℝ
Equations
Instances For
    theorem MindFormal.A641Awareness.InteractionRisk.factor_memLp {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (Z : Fin 2 → Ω → Bool) (hZ : ∀ (d : Fin 2), Measurable (Z d)) (d : Fin 2) :
    MeasureTheory.MemLp (fun (ω : Ω) => sign (Z d ω)) 2 μ
    theorem MindFormal.A641Awareness.InteractionRisk.product_sq {Ω : Type u_1} (Z : Fin 2 → Ω → Bool) (ω : Ω) :
    product Z ω ^ 2 = 1
    theorem MindFormal.A641Awareness.InteractionRisk.target_memLp {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (Z : Fin 2 → Ω → Bool) (hZ : ∀ (d : Fin 2), Measurable (Z d)) (γ : ℝ) :
    MeasureTheory.MemLp (fun (ω : Ω) => γ * product Z ω) 2 μ
    noncomputable def MindFormal.A641Awareness.InteractionRisk.variance {Ω : Type u_1} {m : MeasurableSpace Ω} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (Z : Fin 2 → Ω → Bool) (hZ : ∀ (d : Fin 2), Measurable (Z d)) (hm : m ≤ mΩ) (d : Fin 2) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Full finite conditional independence, tested against every function of each factor, rather than a hypothesis about the target loss.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.A641Awareness.InteractionRisk.factor_quality {Ω : Type u_1} {m : MeasurableSpace Ω} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (Z : Fin 2 → Ω → Bool) (hZ : ∀ (d : Fin 2), Measurable (Z d)) (hm : m ≤ mΩ) (d : Fin 2) :
        ∫ (ω : Ω), q Z d ω ^ 2 ∂μ = 1 - variance Z hZ hm d
        theorem MindFormal.A641Awareness.InteractionRisk.native_risk {Ω : Type u_1} {m : MeasurableSpace Ω} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (Z : Fin 2 → Ω → Bool) (hZ : ∀ (d : Fin 2), Measurable (Z d)) (hm : m ≤ mΩ) (γ : ℝ) (hc : ConditionalIndependent Z) {R : Fin 2 → Type u_2} [(d : Fin 2) → MeasurableSpace (R d)] (channel : (d : Fin 2) → Ω → R d) (hchannel : ∀ (d : Fin 2), Measurable (channel d)) (hind : ProbabilityTheory.iIndepFun channel μ) (post : (d : Fin 2) → R d → ℝ) (hpost : ∀ (d : Fin 2), Measurable (post d)) (hq : ∀ (d : Fin 2), q Z d =ᵐ[μ] post d ∘ channel d) (read : ↥(MeasureTheory.Lp ℝ 2 μ)) (hr : MeasureTheory.AEStronglyMeasurable (↑↑read) μ) :
        ‖target Z hZ γ - read‖ ^ 2 = γ ^ 2 * (variance Z hZ hm 0 + variance Z hZ hm 1 - variance Z hZ hm 0 * variance Z hZ hm 1) + ‖read - ConditionalRisk.posterior hm (target Z hZ γ)‖ ^ 2
        theorem MindFormal.A641Awareness.InteractionRisk.added_report (γ v₀ v₁ w exec₀ exec₁ comm₀ comm₁ : ℝ) :
        γ ^ 2 * (v₁ + w - v₁ * w) + exec₁ + comm₁ < γ ^ 2 * (v₀ + w - v₀ * w) + exec₀ + comm₀ ↔ exec₁ - exec₀ + (comm₁ - comm₀) < γ ^ 2 * (v₀ - v₁) * (1 - w)

        The complete gain/cost boundary for adding an A report in a pure interaction task. Costs include the actual read's execution deficit.

        theorem MindFormal.A641Awareness.InteractionRisk.complementary_gain (γ Δ w : ℝ) :
        γ ^ 2 * Δ * (1 - 1) = 0 ∧ (γ ≠ 0 → 0 < Δ → w < 1 → 0 < γ ^ 2 * Δ * (1 - w))