Robin1984

CI

Robin1984 gives arithmetic criteria for the critical-line location of zeros and for their multiplicities. It includes the classical Robin and Lagarias equivalences, corrected ideal-divisor criteria for Dirichlet GRH and Dedekind ERH, and triangular prime-power criteria for standard automorphic -functions. The concrete Lean automorphic construction covers every unitary Hecke character of every number field.

Headline equivalences

Let , let be the Euler–Mascheroni constant, and let . RH means that every zero of in has real part .

  1. Robin. RH holds if and only if for every integer .
  2. Colossally abundant Robin. RH holds if and only if the same strict inequality holds for every colossally abundant integer . Here is colossally abundant if some satisfies for every integer .
  3. Lagarias. RH holds if and only if for every integer .
  4. Dirichlet GRH. The critical-line condition for all Dirichlet -functions is equivalent to the corrected ideal Robin bound in every cyclotomic field.
  5. Dedekind ERH. The critical-line condition for all Dedekind zeta functions is equivalent to the same bound in every number field.
  6. Standard automorphic critical-line criterion. The standard family satisfies the critical-line condition if and only if each test in the family satisfies the triangular square-root bound below. Lean supplies the unconditional analytic construction for the standard rank-one family.

The Mathlib-only Challenge and the Solution give the six location equivalences and the four multiplicity equivalences. The Comparator manifest specifies the exact declarations.

Dirichlet GRH, Dedekind ERH, and Grand RH

The corrected ideal Robin inequality

Let be a number field with ring of integers and discriminant . Write for the residue of its Dedekind zeta function, and let be the Euler–Mascheroni constant. For a nonzero integral ideal , the absolute norm and the ideal divisor sum are

The corrected inequality for asks for an integer cutoff such that every nonzero integral ideal with satisfies

All logarithms are natural. The cutoff can depend on .

  • Dirichlet GRH. For every integer and every Dirichlet character modulo , every zero of in lies on if and only if the corrected ideal Robin inequality holds in every cyclotomic field , where is a primitive -th root of unity.
  • Dedekind ERH. For every number field , every zero of in lies on if and only if the corrected ideal Robin inequality holds in every number field .

Grand RH and the triangular prime-power inequality

Grand RH is the assertion that every nontrivial zero of every automorphic -function has real part . The equivalence below concerns its restriction to the standard of unitary cuspidal representations of for all and all number fields . In this family the nontrivial zeros are the zeros of the pole-cleared completed functions.

For each , include the test . For every other than a pure norm character of , include the paired test , where is the contragredient of . The test covers the pure norm characters because their standard functions are .

For a nonzero prime ideal write . The real coefficients for integers are those of the logarithmic derivative

For , . For a pair, write , using zero parameters as needed at ramified primes. Then

Let be the pole order of at , equal to for the Dedekind test and for a paired test. The critical-line condition for this standard family is equivalent to the following bound for every test .

Each has its own constants and , and the bound holds for every real . For , the triangular bound and the corrected ideal Robin inequality are equivalent for that field. Taking all fields gives Dedekind ERH. Taking all cyclotomic fields gives Dirichlet GRH.

The verified standard rank-one family

A unitary Hecke character of is a continuous character . At an unramified prime , its Euler parameter is the local character evaluated at a uniformizer. At a ramified prime set . With , the paired coefficients are

The characters that are trivial on the norm-one idele classes are the norm characters . Their completed functions are the pole-cleared Dedekind completion evaluated at . Thus the single test covers all norm characters of . For all remaining characters use and . Over each number field the joint critical-line condition is equivalent to the Dedekind bound and all these paired Hecke bounds. The Lean construction supplies the actual Euler products, completions, and analytic estimates for this family. Rank-one equivalences.

Higher-rank formalization cutoff

The paper proves the equivalence for the standard in every rank using the cited analytic theorems. The concrete Lean construction for this release stops at . The Lean theorem for a supplied family uses HasStandardAutomorphicAnalytics and the corresponding multiplicity theorem uses HasStandardMultiplicityAnalytics.

