Chapter 2 · Prime powers and the Mellin transform

Follow one prime power from an Euler product to a residue.

9 novel core · 0 open interfaces · 0 / 9 human-verified
Contents & blueprint · ← Ch. 1 · Ch. 3 → · Single-page full monograph (desktop) · Audit or improve Ch. 2

Formal identifiers and pinned GitHub line links stay folded by default; enable audit mode to keep all correspondences open across pages.
Part I · The analytic languageCh. 2 · Prime powers and the Mellin transform§2.1 How a prime power enters the sum

A prime contributes once to an Euler product, but contributes at every one of its powers to the logarithmic derivative. Follow the contribution from one prime power through a weighted sum and an integral. At the end, the multiplicity of a zero can be read from a single coefficient.

2.1How a prime power enters the sum

Write p for a prime. The von Mangoldt function Λ assigns log p to each positive power of p and zero to every other positive integer, including 1. Thus Λ(8) = log 2, while Λ(6) = 0. All logarithms here are natural. For a Dirichlet character χ of modulus N ≥ 1, only units contribute because χ vanishes on nonunits. At modulus one χ(n) = 1 for every integer. Thus the same sum also covers zeta.

For real x ≥ 1, write t+ = max(t, 0). The smoothed sum is

Sχ(x)=∑n=1⌊x⌋Λ(n)χ(n)(xn−1)+(2.1)

The contribution from n begins at zero when x = n. After that point its slope is Λ(n)χ(n)/n. This gives a continuous, piecewise linear function on every bounded interval. The ordinary weighted count of prime powers would jump by Λ(n)χ(n) at n. The slope and the continuity here determine the two factors that will appear in the transform.

At x = 6. For the modulus-one character the active prime powers are 2, 3, 4 and 5. Their respective weights are 2, 1, 1/2 and 1/5. The sum is (5/2) log 2 + log 3 + (1/5) log 5. For the nonprincipal character modulo 3, the values on residues 0, 1 and 2 are 0, 1 and −1. In the same order the four terms now have character factors −1, 0, 1 and −1. The sum becomes −(3/2) log 2 − (1/5) log 5. Characters can remove a contribution, change its sign, or for a complex character rotate it.

Novel proof core Results in this passage. Ramp normalization [PIL-01]

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence
Fig. 2  /  Finite sum

Weigh the prime powers

Signed prime-power contributions00.8661.732.63.47036912weighted contributioninteger n
Smoothed sum
12.7218
Main term
10.8923
Centered Gχ
1.82949
Inspect individual terms
nΛ(n)χ(n)x/n − 1Contribution
2log 2153.466
3log 3133.296
4log 2121.386
5log 511.42.253
7log 710.71431.39
8log 210.50.3466
9log 310.33330.3662
11log 1110.090910.218
Each stem gives one signed contribution. Integers with several distinct prime divisors contribute zero. Open the table to inspect prime powers and the centering term.
Method and parameters

Prime-power support and character values use integer arithmetic. We evaluate logarithms in binary64. For the character modulo 4 we use β(1) = π/4 and the alternating derivative series with 32,768 terms. Half the first omitted term corrects the tail. The remaining alternating series of first differences is bounded by half the difference of log(n)/n at n=65537 and 65539, since this function is decreasing and convex there. This bounds the error in β′(1) by 2.4×10⁻⁹. Euler’s constant is rounded to 16 decimal places.

Related results. Ramp normalization [PIL-01] · Centering at modulus one [PIL-04] · Centering a nonprincipal character [PIL-05].

Displayed defaults: Cutoff x = 12, Character = Trivial · modulus 1.

Link to this figure state
Lean correspondence

The source defines Deduction.ramp for any function on natural numbers. Its finite range starts at 0. The formal summand there vanishes because Λ(0) = 0. The positive indices give (2.1) without requiring a division by zero. CharFamily, lines 8–19.

2.2The transform of one ramp

