Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-30
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.

Stirling's formula for Gamma

Statement

Fix δ with 0<δ<π. On the closed sector argzπδ, using the principal logarithm in zz1/2:=exp((z1/2)Logz), one has

Γ(z)=2πzz1/2ez(1+Oδ(z1))

as z.

Facts & Assumptions

Given: A fixed closed sector argzπδ.

[L1]

Reciprocal Gamma has the Weierstrass product (The Weierstrass product for reciprocal Gamma).

[L2]

Harmonic numbers satisfy Hn=logn+γ+o(1) (The Euler–Mascheroni constant and the harmonic asymptotic).

[L3]

The real Stirling formula gives log(N1)!=(N12)logNN+12log(2π)+o(1) as N through the positive integers (Stirling's formula for factorials).

Proof

technique · direct
1.1

Taking logarithms in [L1] on the chosen sector gives [L1, given, algebra] logΓ(z)=logzγz+n1(znLog(1+zn)), where Log denotes the principal logarithm.

L1givenalgebra
2.1

For an integer N1, define [step 1.1, algebra] IN(z):=0Nuu+1/2u+zdu. On each interval [n,n+1] with 0nN1, one has nn+1nu+1/2u+zdu=(n+12+z)Logn+1+zn+z1. Summing these equalities and telescoping the logarithms yields IN(z)=(N+z12)Log(N+z)(z+12)LogzNlog(N1)!zHN1+n=1N1(znLog(1+zn)).

step 1.1algebra
3.1

For fixed z in the sector, [L2] and [L3] give [L2, L3, step 1.1, step 2.1, algebra] HN1=logN+γ+o(1),log(N1)!=(N12)logNN+12log(2π)+o(1), and also Log(N+z)=logN+o(1) as N. Comparing the N limit of step 2.1 with the partial sums in step 1.1 gives the Binet-type formula logΓ(z)=(z12)Logzz+12log(2π)+0uu+1/2u+zdu.

L2L3step 1.1step 2.1algebra
4.1

Let [step 3.1, algebra] Φ(u):=0u(vv+1/2)dv. Then Φ is 1-periodic and therefore bounded. Integrating by parts in step 3.1 gives 0uu+1/2u+zdu=0Φ(u)(u+z)2du. On the closed sector argzπδ, one has u+zcδ(u+z) for a constant cδ>0, so the integral above is Oδ(z1) uniformly as z. Hence logΓ(z)=(z12)Logzz+12log(2π)+Oδ(z1), and exponentiating yields Γ(z)=2πzz1/2ez(1+Oδ(z1)).

step 3.1algebra

Depends on

Used by

Dependency tree · two levels

13 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