∀ {β : Type u_6} {γ : Type u_7} {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ} {f : EReal × β → γ},
  (Measurable fun p => f (↑p.1, p.2)) → (Measurable fun x => f (⊥, x)) → (Measurable fun x => f (⊤, x)) → Measurable f