theorem extracted_formal_statement_57.{u_1} {Ω : Type u_1} [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) (τ : ℝ) (i : Fin n) (h1 : Integrable (fun ω => 1 + τ * X i ω) μ)
  (h2 : Integrable (fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) μ)
  (h3 : HasFiniteIntegral ((fun ω => 1 + τ * X i ω) + fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) μ)
  (this :
    (fun ω => 1 + τ * X i ω + X i ω ^ 2 * (rexp τ - 1 - τ)) =
      (fun ω => 1 + τ * X i ω) + fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) :
  HasFiniteIntegral ((fun ω => 1 + τ * X i ω) + fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) μ := sorry

State before:
case right
Ω : Type u_1
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
τ : ℝ
i : Fin n
h1 : Integrable (fun ω => 1 + τ * X i ω) μ
h2 : Integrable (fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) μ
h3 : HasFiniteIntegral ((fun ω => 1 + τ * X i ω) + fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) μ
this :
  (fun ω => 1 + τ * X i ω + X i ω ^ 2 * (rexp τ - 1 - τ)) =
    (fun ω => 1 + τ * X i ω) + fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)
⊢ HasFiniteIntegral ((fun ω => 1 + τ * X i ω) + fun ω => X i ω ^ 2 * (rexp τ - 1 - τ)) μ

Tactic: exact h3

State after:

Relevant lemmas: