∀ {α : Type u_1} {m0 : MeasurableSpace α} {μ : MeasureTheory.Measure α} {s : Set α} {f : α → ENNReal},
  AEMeasurable f (μ.restrict s) →
    (∀ᵐ (x : α) ∂μ.restrict s, f x ≠ ⊤) → (⨍⁻ (x : α) in s, f x ∂μ).toReal = ⨍ (x : α) in s, (f x).toReal ∂μ