Local functions factor after conditioning on their common coordinates
ProvedNarrowDNF.ConditionalExpectation.local_conditional_independencecombinatoricsnarrow-dnf-authors-importprobabilitystoc-2027
Let be finite, , and . Suppose real functions on the Boolean cube depend only on coordinates in and , respectively. Put , and let
be the finite weighted conditional mean; define similarly. Then
This identifies the contribution of the shared coordinates to the product expectation. Strictly positive product weights ensure that every prescribed restriction has a well-defined positive conditioning mass.
Preamble
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Data.Bool.Basic
import Mathlib.Data.Finset.Lattice.Fold
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Real.Basic
import Mathlib.Logic.Equiv.Prod
import Mathlib.Order.Monotone.Basic
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Definitions.Def_NarrowDNF_Adaptive
import Definitions.Def_NarrowDNF_ConditionalExpectation
import Definitions.Def_NarrowDNF_ProductMeasure
import Theorems.Thm_NarrowDNF_ConditionalExpectation_expectation_merge
import Theorems.Thm_NarrowDNF_ConditionalExpectation_expectation_mul_of_complement_local
import Theorems.Thm_NarrowDNF_ConditionalExpectation_moment_restriction
import Theorems.Thm_NarrowDNF_ProductMeasure_expectation_restrict
namespace NarrowDNF.ConditionalExpectation
end NarrowDNF.ConditionalExpectation
namespace NarrowDNF.ProductMeasure
end NarrowDNF.ProductMeasure
noncomputable section
open scoped BigOperators
open NarrowDNF
open NarrowDNF.ConditionalExpectation
open ProductMeasure
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
Formal statement
theorem NarrowDNF.ConditionalExpectation.local_conditional_independence {p : ℝ} (hp0 : 0 < p) (hp1 : p < 1)
(S R : Finset ι) (F G : Cube ι → ℝ)
(hF : ∀ x y, (∀ i ∈ S, x i = y i) → F x = F y)
(hG : ∀ x y, (∀ i ∈ R, x i = y i) → G x = G y) :
expectation p (fun x => F x * G x) =
expectation p (fun x =>
conditional (fun x : Cube ι => fun i : {i // i ∈ S ∩ R} => x i) (weight p) F x *
conditional (fun x : Cube ι => fun i : {i // i ∈ S ∩ R} => x i) (weight p) G x) := by sorrySource