theorem extracted_formal_statement_202.{u_1, w, u} {Ω : Type u} [inst : MeasurableSpace Ω] {Z : Type w} {n : ℕ}
  {ι : Type u_1} {f : ι → Z → ℝ} {μ : Measure Ω} [inst_1 : IsProbabilityMeasure μ] {X : Ω → Z} [inst_2 : Nonempty ι]
  [inst_3 : Countable ι] (hf : ∀ (i : ι), Measurable (f i ∘ X)) {b : ℝ} (hf' : ∀ (i : ι) (z : Z), |f i z| ≤ b)
  (h_original_goal :
    AEStronglyMeasurable
      (fun a => ⨆ i, |∫ (x : Fin n → Ω), ∑ k, (f i (X (a k)) - f i (X (x k))) ∂Measure.pi fun x => μ|)
      (Measure.pi fun x => μ)) :
  Measurable fun a => ⨆ i, |∫ (x : Fin n → Ω), ∑ k, (f i (X (a k)) - f i (X (x k))) ∂Measure.pi fun x => μ| := sorry

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

Tactic: apply Measurable.aestronglyMeasurable

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

Relevant lemmas:
Measurable.aestronglyMeasurable : ∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace β] {m m₀ : MeasurableSpace α}
  {μ : Measure α} {f : α → β} [inst_4 : MeasurableSpace β] [inst_5 : TopologicalSpace.PseudoMetrizableSpace β]
  [inst_6 : SecondCountableTopology β] [inst_7 : OpensMeasurableSpace β], Measurable f → AEStronglyMeasurable f μ