theorem extracted_formal_statement_239.{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) (i : ι)
  (a : Fin n → Ω) (p : ∑ x_1, f i (X (a x_1)) ≤ ∑ x_1, b) : ∑ x_1, f i (X (a x_1)) ≤ ∑ x_1, b := sorry

State before:
case hf.hg.right.h.h.right
Ω : 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
ω' : Fin n → Ω
i : ι
a : Fin n → Ω
p : ∑ x_1, f i (X (a x_1)) ≤ ∑ x_1, b
⊢ ∑ x_1, f i (X (a x_1)) ≤ ?hf.hg.right.b

Tactic: exact p

State after:

Relevant lemmas: