∀ {Θ : Type u_1} {𝓧 : Type u_2} {𝓨 : Type u_4} {mΘ : MeasurableSpace Θ} {m𝓧 : MeasurableSpace 𝓧}
  {m𝓨 : MeasurableSpace 𝓨} {ℓ : Θ → 𝓨 → ENNReal} [Nonempty 𝓨] (P : ProbabilityTheory.Kernel Θ 𝓧)
  [ProbabilityTheory.IsMarkovKernel P] (π : MeasureTheory.Measure Θ) [MeasureTheory.IsProbabilityMeasure π]
  {C : NNReal}, (∀ (θ : Θ) (y : 𝓨), ℓ θ y ≤ ↑C) → ProbabilityTheory.bayesRisk ℓ P π ≤ ↑C