Documentation

CslibFrontier.Foundations.Probability.CoordinateFactorization

Factoring a terminal coordinate from a conditioned finite product #

Split one actual product, retaining every other coordinate. A function on the remaining coordinates may correlate arbitrarily with the source and midpoint. Only a function of the split terminal coordinate factors. Empty source and terminal events are included.

theorem Finset.expect_pi_split_mul_filter {R : Type u_1} {A : Type u_2} [Fintype R] [DecidableEq R] [Fintype A] [Nonempty A] (s t : R) (hst : s ≠ t) (p q : A → Prop) [DecidablePred p] [DecidablePred q] (L : ({ j : R // j ≠ t } → A) → ℝ) (G : A → ℝ) :
({σ : R → A | p (σ s) ∧ q (σ t)}.expect fun (σ : R → A) => (L fun (j : { j : R // j ≠ t }) => σ ↑j) * G (σ t)) = ({σ : R → A | p (σ s)}.expect fun (σ : R → A) => L fun (j : { j : R // j ≠ t }) => σ ↑j) * {a : A | q a}.expect fun (a : A) => G a

Factor a terminal-only value from a function of all other coordinates, conditioning on an old source event and a terminal event. This never introduces a second full seed.

theorem Finset.expect_pi_supported_terminal {R : Type u_1} {A : Type u_2} [Fintype R] [DecidableEq R] [Fintype A] [Nonempty A] (s t : R) (hst : s ≠ t) (p q : A → Prop) [DecidablePred p] [DecidablePred q] (F : (R → A) → ℝ) (hF : ∀ (σ : R → A), ¬q (σ t) → F σ = 0) :
({σ : R → A | p (σ s) ∧ q (σ t)}.expect fun (σ : R → A) => ↑{a : A | q a}.dens * F σ) = {σ : R → A | p (σ s)}.expect fun (σ : R → A) => F σ

Restrict a source-conditioned full product to a terminal event containing the support. The terminal density is the exact change of conditioning, including empty events.