∀ {α : Type u_1} {β : Type u_2} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} {γ : Type u_4} {δ : Type u_5}
  {mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} (κ : ProbabilityTheory.Kernel α β) {f : β → γ},
  Measurable f → ∀ {g : γ → δ}, Measurable g → κ.map (g ∘ f) = (κ.map f).map g