Skip to content

Commit 084db57

Browse files
committed
feat: independence iff indepent from all singletons (#31183)
1 parent 1621e0d commit 084db57

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Mathlib/Probability/Independence/Basic.lean

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,13 @@ theorem indepSets_singleton_iff {s t : Set Ω} :
362362
simp only [IndepSets, Kernel.indepSets_singleton_iff, ae_dirac_eq, Filter.eventually_pure,
363363
Kernel.const_apply]
364364

365+
lemma indepSets_iff_singleton_indepSets {𝒜 ℬ : Set (Set Ω)} :
366+
IndepSets 𝒜 ℬ μ ↔ ∀ A ∈ 𝒜, IndepSets {A} ℬ μ where
367+
mp h A hA := indepSets_of_indepSets_of_le_left h (Set.singleton_subset_iff.2 hA)
368+
mpr h := by
369+
rw [← 𝒜.biUnion_of_singleton]
370+
exact IndepSets.biUnion h
371+
365372
end Indep
366373

367374
/-! ### Deducing `Indep` from `iIndep` -/

0 commit comments

Comments
 (0)