For the spherical higher-rank construction, Lean proves the finite and archimedean local Euler integrals and the product-test continuation and functional equation given a measurable finite-volume reduction set and the stated square-integrability and cuspidal cancellation. Conditional product-test continuation.

  • A compact finite-adelic projection meets every rational orbit in the determinant-norm-one group. At infinity, a determinant-bounded Iwasawa Siegel region with lower bounds on the successive diagonal log gaps and bounded upper entries has finite Haar volume. Finite reduction, archimedean volume.
  • The short-row selection and integral matrix denominator bounds are proved. The next step is to apply them to the embedded integral number-field lattice and use integral row changes to put a representative of every orbit into the same archimedean region, with a compact finite-adelic projection. Short rows, integral matrix inverse.
  • The global construction still needs the cuspidal decay and quotient integrability on that reduction set, followed by identification of the normalized completed functions with the actual standard family. General local data at ramified and nonspherical places belong to the extension beyond the spherical construction.

Critical-line zeros and multiplicity

For a carrier , let be the planar area of . The local test for a prescribed maximum order is

Use off the critical line. On the line, for a holomorphic factorization with nowhere zero, use for specified lower bounds on the factor orders. The basic choice counts one per factor vanishing at , with its exponent . This tests for no excess order in the factors and counts shared zeros with their weights. The Robin or triangular criterion can supply the location condition instead, so the area test only needs points on the line.

The arithmetic carriers are , , and with the individual pole-cleared completion . The first two have the coefficients and in their Dirichlet series, where . The paper gives the automorphic local factors, the holomorphy requirement for a full Artin factorization, and the treatment of intrinsic central zeros. This extension is a mathematical criterion.

The same triangular remainder also supplies an arithmetic multiplicity test. Once the square-root bound holds, put , . The order of the pole-cleared function in the triangular Mellin formula is the limit, as , of

This order is at most exactly when for every sufficiently small . The paper gives the completion factor correction when that factor has nonzero order at .

Global multiplicity test

Use the individual Euler coefficients for the multiplicity of an individual function. For take and . For take . For a Dirichlet character modulo use , with extended by zero off the units modulo . The pole order at is one for the zeta functions and for a principal Dirichlet character. For a pole-free Hecke function use and pole order zero. For an individual standard use , with the completion and pole clearing in the chosen normalization.

For these coefficients form by the same triangular formula and put for , and for . For set

Here denotes convolution on . Let be the finite set of ordinates exempted from simplicity, the finite set of ordinates with specified orders, and the desired orders. Set . The test is

Under the critical-line hypothesis, the mean square has a limit, and where is the zero order at . Consequently is the sum of over retained ordinates. Each summand is nonnegative. With the inequality detects simple zeros. With exceptions it also forces at each .

Four conditional headline equivalences

Assume the corresponding location hypothesis in each statement. Write for the global mean-square limit and for the limit superior defined above.

HypothesisMultiplicity requirement equivalent to the global inequality
RHAll nontrivial zeros of are simple iff for .
Dirichlet GRHEach Dirichlet -function has simple nontrivial zeros iff for each individual character.
Dedekind ERHAll nontrivial zeros of are simple iff for the prime-ideal powers of . This applies to every number field.
Grand RHEvery individual standard completion has simple zeros outside its prescribed exceptions and the stated exact orders at specified exceptions iff for each individual representation. The term is the sum of squared errors in the prescribed orders, weighted by the Gaussian coefficients.

The research paper gives the proofs. The Challenge and Solution contain the following multiplicity equivalences.

HypothesisLean declaration
RHriemannRH_iff_globalPrimePowerMultiplicityInequality
Dirichlet GRHdirichletGRH_iff_globalPrimePowerMultiplicityInequality
Dedekind ERHdedekindERH_iff_globalPrimePowerMultiplicityInequality
Grand RH for a supplied standard familygrandRH_iff_globalPrimePowerMultiplicityInequality

The Dedekind test uses for and for , with the prime-ideal remainder defined above. For a positive holomorphic factorization , the factorwise criterion equates the forced orders with .

For the concrete standard family, the prescribed-order test is the conjunction of the Dedekind test and the individual pole-free Hecke tests. For the norm twist with parameter , the Dedekind order at is the twist order at . Translate the Dedekind exceptional and prescribed ordinates by the same amount. The normalized Dedekind completion and its norm twists therefore share one arithmetic test. Standard rank-one multiplicity theorem.

Mathematical organization

