-- File: FoML/FoML/Bennett.lean
Theorem statement:
theorem extracted_formal_statement_20.{u} {Ω : Type u} [inst : MeasurableSpace Ω] (μ : Measure Ω)
  [inst_1 : IsProbabilityMeasure μ] {n : ℕ} {X : Fin n → Ω → ℝ} (hXm : ∀ (i : Fin n), Measurable (X i))
  (hX_bdd : ∀ (i : Fin n), ∀ᵐ (ω : Ω) ∂μ, |X i ω| ≤ 1) (τ : ℝ) (hlam : τ ≥ 0) :
  let S := fun ω => ∑ i, X i ω;
  Measurable S →
    (Measurable fun ω => rexp (τ * S ω)) →
      (∀ (i : Fin n), ∀ᵐ (ω : Ω) ∂μ, ‖rexp (τ * X i ω)‖ ≤ rexp τ) →
        (∀ᵐ (ω : Ω) ∂μ, ∀ (i : Fin n), |X i ω| ≤ 1) → ∀ (ω : Ω), (∀ (i : Fin n), |X i ω| ≤ 1) → ∑ i, 1 = ↑n := sorry

Tactic state before:
Ω : Type u
inst : MeasurableSpace Ω
μ : Measure Ω
inst_1 : IsProbabilityMeasure μ
n : ℕ
X : Fin n → Ω → ℝ
hXm : ∀ (i : Fin n), Measurable (X i)
hX_bdd : ∀ (i : Fin n), ∀ᵐ (ω : Ω) ∂μ, |X i ω| ≤ 1
τ : ℝ
hlam : τ ≥ 0
S : Ω → ℝ := fun ω => ∑ i, X i ω
hS_meas : Measurable S
f : ℝ → ℝ := fun x => rexp (τ * x)
f_meas : Measurable f
f_measω : Measurable fun ω => rexp (τ * S ω)
h_bound : ∀ (i : Fin n), ∀ᵐ (ω : Ω) ∂μ, ‖rexp (τ * X i ω)‖ ≤ rexp τ
h_all : ∀ᵐ (ω : Ω) ∂μ, ∀ (i : Fin n), |X i ω| ≤ 1
ω : Ω
hω : ∀ (i : Fin n), |X i ω| ≤ 1
⊢ ∑ i, 1 = ↑n

Tactic: simp [Finset.sum_const, nsmul_eq_mul, mul_one]

Tactic state after:

Premises used:
nsmul_eq_mul : ∀ {α : Type u_1} [inst : NonAssocSemiring α] (n : ℕ) (a : α), n • a = ↑n * a
mul_one : ∀ {M : Type u} [inst : MulOneClass M] (a : M), a * 1 = a
Finset.sum_const : ∀ {α : Type u_3} {β : Type u_4} {s : Finset α} [inst : AddCommMonoid β] (b : β),
  ∑ _x ∈ s, b = s.card • b