Set s = σ + it, where σ and t are real, and define xs = exp(s log x) for x > 0. We use the Mellin convention ℳf(s) = ∫1∞ f(x) x−s−1 dx. With u = log x, the measure dx/x becomes du and x−s becomes exp(−su). The transform therefore studies growth on multiplicative scales as an ordinary Laplace transform in u.

One-ramp identity. Let n ≥ 1 be an integer and σ > 1. Then

∫1∞(xn−1)+x−s−1dx=n−ss(s−1)(2.2)

The integrand vanishes up to n. Above n it is the difference of x−s/n and x−s−1. Both are absolutely integrable since σ > 1. Their integrals over [n, ∞) are n−s/(s − 1) and n−s/s respectively, by evaluating the power antiderivatives at the endpoints. Subtracting gives (2.2). At s = 2 and n = 2, the two areas are 1/4 and 1/8, leaving 1/8.

The half-plane matters. For large x, the absolute value of the integrand is asymptotic to x−σ/n. The integral of its absolute value diverges for σ ≤ 1. The formula on the right continues meromorphically beyond the integration domain. In particular a later evaluation of its continuation in the critical strip does not assert convergence of this integral there.

Novel proof core Results in this passage. Mellin transform of a single ramp [PIL-02]

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence
Fig. 3  /  Convergent integral

Integrate one ramp

Real Mellin density and partial integral00.007780.01560.02330.031101.534.56Mellin densityu = log(x/n)
Integral to U
0.0501614
Remaining tail
0.00539419
Full integral
0.0555556
The solid curve is the density in u = log(x/n). Shading ends at U. The integral beyond the shaded interval has an exact expression even though the picture ends at a finite u.
Method and parameters

For real s > 1 the density is n⁻ˢ(e⁻⁽ˢ⁻¹⁾ᵘ − e⁻ˢᵘ). We sample 201 points. The printed area uses analytic antiderivatives for both the finite part and the infinite tail, evaluated in binary64.

Related results. Mellin transform of a single ramp [PIL-02] · The uncentered transform [PIL-03].

Displayed defaults: Integer n = 3, Real exponent s = 2, Log cutoff U = 3.

Link to this figure state
Lean correspondence

Deduction.mellin_ramp, statement and proof removes the zero interval, rewrites the integrand and then integrates the two powers. The declaration uses Ioi 1, the open ray (1, ∞). Changing the endpoint value does not affect the integral.

2.3From one ramp to a logarithmic derivative

For σ > 1 define the Dirichlet L-function by the absolutely convergent series L(s, χ) = ∑n≥1 χ(n)n−s. Expanding geometric series at finitely many primes counts each integer supported on those primes exactly once. Letting the finite set grow gives the Euler product ∏p(1 − χ(p)p−s)−1, by absolute convergence. Its logarithm may be taken as the convergent series ∑p,j≥1 χ(p)jp−js/j, with p running over primes. Exponentiating recovers the product and shows it is nonzero there. NIST DLMF §25.15(i), equations 1–2[6].

Differentiate this logarithm with respect to s. The derivative of p−js supplies −j log p, cancelling j in the denominator. On every closed half-plane σ ≥ 1 + h, h > 0, the sum of absolute derivative bounds is at most ∑n≥2(log n)n−1−h < ∞ by the integral test. The differentiated series converges locally uniformly. Writing Dχ(s) = L′(s, χ)/L(s, χ), we obtain

−Dχ(s)=∑n=1∞Λ(n)χ(n)n−s(2.3)

To sum (2.2) under the integral, replace s by σ there. Since |χ(n)| ≤ 1 and the ramp is nonnegative, the sum of the integrated absolute values is bounded by

1σ(σ−1)∑n=1∞Λ(n)nσ<∞(2.4)

Indeed 0 ≤ Λ(n) ≤ log n for positive n. Fubini's theorem now permits the exchange of sum and integral. Equations (2.2) and (2.3) give the uncentered transform

