theorem extracted_formal_statement_109.{u_1, w, u} {Ω : Type u} [inst : MeasurableSpace Ω] {Z : Type w} {n : ℕ}
  {ι : Type u_1} {f : ι → Z → ℝ} {μ : Measure Ω} [inst_1 : IsProbabilityMeasure μ] {X : Ω → Z} [inst_3 : Countable ι]
  (hf : ∀ (i : ι), Measurable (f i ∘ X)) (i : ι)
  (h_original_goal :
    Measurable fun x => ∫ (x_1 : Fin n → Ω), ∑ k, (f i (X (x k)) - f i (X (x_1 k))) ∂Measure.pi fun x => μ) :
  StronglyMeasurable fun x =>
    ∫ (x_1 : Fin n → Ω), ∑ k, (f i (X (x k)) - f i (X (x_1 k))) ∂Measure.pi fun x => μ := sorry

State before:
case hf.left.hf.hf.hg.hf
Ω : Type u
inst✝¹ : MeasurableSpace Ω
Z : Type w
n : ℕ
ι : Type u_1
f : ι → Z → ℝ
μ : Measure Ω
inst✝ : IsProbabilityMeasure μ
X : Ω → Z
inst_3 : Countable ι
hf : ∀ (i : ι), Measurable (f i ∘ X)
i : ι
⊢ Measurable fun x => ∫ (x_1 : Fin n → Ω), ∑ k, (f i (X (x k)) - f i (X (x_1 k))) ∂Measure.pi fun x => μ

Tactic: apply MeasureTheory.StronglyMeasurable.measurable

State after:
[case hf.left.hf.hf.hg.hf.hf
 Ω : Type u
 inst✝¹ : MeasurableSpace Ω
 Z : Type w
 n : ℕ
 ι : Type u_1
 f : ι → Z → ℝ
 μ : Measure Ω
 inst✝ : IsProbabilityMeasure μ
 X : Ω → Z
 inst_3 : Countable ι
 hf : ∀ (i : ι), Measurable (f i ∘ X)
 i : ι
 ⊢ StronglyMeasurable fun x => ∫ (x_1 : Fin n → Ω), ∑ k, (f i (X (x k)) - f i (X (x_1 k))) ∂Measure.pi fun x => μ]

Relevant lemmas:
MeasureTheory.StronglyMeasurable.measurable : ∀ {α : Type u_1} {β : Type u_2} {f : α → β} {x : MeasurableSpace α}
  [inst : TopologicalSpace β] [inst_2 : TopologicalSpace.PseudoMetrizableSpace β] [inst_4 : MeasurableSpace β]
  [inst_5 : BorelSpace β], StronglyMeasurable f → Measurable f