Continuity of on
ProvedMertensTheorems.continuousOn_inv_tlogsqThe integrand is continuous on .
For , the function is continuous on the interval .
The only obstruction to continuity of a reciprocal is a zero of the denominator, and on there is none: and , so throughout. Away from and , where vanishes or is undefined, the function is a composition of continuous maps.
Continuity on a compact interval is exactly the hypothesis that the fundamental theorem of calculus requires, so this is the lemma that licenses evaluating . Statements of this kind are the unglamorous side conditions that every integral evaluation in analytic number theory carries, and they are worth isolating because the interval endpoints recur.
Formalization note. Set.uIcc 2 N is the unordered closed interval, which equals
under the hypothesis but is well defined regardless of the order of the endpoints.
import Mathlib
namespace MertensTheorems
theorem continuousOn_inv_tlogsq {N : ℕ} (hN : 2 ≤ N) :
ContinuousOn (fun t : ℝ => (t * Real.log t ^ 2)⁻¹) (Set.uIcc 2 (N : ℝ)) := by sorry
end MertensTheorems