theorem extracted_formal_statement_290.{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 ω => ⨆ i, ∫ (ω' : Fin n → Ω), |∑ k, (f i (X (ω k)) - f i (X (ω' k)))| ∂Measure.pi fun x => μ)
      (Measure.pi fun x => μ))
  (i : ι) :
  Measurable fun b => ∫ (ω' : Fin n → Ω), |∑ k, (f i (X (b k)) - f i (X (ω' k)))| ∂Measure.pi fun x => μ := sorry

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

Tactic: apply (Measurable.iSup _).aestronglyMeasurable

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

Relevant lemmas:
Measurable.iSup : ∀ {α : Type u_1} {δ : Type u_4} [inst : TopologicalSpace α] {mα : MeasurableSpace α}
  [inst_4 : BorelSpace α] {mδ : MeasurableSpace δ} [inst_5 : ConditionallyCompleteLinearOrder α]
  [inst_6 : OrderTopology α] [inst : SecondCountableTopology α] {ι : Sort u_5} [inst : Countable ι] {f : ι → δ → α},
  (∀ (i : ι), Measurable (f i)) → Measurable fun b => ⨆ i, f i b