ℳSχ(s)=−Dχ(s)s(s−1)(2.5)
Lean correspondence

The formal proof evaluates the integral norm at σ, sums it using absolute convergence, and replaces the Dirichlet series by its logarithmic derivative. The comparison with ∑(log n)n−σ is an elementary justification of that convergence in this exposition. Integral norm and exchange and identification of the logarithmic derivative.

Novel proof core Results in this passage. The uncentered transform [PIL-03]

Theorems used. Euler product for a Dirichlet character · Changing the order of integration

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence

2.4Why the correction terms have these signs

The raw transform has a factor 1/(s − 1). For ζ the logarithmic derivative has a pole at 1 as well. To detect zeros by their poles, we first remove the poles due to these main terms. This calculation only needs the primitive principal character (modulus one) and nonprincipal characters of positive modulus. A character is primitive if it is not induced from a character of any proper divisor of its modulus. The principal character at a higher modulus is induced from modulus one. The family used below excludes such higher-modulus principal characters.

A model for centering. A term of size xα has transform 1/(s − α) on Re s > α, by integrating xα−s−1. Subtracting this known term from a sum subtracts its pole from the transform. For example, x + x¾ has poles at 1 and ¾. Subtracting x leaves 1/(s − ¾), where the second pole is still visible. In the prime sum the known singularity at 1 includes a double pole, which calls for a second correction.

Novel proof core Results in this passage. Centering at modulus one [PIL-04] · Centering a nonprincipal character [PIL-05]

Theorems used. The pole of the zeta function · Dirichlet nonvanishing at one

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence

2.5The modulus-one case

Here L = ζ. Let γ = limk→∞(∑j=1k 1/j − log k), the Euler–Mascheroni constant. Put z = s − 1. The Laurent expansion ζ(1 + z) = 1/z + γ + O(z) gives an analytic function A(z) = zζ(1 + z) across 0 with A(0) = 1 and A′(0) = γ. Thus D1(1 + z) = −1/z + A′(z)/A(z) = −1/z + γ + O(z). Multiplying its negative by 1/[(1 + z)z] gives the principal part 1/z2 − (1 + γ)/z. NIST DLMF §25.2(ii), equations 4–5[7].

One coefficient is especially easy to miss here. The factor 1/[(1 + z)z] equals 1/z − 1 + O(z). When multiplied by 1/z − γ + O(z), the simple-pole coefficient receives −1 from the first factor and −γ from the second. Correcting only the double pole would leave a spurious pole with residue −(1 + γ).

Which functions of x have precisely these transforms? For Re z > 0, ∫0∞ exp(−zu) du = 1/z. Integration by parts, with u exp(−zu) vanishing at infinity, gives ∫0∞ u exp(−zu) du = 1/z2. Undo the substitution u = log x. These are the transforms of x and x log x. Hence set

G1(x)=S1(x)−xlogx+(1+γ)x(2.6)

For σ > 1 its transform is −D1(s)/[s(s − 1)] − 1/(s − 1)2 + (1 + γ)/(s − 1). The two negative-power coefficients cancel. The continuation is holomorphic at 1. This calculation uses the Laurent expansion around the pole and never substitutes a numerical value for ζ at its pole.

2.6The nonprincipal case

A nonprincipal character of positive modulus has an entire L-function, and the classical nonvanishing theorem at 1 gives L(1, χ) ≠ 0. Thus cχ = Dχ(1) is finite and Dχ(1 + z) = cχ + O(z). Equation (2.5) has principal part −cχ/z. Adding cχx to the sum cancels it. Analytic continuation[6] and

Gχ(x)=Sχ(x)+cχx(2.7)
ℳGχ(s)=scχ−Dχ(s)s(s−1)(2.8)

The numerator in (2.8) vanishes at s = 1. Dividing it by s − 1 leaves a holomorphic function there. This identifies the cancellation even when cχ happens to vanish. Neither centering formula estimates the size of the remaining error at large x.

