AlexKontorovich/PrimeNumberTheoremAnd
Source indexedlemma · leanprover/lean4:v4.32.0
integrableOn_exp_neg_div_Ioi
PrimeNumberTheoremAnd.IEANTN.PVIdentity · PrimeNumberTheoremAnd/IEANTN/PVIdentity.lean:73 to 80
Mathematical statement
Exact Lean statement
lemma integrableOn_exp_neg_div_Ioi :
IntegrableOn (fun t => exp (-t) / t) (Ioi 1)Complete declaration
Lean source
Full Lean sourceLean 4
lemma integrableOn_exp_neg_div_Ioi : IntegrableOn (fun t => exp (-t) / t) (Ioi 1) := by -- We'll use the fact that $\frac{e^{-t}}{t}$ is integrable on $(1, \infty)$ because it is bounded and continuous. have h_integrable : MeasureTheory.IntegrableOn (fun t : ℝ => Real.exp (-t)) (Set.Ioi 1) := by exact MeasureTheory.IntegrableOn.mono_set ( by exact MeasureTheory.integrable_of_integral_eq_one ( by simpa using integral_exp_neg_Ioi_zero ) ) ( Set.Ioi_subset_Ioi zero_le_one ); refine' h_integrable.mono' _ _; · exact ContinuousOn.aestronglyMeasurable ( fun t ht => ContinuousAt.continuousWithinAt ( by exact ContinuousAt.div ( ContinuousAt.rexp ( continuousAt_id.neg ) ) continuousAt_id ( by linarith [ ht.out ] ) ) ) measurableSet_Ioi; · filter_upwards [ MeasureTheory.ae_restrict_mem measurableSet_Ioi ] with x hx using by rw [ Real.norm_of_nonneg ( div_nonneg ( Real.exp_pos _ |> le_of_lt ) ( by linarith [ hx.out ] ) ) ] ; exact div_le_self ( Real.exp_pos _ |> le_of_lt ) ( by linarith [ hx.out ] ) ;