Skip to content

Commit 0ac88d3

Browse files
feat: if Y = f(X) then Y is X-measurable (#39728)
If `g = h ∘ f`, then the sigma-algebra generated by `g` is smaller than the one generated by `f`. Thanks to this lemma, if one wants to prove that the sigma-algebra generated by a random variable `Y` is smaller than the one generated by `X`, one can provide `f` and prove that `Y = f(X)`. Co-authored-by: EtienneC30 <66847262+EtienneC30@users.noreply.github.com> Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
1 parent 1ac4959 commit 0ac88d3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Mathlib/MeasureTheory/MeasurableSpace/Basic.lean

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ theorem measurable_iff_comap_le {m₁ : MeasurableSpace α} {m₂ : MeasurableSp
183183

184184
alias ⟨Measurable.comap_le, Measurable.of_comap_le⟩ := measurable_iff_comap_le
185185

186+
/-- If `g = h ∘ f`, then the sigma-algebra generated by `g` is
187+
smaller than the one generated by `f`. -/
188+
lemma MeasurableSpace.comap_le_comap_of_eq_comp {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ}
189+
{f : α → β} {g : α → γ} (h : β → γ) (mh : Measurable h) (heq : g = h ∘ f) :
190+
mγ.comap g ≤ mβ.comap f := by
191+
rw [heq, ← MeasurableSpace.comap_comp]
192+
exact MeasurableSpace.comap_mono mh.comap_le
193+
186194
theorem comap_measurable {m : MeasurableSpace β} (f : α → β) : Measurable[m.comap f] f :=
187195
fun s hs => ⟨s, hs, rfl⟩
188196

0 commit comments

Comments
 (0)