Lean correspondence

The division in (2.8) is written with an overall minus sign in Deduction.mellin_Gchi_of_ne_one. Its hypotheses are positive modulus, a nonprincipal character, and Re s > 1. Primitivity is unnecessary here. In Deduction.mellin_Gchi_modOne the ζ correction is over a common denominator. The source extends (s − 1)ζ(s) to take the value 1 at s = 1 and identifies its derivative there as γ. Regularization at one.

Lean correspondence
Fig. 4  /  Finite sums and a numerical constant

Subtract the main term

Raw sum, main term and centered difference−1.788.7319.229.840.316.7512.518.324sum or main termcutoff x
Sχ
40.2682
Main term M
38.4201
Gχ = Sχ − M
1.84807
The solid curve is the smoothed sum Sχ, the dashed curve is its main term M, and the dotted curve is their difference. The values displayed below refer to the right endpoint.
Method and parameters

Sample x continuously at 201 equally spaced points from 1 to the cutoff; compute each finite sum using its full prime-power support. For χ modulo 4, β(s)=1−3⁻ˢ+5⁻ˢ−⋯ and β(1)=π/4 by the arctangent series. Differentiating at 1 is justified by uniform Dirichlet convergence on compact subsets of Re s>0, using paired consecutive odd terms. β′(1) is evaluated by the corrected alternating series in the ramp experiment. Fixed-cutoff plots give no asymptotic estimate.

Related results. Centering at modulus one [PIL-04] · Centering a nonprincipal character [PIL-05].

Displayed defaults: Final cutoff x = 24, Character = Trivial · modulus 1.

Link to this figure state

2.7What a zero leaves in the transform

Let ρ lie in the strip 0 < Re ρ < 1, and suppose L(ρ, χ) = 0. The function is holomorphic near ρ and is not identically zero since its Euler product is nonzero for σ > 1. Its Taylor series has a first nonzero coefficient, of degree m ≥ 1. Factoring it gives L(s, χ) = (s − ρ)mh(s) with h holomorphic and h(ρ) ≠ 0. Differentiation and division give Dχ(s) = m/(s − ρ) + h′(s)/h(s). The last quotient is holomorphic on a sufficiently small disk about ρ.

Only the first term contributes a pole. In both centered formulas its multiplier is −1/[s(s − 1)], which is holomorphic at ρ since ρ differs from 0 and 1. Its value at ρ gives the coefficient of (s − ρ)−1, the residue of the continued transform Φχ.

Ress=ρΦχ=−mρ(ρ−1)(2.9)

A zero of any positive multiplicity therefore gives a simple pole. For ζ the factor s − 1 used to regularize it at 1 is a nonzero analytic factor at ρ, so the multiplicity here is unchanged.

Lean correspondence

Deduction.logDeriv_local factors an analytic germ of finite order. Deduction.poleData_abstract packages the local expansion. Deduction.poleData_char constructs the continuation for a single admissible character. Lean records the Laurent expansion on a punctured neighborhood, so the totalized value assigned at a pole is immaterial.

Novel proof core Results in this passage. The residue of one zero [PIL-06]

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence
Fig. 5  /  Hypothetical local model

Read multiplicity from a local pole

Multiplicity is the limit of u times the logarithmic derivative0.851.4322.583.15−0.5−0.2500.250.5scaled logarithmic derivativehorizontal displacement u from ρ
Hypothetical zero
0.6 + 1i
Limit of uD
2
Regular term a
0.5
Approach the hypothetical zero ρ horizontally, with s=ρ+u. The dotted curve shows u(L′/L − a), after removing the regular term a. Multiplying by u makes its limiting coefficient visible in the solid curve.
Method and parameters

Use the entire model L(s)=(s−ρ)ᵐ exp(a(s−ρ)). Then D=L′/L=m/u+a, so uD=m+au. To compare finite quantities the dotted line plots u(D−a)=m. The formulas extend these two plotted products continuously to u=0; D itself is undefined there. No root finder is used.

