def
MindFormal.A641Awareness.FactorRisk.conjunction
{Ω : Type u_1}
{D : Type u_2}
[Fintype D]
(Z : D → Ω → Bool)
(ω : Ω)
:
Equations
- MindFormal.A641Awareness.FactorRisk.conjunction Z ω = ∏ d : D, MindFormal.A641Awareness.FactorRisk.bit (Z d ω)
Instances For
theorem
MindFormal.A641Awareness.FactorRisk.bit_memLp
{Ω : Type u_1}
{D : Type u_2}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
(d : D)
:
MeasureTheory.MemLp (fun (ω : Ω) => bit (Z d ω)) 2 μ
theorem
MindFormal.A641Awareness.FactorRisk.conjunction_memLp
{Ω : Type u_1}
{D : Type u_2}
[mΩ : MeasurableSpace Ω]
[Fintype D]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
:
MeasureTheory.MemLp (conjunction Z) 2 μ
def
MindFormal.A641Awareness.FactorRisk.target
{Ω : Type u_1}
{D : Type u_2}
[mΩ : MeasurableSpace Ω]
[Fintype D]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
:
↥(MeasureTheory.Lp ℝ 2 μ)
Equations
Instances For
def
MindFormal.A641Awareness.FactorRisk.factor
{Ω : Type u_1}
{D : Type u_2}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
(d : D)
:
↥(MeasureTheory.Lp ℝ 2 μ)
Equations
- MindFormal.A641Awareness.FactorRisk.factor Z hZ d = MeasureTheory.MemLp.toLp (fun (ω : Ω) => MindFormal.A641Awareness.FactorRisk.bit (Z d ω)) ⋯
Instances For
noncomputable def
MindFormal.A641Awareness.FactorRisk.variance
{Ω : Type u_1}
{D : Type u_2}
{m : MeasurableSpace Ω}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
(hm : m ≤ mΩ)
(d : D)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MindFormal.A641Awareness.FactorRisk.q
{Ω : Type u_1}
{D : Type u_2}
{m : MeasurableSpace Ω}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
(Z : D → Ω → Bool)
(d : D)
:
Ω → ℝ
Equations
- MindFormal.A641Awareness.FactorRisk.q Z d = μ[fun (ω : Ω) => MindFormal.A641Awareness.FactorRisk.bit (Z d ω) | m]
Instances For
def
MindFormal.A641Awareness.FactorRisk.ConditionalIndependent
{Ω : Type u_1}
{D : Type u_2}
{m : MeasurableSpace Ω}
[mΩ : MeasurableSpace Ω]
[Fintype D]
{μ : MeasureTheory.Measure Ω}
(Z : D → Ω → Bool)
:
Eventwise conditional independence of the finite binary factors. This definition works on an arbitrary probability space; it requires no regular conditional probability kernel or standard-Borel ambient space.
Equations
Instances For
theorem
MindFormal.A641Awareness.FactorRisk.posterior_product
{Ω : Type u_1}
{D : Type u_2}
{m : MeasurableSpace Ω}
[mΩ : MeasurableSpace Ω]
[Fintype D]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
(hm : m ≤ mΩ)
(hc : ConditionalIndependent Z)
:
↑↑(ConditionalRisk.posterior hm (target Z hZ)) =ᵐ[μ] fun (ω : Ω) => ∏ d : D, q Z d ω
The all-positive event is one of the conditional independence tests.
theorem
MindFormal.A641Awareness.FactorRisk.factor_moment
{Ω : Type u_1}
{D : Type u_2}
{m : MeasurableSpace Ω}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
(hm : m ≤ mΩ)
{π : ℝ}
(hπ : ∀ (d : D), μ.real (Z d ⁻¹' {true}) = π)
(d : D)
:
theorem
MindFormal.A641Awareness.FactorRisk.target_moment
{Ω : Type u_1}
{D : Type u_2}
[mΩ : MeasurableSpace Ω]
[Fintype D]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
{π : ℝ}
(hπ : ∀ (d : D), μ.real (Z d ⁻¹' {true}) = π)
(hi : ProbabilityTheory.iIndepFun Z μ)
:
theorem
MindFormal.A641Awareness.FactorRisk.native_risk
{Ω : Type u_1}
{D : Type u_2}
{m : MeasurableSpace Ω}
[mΩ : MeasurableSpace Ω]
[Fintype D]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
(Z : D → Ω → Bool)
(hZ : ∀ (d : D), Measurable (Z d))
(hm : m ≤ mΩ)
{π : ℝ}
(hπ : ∀ (d : D), μ.real (Z d ⁻¹' {true}) = π)
(hi : ProbabilityTheory.iIndepFun Z μ)
(hc : ConditionalIndependent Z)
{R : D → Type u_3}
[(d : D) → MeasurableSpace (R d)]
(channel : (d : D) → Ω → R d)
(hchannel : ∀ (d : D), Measurable (channel d))
(hind : ProbabilityTheory.iIndepFun channel μ)
(post : (d : D) → R d → ℝ)
(hpost : ∀ (d : D), Measurable (post d))
(hq : ∀ (d : D), q Z d =ᵐ[μ] post d ∘ channel d)
(read : ↥(MeasureTheory.Lp ℝ 2 μ))
(hr : MeasureTheory.AEStronglyMeasurable (↑↑read) μ)
:
AS6.13 for arbitrary independent channel spaces. The measurable factor map includes all repetitions of that factor. The equality identifies the conditional mean of each bit with that channel's posterior; no loss or successful native read is supplied as a premise.