File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,24 +12,22 @@ import LeanBandits.Regret
1212open MeasureTheory ProbabilityTheory Finset
1313open scoped ENNReal NNReal
1414
15- namespace ProbabilityTheory
15+ section Aux
1616
17- variable {α β Ω F : Type *} [MeasurableSpace Ω] [StandardBorelSpace Ω]
18- [Nonempty Ω] [NormedAddCommGroup F] {mα : MeasurableSpace α} {μ : Measure α} [IsFiniteMeasure μ]
17+ variable {α β Ω : Type *} [MeasurableSpace Ω] [StandardBorelSpace Ω] [Nonempty Ω]
18+ {mα : MeasurableSpace α} {μ : Measure α} {mβ : MeasurableSpace β}
1919 {X : α → β} {Y : α → Ω}
20- {mβ : MeasurableSpace β} {s : Set Ω} {t : Set β} {f : β × Ω → F}
2120
22- lemma condDistrib_comp_map (hX : AEMeasurable X μ) (hY : AEMeasurable Y μ) :
21+ lemma ProbabilityTheory.condDistrib_comp_map [IsFiniteMeasure μ]
22+ (hX : AEMeasurable X μ) (hY : AEMeasurable Y μ) :
2323 condDistrib Y X μ ∘ₘ (μ.map X) = μ.map Y := by
24- rw [← Measure.snd_compProd, compProd_map_condDistrib hY]
25- rw [Measure.snd_map_prodMk₀ hX]
24+ rw [← Measure.snd_compProd, compProd_map_condDistrib hY, Measure.snd_map_prodMk₀ hX]
2625
27- omit [IsFiniteMeasure μ] in
28- lemma Measure.comp_congr {κ η : Kernel α β} (h : ∀ᵐ a ∂μ, κ a = η a) :
26+ lemma MeasureTheory.Measure.comp_congr {κ η : Kernel α β} (h : ∀ᵐ a ∂μ, κ a = η a) :
2927 κ ∘ₘ μ = η ∘ₘ μ :=
3028 Measure.bind_congr_right h
3129
32- end ProbabilityTheory
30+ end Aux
3331
3432namespace Bandits
3533
You can’t perform that action at this time.
0 commit comments