The integral of in closed form
ProvedMertensTheorems.integral_inv_tlogsqcalculusmathlibreal-analysis
A convergent companion to the integral.
For ,
The integrand is the derivative of : indeed . On the integrand is continuous since , so the fundamental theorem of calculus applies.
The contrast with is the point: raising the logarithm to the second power turns a divergent integral into a convergent one, the limit as being . This is the precise sense in which diverges while converges, and it is the estimate used to bound the tail contributions that Mertens-type partial summation leaves behind.
Formalization note. The integral is intervalIntegral over with cast from
; keeps the interval non-degenerate.
Preamble
import Mathlib
Formal statement
namespace MertensTheorems
theorem integral_inv_tlogsq {N : ℕ} (hN : 2 ≤ N) :
∫ t in (2 : ℝ)..N, (t * Real.log t ^ 2)⁻¹
= (Real.log 2)⁻¹ - (Real.log N)⁻¹ := by sorry
end MertensTheoremsSource
Classical; see Apostol, *Introduction to Analytic Number Theory*, §4.3. Lean proof extracted from `Salt/Maynard/Mertens.lean` of the Salt project, https://github.com/jyh/salt (Apache-2.0, Jason Hickey).