theorem extracted_formal_statement_113.{w, v, u} {Z : Type w} {ι : Type v} {f : ι → Z → ℝ} {Ω : Type u}
  [inst : MeasurableSpace Ω] {X : Ω → Z} {μ : Measure Ω} [inst_1 : IsProbabilityMeasure μ] [inst_2 : Countable ι]
  [inst_3 : Nonempty ι] (h𝓕 : ∀ (I : ι), Measurable (f I ∘ X)) {b : ℝ} (h𝓕' : ∀ (I : ι) (z : Z), |f I z| ≤ b) {n : ℕ}
  {c : ι → ℝ} {C : ℝ} (hC : ∀ (I : ι), |c I| ≤ C) (σ : Fin n → { x // x ∈ {-1, 1} }) (a : σ ∈ Finset.univ)
  (h_original_goal :
    Measurable fun a =>
      ⨆ I, ∑ i, ↑↑(σ i) * (f I (X (a.2 i).1) - f I (X (a.2 i).2)) + (f I (X a.1.1) - f I (X a.1.2) + c I))
  (i : ι) :
  Measurable fun b =>
    ∑ i_1, ↑↑(σ i_1) * (f i (X (b.2 i_1).1) - f i (X (b.2 i_1).2)) + (f i (X b.1.1) - f i (X b.1.2) + c i) := sorry

State before:
case left.hf.hf.hf
Z : Type w
ι : Type v
f : ι → Z → ℝ
Ω : Type u
inst✝³ : MeasurableSpace Ω
X : Ω → Z
μ : Measure Ω
inst✝² : IsProbabilityMeasure μ
inst✝¹ : Countable ι
inst✝ : Nonempty ι
h𝓕 : ∀ (I : ι), Measurable (f I ∘ X)
b : ℝ
h𝓕' : ∀ (I : ι) (z : Z), |f I z| ≤ b
n : ℕ
c : ι → ℝ
C : ℝ
hC : ∀ (I : ι), |c I| ≤ C
σ : Fin n → { x // x ∈ {-1, 1} }
a✝ : σ ∈ Finset.univ
⊢ Measurable fun a =>
    ⨆ I, ∑ i, ↑↑(σ i) * (f I (X (a.2 i).1) - f I (X (a.2 i).2)) + (f I (X a.1.1) - f I (X a.1.2) + c I)

Tactic: apply Measurable.iSup

State after:
[case left.hf.hf.hf.hf
 Z : Type w
 ι : Type v
 f : ι → Z → ℝ
 Ω : Type u
 inst✝³ : MeasurableSpace Ω
 X : Ω → Z
 μ : Measure Ω
 inst✝² : IsProbabilityMeasure μ
 inst✝¹ : Countable ι
 inst✝ : Nonempty ι
 h𝓕 : ∀ (I : ι), Measurable (f I ∘ X)
 b : ℝ
 h𝓕' : ∀ (I : ι) (z : Z), |f I z| ≤ b
 n : ℕ
 c : ι → ℝ
 C : ℝ
 hC : ∀ (I : ι), |c I| ≤ C
 σ : Fin n → { x // x ∈ {-1, 1} }
 a✝ : σ ∈ Finset.univ
 ⊢ ∀ (i : ι),
     Measurable fun b =>
       ∑ i_1, ↑↑(σ i_1) * (f i (X (b.2 i_1).1) - f i (X (b.2 i_1).2)) + (f i (X b.1.1) - f i (X b.1.2) + c i)]

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