Restricting Bernoulli coordinates gives the corresponding product marginal
ProvedNarrowDNF.ProductMeasure.expectation_restrictcombinatoricsnarrow-dnf-authors-importprobabilitystoc-2027
Let be finite and . For any real , use the finite product weights . If , then
Thus an observable depending only on may be averaged on that coordinate set alone. Both empty coordinate sets and arbitrary real are allowed; in the probability range this is the product marginal law.
Preamble
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Real.Basic
import Mathlib.Logic.Equiv.Prod
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Definitions.Def_NarrowDNF_ProductMeasure
namespace NarrowDNF.ProductMeasure
end NarrowDNF.ProductMeasure
noncomputable section
open scoped BigOperators
open NarrowDNF
open NarrowDNF.ProductMeasure
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
Formal statement
theorem NarrowDNF.ProductMeasure.expectation_restrict (p : ℝ) (P : ι → Prop) [DecidablePred P]
(F : ({i // P i} → Bool) → ℝ) :
expectation p (fun x : ι → Bool => F (fun i => x i)) = expectation p F := by sorrySource