Skip to main content
All packages

AlexKontorovich/PrimeNumberTheoremAnd

PrimeNumberTheoremAnd

Blueprint for the PNT+ Project

Therefore indexed 1,644 complete source declarations from the exact package revision. Individual authorship and independent verification remain unset.

Research project325 GitHub starsApache-2.09 indexed versionsRepositoryFull history on Reservoir

Head version

a93551347dce

a93551347dce924b1db75d40218841bf085a465f

Toolchain
leanprover/lean4:v4.32.0
Revision date
22 Jul 2026
Dependencies
13
Versions
9

External build observation

Exact head commit and toolchain

No Reservoir build observation was found for this exact commit and toolchain. This is not evidence of failure.

Pin this source in lakefile.lean

require PrimeNumberTheoremAnd from git "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd.git" @ "a93551347dce924b1db75d40218841bf085a465f"

Source declarations

1,644 indexed proofs

Package history

Showing 1,161 to 1,180 of 1,644 declarations.

theorem

Complex.gamma_half_vertical_norm_le_exp

Critical-line Gamma decay: ‖Γ(1/2+iτ)‖ ≤ √(2π) exp(-π|τ|/2).

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.CriticalLineDecay · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/CriticalLineDecay.lean:94

lemma

Complex.norm_inv_add_one_sub_inv_le

The Weierstrass bound for the digamma series summand on a bounded substrip of the right half-plane.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:86

lemma

Complex.norm_inv_add_one_sub_inv_le'

The linear-decay bound for the digamma series summand on a right half-plane, used for the head of the series in the growth estimate.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:109

lemma

Complex.hasSum_sub_succ_of_tendsto_zero

A summable telescoping series whose terms tend to zero sums to its first term.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:138

lemma

Complex.tsum_one_div_natCast_add_add_one_sq_le

The tail of the series ∑ 1 / (m + 1) ^ 2 past N is at most 1 / N.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:151

lemma

Complex.logGammaSeq_succ_sub

The increment of logGammaSeq in closed form.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:215

lemma

Complex.cauchySeq_logGammaSeq

For 0 < z.re, the sequence logGammaSeq z is Cauchy.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:251

lemma

Complex.exp_logGammaSeq

On the right half-plane, exp (logGammaSeq z n) = GammaSeq z n for n ≠ 0.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:331

lemma

Complex.hasSum_digamma_of_re_pos

The digamma series on the right half-plane.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:351

theorem

Complex.hasSum_digamma

The series representation of the digamma function: for z away from the poles of Gamma, the series ∑ (1 / (n + 1) - 1 / (n + z)) sums to digamma z + γ, where γ is the Euler-Mascheroni constant.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:486

theorem

Complex.continuousOn_digamma_of_re_ge_norm_le

The digamma function is continuous on bounded closed substrips of the right half-plane.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:577

theorem

Complex.continuousAt_digamma_of_re_pos

The digamma function is continuous at every point of the open right half-plane.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:615

theorem

Complex.differentiableOn_digamma_of_re_gt_norm_lt

The digamma function is differentiable on bounded open substrips of the right half-plane.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:648

theorem

Complex.differentiableAt_digamma_of_re_pos

The digamma function is differentiable at every point of the open right half-plane.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:695

theorem

Complex.exists_norm_digamma_le_log

The digamma function grows at most logarithmically on vertical strips inside the right half-plane: on a ≤ z.re ≤ b with 0 < a, ‖digamma z‖ ≤ C * Real.log (|z.im| + 2).

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:726

theorem

Complex.exists_norm_digamma_div_two_le_log

The growth bound for digamma (w / 2) on vertical strips, the form consumed by explicit-formula contour integrals.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.DigammaSeries · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/DigammaSeries.lean:871

lemma

Stirling.GammaAux.norm_sub_real_le

If 0 < a < re s, then subtracting a from s does not increase the norm.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.GammaStirlingAux · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/GammaStirlingAux.lean:39

lemma

Stirling.GammaAux.prod_norm_le_pow

Product bound: |∏_{k < m} (s-1-k)| ≤ |s|^m

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.GammaStirlingAux · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/GammaStirlingAux.lean:60

lemma

Stirling.GammaAux.Gamma_iterate

Product bound: |∏_{k < m} (s-1-k)| ≤ |s|^m -/ lemma prod_norm_le_pow {s : ℂ} {m : ℕ} (h : ∀ k < m, (k : ℝ) + 1 < s.re) : ‖∏ k ∈ Finset.range m, (s - 1 - k)‖ ≤ ‖s‖ ^ m := by calc ‖∏ k ∈ Finset.range m, (s - 1 - k)‖ = ∏ k ∈ Finset.range m, ‖s - 1 - k‖ := norm_prod _ _ _ ≤ ∏ _k ∈ Finset.range m, ‖s‖ := by apply Finset.prod_le_prod (fun k _ => norm_nonneg _) intro k hk; exact norm_shift_le (h k (Finset.mem_range.mp hk)) _ = ‖s‖ ^ m := by rw [Finset.prod_const, Finset.card_range]

/-! ## Iterated functional equation

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.GammaStirlingAux · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/GammaStirlingAux.lean:71

theorem

Real.Gamma.le_one_of_mem_Icc

For x ∈ [1, 2], Γ(x) ≤ 1 since Γ(1) = Γ(2) = 1 and the function is convex.

PrimeNumberTheoremAnd.Mathlib.Analysis.SpecialFunctions.Gamma.IntegralBounds · PrimeNumberTheoremAnd/Mathlib/Analysis/SpecialFunctions/Gamma/IntegralBounds.lean:39

Static source extraction only. Package code was not executed. Every result keeps its complete declaration, exact file and line range, commit, toolchain, license file, and content hash.