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,001 to 1,020 of 1,644 declarations.

theorem

Complex.norm_le_of_mem_ball_of_forall_sphere_norm_le

If f is holomorphic on the disk ‖·‖ < r and bounded by C on the circle ‖·‖ = r, then ‖f z‖ ≤ C for every z in the disk.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.AbsMax · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/AbsMax.lean:20

lemma

Complex.exists_norm_bound_on_closedBall

A continuous complex-valued function is bounded on a closed ball.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.Basic · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/Basic.lean:29

theorem

Complex.exists_pos_radius_forall_mem_ball_re_ge

If a < re z, nested open balls around z stay in the half-plane re · ≥ a.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.Basic · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/Basic.lean:38

theorem

Complex.borelCaratheodory_zero_closedBall

Variant of borelCaratheodory_zero for a uniform bound on a closed ball and ‖z‖ ≤ r.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.BorelCaratheodory · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/BorelCaratheodory.lean:19

theorem

Complex.hasProdUniformlyOn_canonicalProduct_compact

The canonical product converges uniformly on compact sets under the standard summability hypothesis.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CanonicalProduct · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CanonicalProduct.lean:61

theorem

Complex.differentiable_canonicalProduct

The canonical product is holomorphic on under the standard summability hypothesis.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CanonicalProduct · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CanonicalProduct.lean:82

theorem

Complex.logDeriv_weierstrassFactor_one_div

Genus-one Weierstrass factors contribute the usual 1 / (z - a) + 1 / a term to the logarithmic derivative.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CanonicalProduct · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CanonicalProduct.lean:109

theorem

Complex.canonicalProduct_apply_eq_zero

The canonical product vanishes at each prescribed zero a n.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CanonicalProduct · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CanonicalProduct.lean:145

theorem

Complex.canonicalProduct_ne_zero

Away from the prescribed zero set Set.range a, the canonical product is nonzero.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CanonicalProduct · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CanonicalProduct.lean:173

theorem

Complex.logDeriv_canonicalProduct_one_eq_tsum

The logarithmic derivative of a genus-one sequence-indexed canonical product is the expected sum of the logarithmic derivatives of the Weierstrass factors, away from the prescribed zero set.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CanonicalProduct · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CanonicalProduct.lean:237

lemma

Complex.CartanBound.phi_le_log_two_of_le_half

Open the record for the exact Lean statement and complete source.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CartanBound · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CartanBound.lean:162

lemma

Complex.CartanBound.log_norm_one_sub_div_ge_neg_phi

The one-dimensional logarithmic singularity used in the Cartan/dyadic averaging argument. -/ noncomputable def φ (t : ℝ) : ℝ := log⁺ (1 / |1 - t|)

lemma measurable_phi : Measurable φ := by unfold φ simpa [Real.posLog_def, Real.posLog] using (by fun_prop : Measurable fun t : ℝ => max 0 (Real.log (1 / |1 - t|)))

lemma phi_le_log_two_of_le_half {t : ℝ} (ht : t ≤ (1 / 2 : ℝ)) : φ t ≤ Real.log 2 := by have hnonneg : 0 ≤ (1 - t : ℝ) := by linarith have hden : (1 / 2 : ℝ) ≤ |1 - t| := by have : (1 / 2 : ℝ) ≤ (1 - t : ℝ) := by linarith simpa [abs_of_nonneg hnonneg] using this have hfrac : (1 / |1 - t| : ℝ) ≤ 2 := by have hhalfpos : (0 : ℝ) < (1 / 2 : ℝ) := by norm_num have := one_div_le_one_div_of_le hhalfpos hden simpa [one_div, div_eq_mul_inv] using this have hposLog : log⁺ (1 / |1 - t|) ≤ log⁺ (2 : ℝ) := Real.posLog_le_posLog (by positivity) hfrac have habs : (1 : ℝ) ≤ |(2 : ℝ)| := by simp have hposLog2 : (log⁺ (2 : ℝ)) = Real.log 2 := by simpa using (Real.posLog_eq_log habs) simpa [φ, hposLog2] using hposLog

lemma phi_eq_zero_of_one_le_abs_one_sub {t : ℝ} (ht : (1 : ℝ) ≤ |1 - t|) : φ t = 0 := by have hpos : 0 < |1 - t| := lt_of_lt_of_le (by norm_num) ht have hfrac : (1 / |1 - t| : ℝ) ≤ 1 := (div_le_one hpos).2 ht have habs : |(1 / |1 - t| : ℝ)| ≤ 1 := by have hnonneg : 0 ≤ (1 / |1 - t| : ℝ) := by positivity simpa [abs_of_nonneg hnonneg] using hfrac have : log⁺ (1 / |1 - t|) = 0 := (Real.posLog_eq_zero_iff _).2 habs simpa [φ] using this

lemma φ_nonneg (t : ℝ) : 0 ≤ φ t := by simpa [φ] using (Real.posLog_nonneg (x := (1 / |1 - t|)))

lemma φ_le_sqrt (t : ℝ) : φ t ≤ Real.sqrt (2 / |1 - t|) := by simpa [φ, Real.posLog] using posLog_log_one_div_abs_one_sub_le_sqrt (t := t)

lemma ae_restrict_norm_phi_le_of_forall_mem {A B : ℝ} (hAB : A ≤ B) {g : ℝ → ℝ} (hg : ∀ t, 0 ≤ g t) (h : ∀ t ∈ Set.Icc A B, φ t ≤ g t) : (fun t : ℝ => ‖φ t‖) ≤ᶠ[ae (volume.restrict (Set.uIoc A B))] fun t => ‖g t‖ := by refine MeasureTheory.ae_restrict_of_forall_mem (μ := (volume : MeasureTheory.Measure ℝ)) (s := Set.uIoc A B) (by simpa using (measurableSet_uIoc : MeasurableSet (Set.uIoc A B))) ?_ intro t ht have htIoc : t ∈ Set.Ioc A B := by simpa [Set.uIoc_of_le hAB] using ht have htIcc : t ∈ Set.Icc A B := ⟨le_of_lt htIoc.1, htIoc.2⟩ have hle : φ t ≤ g t := h t htIcc have hφ0 : 0 ≤ φ t := φ_nonneg t have hg0 : 0 ≤ g t := hg t simpa [Real.norm_eq_abs, abs_of_nonneg hφ0, abs_of_nonneg hg0] using hle

/-!

Bridge lemma: from the 1D singularity φ to a complex lower bound

On a circle ‖u‖ = r, the quantity log ‖1 - u/a‖ is bounded below in terms of φ(r/‖a‖). This is the local estimate in the probabilistic-radius argument.

PrimeNumberTheoremAnd.Mathlib.Analysis.Complex.CartanBound · PrimeNumberTheoremAnd/Mathlib/Analysis/Complex/CartanBound.lean:219

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.