Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-05
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Mertens sum for primes in an arithmetic progression

Statement

For fixed q1 and (a,q)=1,

pxpa(q)1p=1φ(q)loglogx+Oq(1).

Facts & Assumptions

Given: A modulus q1, a reduced residue class a, and the weighted sum

A(x):=pxpa(q)logpp.

[L1]

Character orthogonality isolates one reduced residue class modulo q (Orthogonality relations for Dirichlet characters modulo q).

[L2]

For a nonprincipal character, the partial sums of χ are bounded, the series n1χ(n)/n converges to L(1,χ), and L(1,χ)0 (Nonprincipal Dirichlet character partial sums are bounded, Nonprincipal Dirichlet L-functions are holomorphic on Re s greater than 0, Nonprincipal Dirichlet L-functions are nonzero at one).

[L3]

The von Mangoldt identity is logn=dnΛ(d), and Λ is supported on prime powers (The divisor sum of von Mangoldt is the arithmetic-function logarithm, The von Mangoldt function).

Proof

technique · direct
1.1

For each Dirichlet character χ modulo q, define Aχ(x):=pxχ(p)logpp. Because every prime pa(modq) is coprime to q, [L1] gives φ(q)A(x)=χmodqχ(a)Aχ(x).

L1givenalgebra
2.1

If χ=χ0 is principal, then Aχ0(x)=pxpqlogpp=logx+Oq(1) by [L5]. Now let χχ0, put Mχ(y):=nyχ(n), and define Tχ(x):=nxχ(n)lognn,Sχ(x):=nxχ(n)Λ(n)n. Abel summation and [L2] give Tχ(x)=Oq(1) and byχ(b)b=L(1,χ)+Oq(y1). Using [L3], complete multiplicativity, and finite rearrangement, Tχ(x)=axχ(a)Λ(a)abx/aχ(b)b=L(1,χ)Sχ(x)+Oq ⁣(1xaxΛ(a)). The last error is Oq(1) by [L4]. Since L(1,χ)0 by [L2], it follows that Sχ(x)=Oq(1). Removing the absolutely bounded contribution of prime powers pm with m2 gives Aχ(x)=Oq(1). Returning to step 1.1, only the principal character contributes an unbounded term, and therefore A(x)=1φ(q)logx+Oq(1).

L2L3L4L5step 1.1algebra
3.1

Apply [L5] to the sequence that is 1/p on primes pa(modq) and 0 otherwise, with weight logn. Exactly as in the ordinary prime Mertens argument, this gives pxpa(q)1p=A(x)logx+2xA(t)tlog2tdt. Substituting the estimate from step 2.1 yields A(x)logx=1φ(q)+Oq ⁣(1logx) and 2xA(t)tlog2tdt=1φ(q)2xdttlogt+Oq ⁣(2dttlog2t)=1φ(q)loglogx+Oq(1). Combining these two estimates proves pxpa(q)1p=1φ(q)loglogx+Oq(1).

L5step 2.1algebra

Depends on

Used by

Dependency tree · two levels

44 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources