Coordinate events in finite products #
Main results #
Cslib.Probability.PMF.toOuterMeasure_pi_eq: the probability that coordinateiequalsaisp i a.Cslib.Probability.PMF.toOuterMeasure_pi_inter_eq_mul,Cslib.Probability.PMF.toOuterMeasure_pi_eq_inter: events depending on disjoint sets of coordinates (in particularx i = aand an event avoidingi) are independent.Cslib.Probability.PMF.toOuterMeasure_pi_forall: the probability that every coordinate lies in its own event is the product of the probabilities.Cslib.Probability.PMF.toOuterMeasure_pi_exists_le: a union bound for coordinate events.
theorem Cslib.Probability.PMF.toOuterMeasure_pi_inter_eq_mul {V : Type u_1} [Fintype V] {α : V → Type u_2} [∀ (v : V), Finite (α v)] (p : (v : V) → PMF (α v)) {S T : Set V} (hST : Disjoint S T) {E F : Set ((v : V) → α v)} (hE : DependsOn (fun (x : (i : V) → α i) => x ∈ E) S) (hF : DependsOn (fun (x : (i : V) → α i) => x ∈ F) T) :
Events on disjoint coordinates are independent: in an independent product, an event
depending only on the coordinates in S and an event depending only on the coordinates in a
disjoint set T are independent. This is the finite-PMF form of
ProbabilityTheory.indepSet_pi_of_dependsOn.
theorem Cslib.Probability.PMF.toOuterMeasure_pi_eq_inter {ι : Type u_1} [Fintype ι] {α : ι → Type u_2} [∀ (i : ι), Finite (α i)] (p : (i : ι) → PMF (α i)) {i : ι} {a : α i} {S : Set ι} (hi : i ∉ S) {E : Set ((i : ι) → α i)} (hE : DependsOn (fun (x : (i : ι) → α i) => x ∈ E) S) :
Fixing coordinate i to a is independent of any event E depending only on a coordinate set
S with i ∉ S.
theorem Cslib.Probability.PMF.toOuterMeasure_pi_forall {ι : Type u_1} [Fintype ι] {α : ι → Type u_2} [∀ (i : ι), Finite (α i)] (p : (i : ι) → PMF (α i)) (E : (i : ι) → Set (α i)) :
(pi p).toOuterMeasure {u : (i : ι) → α i | ∀ (i : ι), u i ∈ E i} = ∏ i : ι, (p i).toOuterMeasure (E i)
The probability that every coordinate of an independent tuple lies in its own event is the product of the probabilities.
theorem Cslib.Probability.PMF.toOuterMeasure_pi_exists_le {ι : Type u_1} [Fintype ι] {α : ι → Type u_2} [∀ (i : ι), Finite (α i)] (p : (i : ι) → PMF (α i)) (bad : (i : ι) → Set (α i)) :
(pi p).toOuterMeasure {x : (i : ι) → α i | ∃ (i : ι), x i ∈ bad i} ≤ ∑ i : ι, (p i).toOuterMeasure (bad i)
The probability that some coordinate lies in its bad event is at most the sum of the coordinate probabilities. The marginal identities supply the exact coordinate laws.