∀ {α : Type u_1} {β : Type u_2} {ι : Sort uι} {m : MeasurableSpace α} {mβ : MeasurableSpace β} [Countable ι]
  {t : ι → Set α} {f : (i : ι) → ↑(t i) → β}
  (htf : ∀ (i j : ι) (x : α) (hxi : x ∈ t i) (hxj : x ∈ t j), f i ⟨x, hxi⟩ = f j ⟨x, hxj⟩) {T : Set α}
  (hT : T ⊆ ⋃ i, t i),
  (∀ (i : ι), MeasurableSet (t i)) → (∀ (i : ι), Measurable (f i)) → Measurable (Set.iUnionLift t f htf T hT)