Conditional-expectation residuals are orthogonal to every atom-constant function
ProvedNarrowDNF.ConditionalExpectation.residual_orthogonalcombinatoricsnarrow-dnf-authors-importprobabilitystoc-2027
Let be finite sets, , , and . For a realized atom, define its weighted mean and its pullback by
Empty atoms have mean zero by convention. For every ,
Weights need not sum to one. This is the finite weighted orthogonality property that characterizes conditional averaging relative to the partition into fibers of .
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_ConditionalExpectation
import Definitions.Def_NarrowDNF_ProductMeasure
namespace NarrowDNF.ConditionalExpectation
end NarrowDNF.ConditionalExpectation
namespace NarrowDNF.ProductMeasure
end NarrowDNF.ProductMeasure
noncomputable section
open scoped BigOperators
open NarrowDNF
open NarrowDNF.ConditionalExpectation
variable {α β : Type*} [Fintype α] [Fintype β] [DecidableEq β]
Formal statement
theorem NarrowDNF.ConditionalExpectation.residual_orthogonal (φ : α → β) (w F : α → ℝ) (hw : ∀ a, 0 < w a)
(G : β → ℝ) :
(∑ a, w a * (F a - conditional φ w F a) * G (φ a)) = 0 := by sorrySource