-- File: FoML/FoML/Rademacher.lean
Theorem statement:
theorem extracted_formal_statement_319.{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)
  (ω ω' : Fin n → Ω) (i : ι) : |∑ k, (f i (X (ω k)) - f i (X (ω' k)))| ≤ ↑n * (b + b) := sorry

Tactic state before:
case refine_2.h.h.hf
Ω : 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 : ι
⊢ |∑ k, (f i (X (ω k)) - f i (X (ω' k)))| ≤ ↑n * (b + b)

Tactic: apply bounded_difference_of_bounded hf'

Tactic state after:

Premises used:
bounded_difference_of_bounded : ∀ {Ω : Type u} {Z : Type w} {n : ℕ} {ι : Type u_1} {f : ι → Z → ℝ} {X : Ω → Z} {b : ℝ},
  (∀ (i : ι) (z : Z), |f i z| ≤ b) →
    ∀ (ω : Fin n → Ω) (i : ι) (ω' : Fin n → Ω), |∑ k, (f i (X (ω k)) - f i (X (ω' k)))| ≤ ↑n * (b + b)