theorem extracted_formal_statement_363.{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 :
    HasFiniteIntegral (fun ω => (↑(Fintype.card (Signs n)))⁻¹ * ∑ σ, ⨆ i, |∑ k, ↑↑(σ k) * f i (X (ω.2 k))|)
      ((Measure.pi fun x => μ).prod (Measure.pi fun x => μ))) :
  ∀ᵐ (a : (Fin n → Ω) × (Fin n → Ω)) ∂(Measure.pi fun x => μ).prod (Measure.pi fun x => μ),
    ‖(↑(Fintype.card (Signs n)))⁻¹ * ∑ σ, ⨆ i, |∑ k, ↑↑(σ k) * f i (X (a.2 k))|‖ ≤ ↑n * b := sorry

State before:
case right
Ω : 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
⊢ HasFiniteIntegral (fun ω => (↑(Fintype.card (Signs n)))⁻¹ * ∑ σ, ⨆ i, |∑ k, ↑↑(σ k) * f i (X (ω.2 k))|)
    ((Measure.pi fun x => μ).prod (Measure.pi fun x => μ))

Tactic: apply @MeasureTheory.hasFiniteIntegral_of_bounded _ _ _ _ _ _ _ (n * b)

State after:
[case right
 Ω : 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
 ⊢ ∀ᵐ (a : (Fin n → Ω) × (Fin n → Ω)) ∂(Measure.pi fun x => μ).prod (Measure.pi fun x => μ),
     ‖(↑(Fintype.card (Signs n)))⁻¹ * ∑ σ, ⨆ i, |∑ k, ↑↑(σ k) * f i (X (a.2 k))|‖ ≤ ↑n * b]

Relevant lemmas:
MeasureTheory.hasFiniteIntegral_of_bounded : ∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : Measure α}
  [inst : NormedAddCommGroup β] [inst_4 : IsFiniteMeasure μ] {f : α → β} {C : ℝ},
  (∀ᵐ (a : α) ∂μ, ‖f a‖ ≤ C) → HasFiniteIntegral f μ