Related results. The residue of one zero [PIL-06].

Displayed defaults: Real part β = 0.6, Height τ = 1, Multiplicity m = 2, Regular factor slope a = 0.5.

Link to this figure state

2.8Why taking real parts preserves a pole

The arithmetic estimate later controls a real sum. Let I be a finite index set. For each i in I, let χi be a character of positive modulus Ni with Ni = 1 or χi nonprincipal, and fix a real weight ai > 0. Define GF(x) = ∑i∈I ai Re Gχᵢ(x). For a character χ, its inverse χ⁻¹ on units is its complex conjugate, and both characters vanish on nonunits. Conjugating the Dirichlet series first for σ > 1 gives L(s, χ⁻¹) = conj(L(conj(s), χ)) by analytic continuation. In particular the two derivatives and values at the real point 1 are conjugate for nonprincipal χ. The ramp has real weights. Therefore Gχ⁻¹(x) is the conjugate of Gχ(x), including in the modulus-one case.

Writing Re z = (z + conj(z))/2 before taking the transform gives the holomorphic expression ∑i(ai/2)(Φχᵢ(s) + Φχᵢ⁻¹(s)) away from its poles. Taking the real part of Φχ(s) would instead conjugate the complex integration kernel and lose this identity.

For a check on the complex variable, take a real function f(x) = 1 on [1,∞). Its transform is 1/s. At s = 2 + i this equals (2 − i)/5. Taking the real part after integration would discard the imaginary part even though the integrand’s input function was real. The transform of the character average keeps s fixed in both summands.

Fix a point ρ in the strip. Let mi and mi− be the orders at this same point of the functions for χi and its inverse, assigning order zero at a nonzero value. Set

B(ρ)=∑i∈Iai2(mi+mi−)(2.10)

The family has residue −B(ρ)/[ρ(ρ − 1)]. For each zero in the family there is an index i with a zero for χi at ρ or at its conjugate. The latter gives a zero for the inverse character at ρ. At least one order is then positive. Every other contribution is nonnegative in B(ρ), so the residue is nonzero. At real 0 < ρ < 1 it is positive because ρ(ρ − 1) < 0. This is the sign of a Laurent coefficient. The example modulo 3 already shows why signs of arithmetic summands require separate attention.

Can a member that is nonzero at ρ still supply the pole?

Take one character χ of weight 1 and a nonreal ρ. Suppose L(ρ, χ) is nonzero but L(·, χ) has a double zero at conj(ρ). Conjugation gives a double zero of L(·, χ⁻¹) at ρ. At the point where we take the residue the two orders are therefore 0 and 2. Equation (2.10) gives B(ρ) = (0 + 2)/2 = 1, so the residue is −1/[ρ(ρ − 1)]. If L(·, χ) is nonzero at both points, both orders are zero and this singleton transform is regular at ρ. In each case the weight is the same. Locating the zero decides which conclusion follows.

A pole requires a zero of a family member or its inverse at ρ. The abstract family can be empty. In the arithmetic application the modulus-one character occurs with weight 1. The four-translation example shows how averaging selects characters, and the arithmetic comparison determines their weights. The separate factor 1/2 in (2.10) comes from taking real parts.

Lean correspondence

Deduction.CharFamily and Deduction.Gm specify the weights and admissibility. Deduction.poleData, character pairs constructs the family transform. Its residue and real-pole sign use the zero-set witness. The level family identifies the retained sum. Comparison of arithmetic weights uses Deduction.CH.wtA.

Novel proof core Results in this passage. Residues for a real weighted family [PIL-07] · The retained weights [PIL-08]

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence
Fig. 6  /  Hypothetical local model

Add residues at one zero