The proof development is organized by mathematical role:

  • Robin1984/Arithmetic/ defines Robin's inequality and elementary divisor and logarithmic bounds.
  • Robin1984/ColossallyAbundant/ develops marginal prime-power events, colossally abundant threshold profiles, and the reduction to CA integers.
  • Robin1984/Finite/ contains the exact startup proof, rational tangent rows, and kernel-checked finite certificates.
  • Robin1984/Lagarias/ proves the harmonic comparison, finite range, and the forward and converse bridges for Lagarias's elementary criterion.
  • Robin1984/Analytic/ proves the explicit Mertens, prime-power and large-height estimates used under RH.
  • Robin1984/NicolasLandau/ reconstructs Nicolas's oscillation argument and Landau's positive-transform principle, including the weighted explicit formula and multiplicity-aware xi-zero sums.
  • Robin1984/Equivalence/ assembles the finite and analytic implications into the public equivalence theorem.
  • Robin1984/Helpers/ contains reusable event, threshold, state and prime-tower lemmas.
  • Robin1984/Mathlib/ contains project-independent modules maintained in their proposed upstream namespaces and source format.

The finite proof has three visible parts. Exact prime factorizations cover 5041 <= n < 7560; a common colossally abundant tangent covers 7560 <= n < 720720; and 36 rational log-height rows cover the remaining finite range through log n = 74500. The final retained row uses 105 bounded prime-product blocks, each recomputed with decide +kernel.

Mathlib candidate layer

MATHLIB_PORTING.md inventories the reusable modules maintained for possible upstreaming. The current candidate layer contains nine modules covering Abel identities, Nat.lcmUpto support, finite Mertens products, exact rational logarithm bounds, one-sided Omega transfer, absolute tail reweighting, nonnegative-MGF continuation, and positive-real zeta nonvanishing. Each uses its proposed upstream namespace at a path mirroring its intended Mathlib destination. Existing project declarations and the advertised downstream API retain their original names.

The import audit enforces a one-way boundary: candidates may depend only on narrow Mathlib-family modules or other candidates, never on Robin1984 proof code or third-party project libraries. It also checks Mathlib source headers, absence of the project namespace from candidate bodies, one manifest row per candidate, and a recognized readiness state. All nine candidates build directly against the pinned Mathlib revision before the complete project.

Provenance

Every project-specific Lean file has two separate module headers:

  1. a content-reviewed provenance designation identifying whether the file directly formalizes Robin, Nicolas, Landau or another published source; records a standard mathematical formalization; or is primarily original to this Lean development; and
  2. a human-readable description of the module's definitions, theorems and role in the proof.

Mathlib candidate source instead uses Mathlib's upstream-ready copyright, licence, authorship and module-documentation header while retaining an exact reviewed entry in the repository provenance ledger.

The review methodology and category counts are in docs/PROVENANCE.md. The machine-readable, path-exact review record is provenance/ledger.json. Provenance was assigned from the contents and dependency role of each file, not from filename or keyword matching.

Primary mathematical references include:

The complete structured bibliography and source relationships are recorded in formalization.yaml. The accompanying research paper presents the mathematical proof, theorem-by-theorem correspondence, and original references.

Trust and proof surface

The Comparator manifest lists ten Challenge/Solution pairs and permits the standard Lean axioms propext, Classical.choice, and Quot.sound. The deliberate sorry placeholders in Challenge.lean state the theorem targets. The implementation proofs live in Solution.lean and the project library.

Finite certificates use ordinary decide +kernel, exact natural and rational arithmetic, and proved soundness theorems. Comparator statement checking and an independent NanoDa replay are configured as release gates in Linux CI.

Lean version and dependencies

The project is pinned to Lean v4.33.1; see lean-toolchain and lake-manifest.json. The proof depends on Mathlib and leancert at pinned Git revisions. The analytic dependency PrimeNumberTheoremAnd is fetched from a temporary public compatibility and extension fork at the exact commit recorded in the manifest. That commit is based on upstream commit 47fa48680663df41146704d02a5b092d792bd5b9 and contains the Lean 4.33.1 proof repairs plus the xi-divisor and Mertens interfaces used here. As of September 2026, upstream main still declares Lean 4.32.2 and does not contain the required xi-divisor source. The fork can be removed after a compatible upstream revision contains or replaces those interfaces and the full build and Comparator/NanoDa checks pass. The added xi-divisor source retains Matteo Cipollina's authorship and Apache-2.0 notice. A fresh Lake build reconstructs the dependency from public Git history and needs no local or build-time patch step.

