theorem extracted_formal_statement_57.{u_1, w, u} {Ω : Type u} [inst : MeasurableSpace Ω] {Z : Type w} {n : ℕ}
  {ι : Type u_1} {f : ι → Z → ℝ} [inst_1 : Countable ι] {X : Ω → Z} (hf : ∀ (i : ι), Measurable (f i ∘ X))
  (h_original_goal : Measurable fun ω => ∑ σ, ⨆ i, |∑ k, ↑↑(σ k) * f i (X (ω.1 k))|) (i : Signs n) :
  i ∈ Finset.univ → Measurable fun a => ⨆ i_1, |∑ k, ↑↑(i k) * f i_1 (X (a.1 k))| := sorry

State before:
Ω : Type u
inst✝¹ : MeasurableSpace Ω
Z : Type w
n : ℕ
ι : Type u_1
f : ι → Z → ℝ
inst✝ : Countable ι
X : Ω → Z
hf : ∀ (i : ι), Measurable (f i ∘ X)
⊢ Measurable fun ω => ∑ σ, ⨆ i, |∑ k, ↑↑(σ k) * f i (X (ω.1 k))|

Tactic: apply Finset.univ.measurable_sum

State after:
[Ω : Type u
 inst✝¹ : MeasurableSpace Ω
 Z : Type w
 n : ℕ
 ι : Type u_1
 f : ι → Z → ℝ
 inst✝ : Countable ι
 X : Ω → Z
 hf : ∀ (i : ι), Measurable (f i ∘ X)
 ⊢ ∀ i ∈ Finset.univ, Measurable fun a => ⨆ i_1, |∑ k, ↑↑(i k) * f i_1 (X (a.1 k))|]

Relevant lemmas: