Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 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 harmonic sum is log x plus gamma plus O(1/x)

Statement

For every real x1,

nx1n=logx+γ+O(1/x).

Facts & Assumptions

Given: A real x1 and an integer N1.

Proof

technique · direct
1.1

Since t1/t is decreasing on [1,) by The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t, monotonicity of the integral and additivity over subintervals give nn+1dtt1nfor every integer n1, and 1nn1ndttfor every integer n2.

givenalgebra
2.1

Put EN:=n=1N1/nlog(N+1). Summing the first inequality of step 1.1 from n=1 to N gives EN0, and the same inequality at n=N+1 gives EN+1EN=1N+1N+1N+2dtt0. Also summing the second inequality of step 1.1 from n=2 to N gives n=1N1n1+logN<1+log(N+1), so 0EN<1. Thus (EN) is increasing and bounded, hence convergent by A nondecreasing sequence bounded above converges to the supremum of its range, and a nonincreasing sequence bounded below to the infimum.

step 1.1givenalgebra
3.1

Let L:=limNEN. Since n=1N1nlogN=EN+log ⁣(1+1N), and 0log(1+1/N)1/N by step 1.1, the sequence in The Euler-Mascheroni constant has the same limit L. Therefore L=γ, and 0n=1N1nlogNγ1N.

step 1.1step 2.1givenalgebra
4.1

For the given real x, let N:=x. Then Nx<N+1, so 0logxlogN=log(x/N)log(1+1/N)1/N. Combining this with step 3.1 yields nx1n=n=1N1n=logx+γ+O(1/N)=logx+γ+O(1/x), because Nx/2 for every x1.

step 3.1givenalgebra

Depends on

Used by

Dependency tree · two levels

34 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