theorem extracted_formal_statement_10.{u_1} {Ω : Type u_1} {m : MeasurableSpace Ω} {μ : Measure Ω}
  [inst : IsFiniteMeasure μ] (t a b : ℝ) {X : Ω → ℝ} (hX : AEMeasurable X μ) (h : ∀ᵐ (ω : Ω) ∂μ, X ω ∈ Set.Icc a b)
  (h_original_goal : AEStronglyMeasurable (fun ω => rexp (t * X ω) * X ω ^ 2) μ) :
  AEMeasurable (fun a => X a ^ 2) μ := sorry

State before:
case hF'_meas
Ω : Type u_1
m : MeasurableSpace Ω
μ : Measure Ω
inst✝ : IsFiniteMeasure μ
t a b : ℝ
X : Ω → ℝ
hX : AEMeasurable X μ
h : ∀ᵐ (ω : Ω) ∂μ, X ω ∈ Set.Icc a b
c : ℝ := ‖a‖ ⊔ ‖b‖
e : ℝ → Ω → ℝ := fun t ω => rexp (t * X ω) * X ω
e' : ℝ → Ω → ℝ := fun t ω => rexp (t * X ω) * X ω ^ 2
⊢ AEStronglyMeasurable (fun ω => rexp (t * X ω) * X ω ^ 2) μ

Tactic: rw [aestronglyMeasurable_iff_aemeasurable]
    apply AEMeasurable.mul
    ·
  apply Measurable.comp_aemeasurable' _ _
  · exact measurable_exp
  · exact hX.const_mul t

State after:
[case hF'_meas.hg
 Ω : Type u_1
 m : MeasurableSpace Ω
 μ : Measure Ω
 inst✝ : IsFiniteMeasure μ
 t a b : ℝ
 X : Ω → ℝ
 hX : AEMeasurable X μ
 h : ∀ᵐ (ω : Ω) ∂μ, X ω ∈ Set.Icc a b
 c : ℝ := ‖a‖ ⊔ ‖b‖
 e : ℝ → Ω → ℝ := fun t ω => rexp (t * X ω) * X ω
 e' : ℝ → Ω → ℝ := fun t ω => rexp (t * X ω) * X ω ^ 2
 ⊢ AEMeasurable (fun a => X a ^ 2) μ]

Relevant lemmas:
error