Two positively weighted residues on the same ray−0.213−0.01130.190.3920.593−0.4130.3831.181.972.77imaginary partreal part
Total real part
2.358
Total imaginary part
0.3803
Scalar weight
3
The solid segment starts at the origin. The dashed segment adds the second contribution along the same ray, determined by −1/[ρ(ρ−1)]. At τ = 0 this ray points along the positive real axis. Both axes use the same scale.
Method and parameters

Model two local factors at the same hypothetical zero ρ = β+iτ with multiplicities m and 1, and positive weights 1 and a. Complex division uses the conjugate formula. The plot rescales to the vector length. An inverse-character half-sum uses the same rule after the multiplicities are averaged.

Related results. The residue of one zero [PIL-06] · Residues for a real weighted family [PIL-07] · The retained weights [PIL-08].

Displayed defaults: Real part β = 0.6, Imaginary part τ = 1, Multiplicity m = 2, Second weight a = 1.

Link to this figure state

2.9What the next theorem needs

In logarithmic coordinates set g(u) = GF(eu) for u ≥ 0. For the Laplace transform it suffices to have a rough bound |g(u)| ≤ C e2u. To see why such a bound is available, each uncentered sum is bounded by x∑n≤x(log n)/n. Since (log n)/n ≤ 1, this is at most x2. On x ≥ 1 the correction terms are also bounded by a character-dependent constant times x2. Each ramp is continuous, and only finitely many contribute on every bounded interval, so the resulting g is measurable. A finite weighted sum preserves that bound.

This bound alone justifies absolute convergence of the Laplace integral in Re s > 2. The window theorem uses this integral identity on Re s > 2. In Re s > 0 it requires the continued transform to be analytic away from isolated poles, with nonzero residues and positive residues at real poles. Here the poles come from zeros of the family members after regularizing the modulus-one member at 1. Each member has isolated zeros, and the family is finite. Intersecting their punctured neighbourhoods isolates every possible pole of the transform. The Mellin identities above already hold in Re s > 1.

The remaining task is to exclude a pole to the right of a chosen θ with 0 < θ < 1. The window argument accepts an upper bound on selected intervals, with gaps allowed. Precisely, fix δ > 0. For every η > 0 and starting threshold Y0, it needs some Y ≥ Y0 and a function R on [Y, Y1+δ] such that R ≥ 0, GF ≤ R there, and R(y)y−θ−1 is integrable on the interval with integral at most Yη. One can take the threshold at least 1. What this chapter supplies is the transform and its pole data. Obtaining these windows is an arithmetic problem. Showing that the windows force each pole to have real part at most θ takes a further analytic argument.

Novel proof core Results in this passage. Handoff to the window theorem [PIL-09]

Audit or simplify step (Tier A) · Check source hypotheses (Tier B) · Edit fragment · Email

Lean correspondence

2.10Two checks on the argument

1. Suppose a weight is changed to (1 − n/x)+. Compute its single-term transform for Re s > 1. Where do the denominator factors move?

Show the calculation

On [n, ∞) subtract n∫ x−s−2 dx from ∫ x−s−1 dx. The result is n−s[1/s − 1/(s + 1)] = n−s/[s(s + 1)]. In fact this calculation works for Re s > 0. Using this weight in (2.2) would change both the denominator and the centering calculation.

2. Suppose χ is real and its L-function has a hypothetical zero of order three at a real ρ with 0 < ρ < 1. For a singleton family with weight 2, what is B(ρ)?

Show the calculation

The inverse equals χ because its nonzero values are real roots of unity. Both multiplicities in (2.10) are 3, so B(ρ) = (2/2)(3 + 3) = 6. The residue is 6/[ρ(1 − ρ)]. The two appearances of χ are compensated by the half in the real-part identity.

Contents & blueprint · ← Ch. 1 · Ch. 3 → · Single-page full monograph (desktop) · Audit or improve Ch. 2

References in this chapter

  1. NIST DLMF §25.15(i), equations 1–2
  2. NIST DLMF §25.2(ii), equations 4–5