-- File: FoML/FoML/McDiarmid.lean
Theorem statement:
theorem extracted_formal_statement_21.{u_2, u_1} {Ω : Type u_1} [inst : MeasurableSpace Ω] {μ : Measure Ω}
  [inst_1 : IsProbabilityMeasure μ] {E : Type u_2} [inst_2 : NormedAddCommGroup E] [inst_3 : CompleteSpace E]
  [inst_4 : NormedSpace ℝ E] (c : E) : ∫ (x : Ω), c ∂μ = (μ Set.univ).toReal • c := sorry

Tactic state before:
Ω : Type u_1
inst✝⁴ : MeasurableSpace Ω
μ : Measure Ω
inst✝³ : IsProbabilityMeasure μ
E : Type u_2
inst✝² : NormedAddCommGroup E
inst✝¹ : CompleteSpace E
inst✝ : NormedSpace ℝ E
c : E
⊢ ∫ (x : Ω), c ∂μ = (μ Set.univ).toReal • c

Tactic: exact integral_const c

Tactic state after:

Premises used:
MeasureTheory.integral_const : ∀ {α : Type u_1} {E : Type u_2} [inst : NormedAddCommGroup E] [hE : CompleteSpace E]
  [inst_5 : NormedSpace ℝ E] {m : MeasurableSpace α} {μ : Measure α} (c : E), ∫ (x : α), c ∂μ = (μ Set.univ).toReal • c