Kaczorowski's Theorem in Lean 4: Under GRH, the Knapowski-Turan Chebyshev Bias Conjecture Fails

Result: Proves ChebyshevBias.knapowski_turan_natural_density_false directly (PR #49486, accepted by the Left to Solve Lean checker; solution credited to aliuyar1234): if every zero of L(s, chi_4) in the critical strip has real part 1/2, then the primes 3 mod 4 do not lead the race on a set of natural density 1. The file contains no sorry, admit, native_decide or axiom declarations. A Lean 4 proof of Jerzy Kaczorowski's 1995 theorem on Chebyshev's bias modulo 4: assuming GRH for L(s, chi_4), the set where pi(n; 4, 3) > pi(n; 4, 1) does not have natural density 1, so the 1962 Knapowski-Turan natural-density conjecture fails under GRH. A single 8,519-line file (PR #49486) proves the formal-conjectures target directly. It derives a triangle-smoothed explicit formula by contour shifting, uses a lower bound for critical-line zeros to show that the resulting zero-sum profile has arbitrarily deep troughs, transfers this to the prime race by Abel summation, and closes with a logarithmic second-moment estimate. Substantial parts of the file are adapted from credited Apache-2.0 code by other authors: the density reduction, character lemmas, the zero count via an annulus-blocked canonical product, a disk factorization, a rectangular residue theorem and a Plancherel identity. Credits: Mathematics: J. Kaczorowski (1995), building on Knapowski-Turan (1962) and Rubinstein-Sarnak (1994). Lean proof produced with AI coding agents operated by the author (PR body: agent t3-code, model gpt-6.2-astra). Adapted Apache-2.0 code, as stated in the file header: density reduction from @tkaiman's R1 proof (PR #22748); character lemmas from @mattdorman's proof of ChebyshevBias.littlewood_mod_four_sign_changes.R1.H1.R1.H2 (PR #11424), companion Littlewood proof PR #11425, parameterized zero-multiplicity lower bound and exponential change of variables from the same author's PR #11748; local disk factorization and holomorphic logarithm from @nil-commits' Arithmetica4 via @marcusbuffett's PR #5370; rectangular residue theorem from the Zeta23 port of PrimeNumberTheoremAnd (copyright Anthropic, PBC and the PrimeNumberTheoremAnd contributors); Plancherel identity from LeanClassics. NymanPlancherel by Sky (@ChironTheCentaur) via @senamakel's port. The PR body records no other contributors.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24765113
Primary Topic
Analytic Number Theory Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Kaczorowski's Theorem in Lean 4: Under GRH, the Knapowski-Turan Chebyshev Bias Conjecture Fails

Ali Uyar
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
article

Kaczorowski's Theorem in Lean 4: Under GRH, the Knapowski-Turan Chebyshev Bias Conjecture Fails

Ali Uyar
article en

Abstract

Result: Proves ChebyshevBias.knapowski_turan_natural_density_false directly (PR #49486, accepted by the Left to Solve Lean checker; solution credited to aliuyar1234): if every zero of L(s, chi_4) in the critical strip has real part 1/2, then the primes 3 mod 4 do not lead the race on a set of natural density 1. The file contains no sorry, admit, native_decide or axiom declarations. A Lean 4 proof of Jerzy Kaczorowski's 1995 theorem on Chebyshev's bias modulo 4: assuming GRH for L(s, chi_4), the set where pi(n; 4, 3) > pi(n; 4, 1) does not have natural density 1, so the 1962 Knapowski-Turan natural-density conjecture fails under GRH. A single 8,519-line file (PR #49486) proves the formal-conjectures target directly. It derives a triangle-smoothed explicit formula by contour shifting, uses a lower bound for critical-line zeros to show that the resulting zero-sum profile has arbitrarily deep troughs, transfers this to the prime race by Abel summation, and closes with a logarithmic second-moment estimate. Substantial parts of the file are adapted from credited Apache-2.0 code by other authors: the density reduction, character lemmas, the zero count via an annulus-blocked canonical product, a disk factorization, a rectangular residue theorem and a Plancherel identity. Credits: Mathematics: J. Kaczorowski (1995), building on Knapowski-Turan (1962) and Rubinstein-Sarnak (1994). Lean proof produced with AI coding agents operated by the author (PR body: agent t3-code, model gpt-6.2-astra). Adapted Apache-2.0 code, as stated in the file header: density reduction from @tkaiman's R1 proof (PR #22748); character lemmas from @mattdorman's proof of ChebyshevBias.littlewood_mod_four_sign_changes.R1.H1.R1.H2 (PR #11424), companion Littlewood proof PR #11425, parameterized zero-multiplicity lower bound and exponential change of variables from the same author's PR #11748; local disk factorization and holomorphic logarithm from @nil-commits' Arithmetica4 via @marcusbuffett's PR #5370; rectangular residue theorem from the Zeta23 port of PrimeNumberTheoremAnd (copyright Anthropic, PBC and the PrimeNumberTheoremAnd contributors); Plancherel identity from LeanClassics. NymanPlancherel by Sky (@ChironTheCentaur) via @senamakel's port. The PR body records no other contributors.

Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon