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 q≥1 and (a,q)=1,

∑p≤xp≡a(q)1p=1φ(q)log⁡log⁡x+Oq(1).

Facts & Assumptions

Given: A modulus q≥1, a reduced residue class a, and the weighted sum

A(x):=∑p≤xp≡a(q)log⁡pp.

[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 ∑n≥1χ(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 log⁡n=∑d∣nΛ(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.1L1givenalgebra

For each Dirichlet character χ modulo q, define Aχ(x):=∑p≤xχ(p)log⁡pp. Because every prime p≡a(modq) is coprime to q, [L1] gives φ(q)A(x)=∑χ mod qχ(a)‾ Aχ(x).

2.1L2L3L4L5step 1.1algebra

If χ=χ0 is principal, then Aχ0(x)=∑p≤xp∤qlog⁡pp=log⁡x+Oq(1) by [L5]. Now let χ≠χ0, put Mχ(y):=∑n≤yχ(n), and define Tχ(x):=∑n≤xχ(n)log⁡nn,Sχ(x):=∑n≤xχ(n)Λ(n)n. Abel summation and [L2] give Tχ(x)=Oq(1) and ∑b≤yχ(b)b=L(1,χ)+Oq(y−1). Using [L3], complete multiplicativity, and finite rearrangement, Tχ(x)=∑a≤xχ(a)Λ(a)a∑b≤x/aχ(b)b=L(1,χ)Sχ(x)+Oq ⁣(1x∑a≤xΛ(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 m≥2 gives Aχ(x)=Oq(1). Returning to step 1.1, only the principal character contributes an unbounded term, and therefore A(x)=1φ(q)log⁡x+Oq(1).

3.1L5step 2.1algebra∎

Apply [L5] to the sequence that is 1/p on primes p≡a(modq) and 0 otherwise, with weight log⁡n. Exactly as in the ordinary prime Mertens argument, this gives ∑p≤xp≡a(q)1p=A(x)log⁡x+∫2xA(t)tlog⁡2t dt. Substituting the estimate from step 2.1 yields A(x)log⁡x=1φ(q)+Oq ⁣(1log⁡x) and ∫2xA(t)tlog⁡2t dt=1φ(q)∫2xdttlog⁡t+Oq ⁣(∫2∞dttlog⁡2t)=1φ(q)log⁡log⁡x+Oq(1). Combining these two estimates proves ∑p≤xp≡a(q)1p=1φ(q)log⁡log⁡x+Oq(1).

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