Alphabeta Math
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31
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.

The average order of the two-square representation count is pi

Statement

For every real x1,

nxr2(n)=πx+O(x).

Consequently the constant function π is an average order of r2.

Facts & Assumptions

Given: A real x1, N:=x, and G(y):=nyχ4(n).

Proof

technique · direct
1.1

By The divisor formula for the two-square representation count, r2=4(1χ4). Applying Dirichlet's hyperbola method for summatory convolutions with f=1, g=χ4, and U=V=x gives nxr2(n)=4(aNG(x/a)+bNχ4(b)xbNG(N)).

givenalgebra
2.1

The values of χ4 repeat as 1,0,1,0, so every complete block of length 4 has sum 0 and every initial partial block has sum 0 or 1. Hence G(y)=O(1) uniformly in y, and step 1.1 gives aNG(x/a)=O(N),NG(N)=O(N). Also x/b=x/b+O(1), so bNχ4(b)xb=xbNχ4(b)b+O(N).

step 1.1givenalgebra
3.1

Deleting the zero even terms identifies bNχ4(b)/b with a partial Gregory-Leibniz sum. Therefore The Gregory-Leibniz series: pi over four equals 1-1/3+1/5-1/7+... gives bNχ4(b)b=π4+O(1/N).

step 2.1given
4.1

Substituting step 3.1 into step 2.1 and then into step 1.1 yields nxr2(n)=4(xπ4+O(N))=πx+O(x). Since nxπ=πx=πx+O(1), Summatory functions and average orders now says that the constant function π is an average order of r2.

step 1.1step 2.1step 3.1givenalgebra

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

27 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