Building

Install Git and elan, then ensure the pinned toolchain can be installed. On Windows PowerShell:

./scripts/bootstrap.ps1
lake exe cache get
lake build

On Linux or macOS:

lake update
lake exe cache get
lake build

The bare lake build command is the complete submission build. Its default targets are Challenge and Solution; they use Lake's ordinary scheduler, so unrelated modules can build concurrently. The memory-intensive Robin and Lagarias certificate modules encode their order as import-dependency ladders, keeping those elaborations sequential in both repository and consumer builds. Each Lean process is additionally bounded to one internal task thread (-j1).

The finite certificates are deliberately substantial, so a fully uncached build is dominated by their kernel reductions and can take considerably longer than an incremental replay. It needs several GiB of free disk space and adequate memory; no machine-independent cold-build duration is claimed.

Checks

The repository's local checks are:

./scripts/check-imports.ps1
./scripts/check-provenance.ps1
ruby ./scripts/validate-formalization.rb

The import linter rejects package and Mathlib-category umbrella imports, duplicate or unresolved imports, non-canonical header ordering, and local imports already supplied transitively by another direct import. It also enforces the Mathlib candidate boundary and inventory. The subsequent Lean build separately verifies that every retained narrow import provides the notation, tactics, instances, and declarations its file actually needs.

On a Linux host with Git, Lake, Go, Rust/Cargo, Python 3 and Landrun support, run the pinned Comparator and NanoDa toolchain with:

./scripts/verify-comparator.sh

The verifier first runs the repository's sequential default build. Comparator then exports the Challenge and Solution environments separately, compares each advertised theorem statement and the declarations used by that statement, audits the Solution proof bodies against the three permitted standard axioms, and replays the export through Lean's default kernel. The configuration has no definition holes and requires a second replay through the independent NanoDa kernel. Linux CI passes the completed root .lake/build tree from its build job to the Comparator job, avoiding a redundant cold build while retaining the same checks on fresh standalone verifiers. It pins the upstream leanprover/lean4export v4.33.0 source commit and compiles that source unmodified with this repository's exact Lean v4.33.1 toolchain via ELAN_TOOLCHAIN. This keeps the exporter compatible with the project's .olean format without a fork or a machine-local patch. The build job also caches that tree across workflow runs under a key derived from every Lean source and build-defining file. A source change therefore forces a new kernel build, while documentation-only changes can reuse the exact Linux .oleans.

The same CI run publishes the compiled research paper as the robin1984-research-paper artifact. Its cached PDF is keyed only by paper/robin1984-formalization.tex, so an unchanged paper source reuses the same PDF instead of rebuilding it. The build uses the source file's last Git change time as SOURCE_DATE_EPOCH and checks that the final PDF is nonempty and has resolved references and a positive page count.

Successful main builds publish an official GitHub release only after every job has passed, including Comparator statement matching, NanoDa replay and Lean's default-kernel replay. The committed RELEASE_VERSION file supplies the semantic version and must be bumped before a new release; CI checks tag collisions before starting the long Lean build. The release contains the paper PDF and a compressed Ubuntu .lake/build tree with the project's licensing information. A rerun at an already published commit verifies the existing release.

Production and review disclosure

The maintainer selected the mathematical goals, source correspondences and public theorem statements. OpenAI Codex agents assisted with Lean proof development, dependency analysis, refactoring, certificate organization, documentation and mechanical audits. Lean's kernel and the independent Comparator/NanoDa pipeline are correctness gates; they are not substitutes for independent expert mathematical review. No such expert review is claimed.

Licence and submission

The repository's original material is licensed under the Apache License 2.0 by default. The research paper is additionally available under CC-BY-4.0, at the recipient's option. Mathematical provenance, cited papers, external dependencies, file-specific exceptions, and generated release archives are explained in LICENSING.md; the project licence does not relicense third-party material or claim ownership of the underlying mathematical results.

Machine-readable citation information for this formalization is provided in CITATION.cff. The canonical source repository is kimihiro64/Robin1984.

Palomar reviews a fixed commit from a public GitHub repository, identified by its full 40-character SHA. See the current submission instructions and use the Palomar submission form only after all checks pass and the exact commit has been pushed.