OpenFrontiers
← Back to the index
OP-9988Status unassessedNumber theory

Elliott–Halberstam conjecture

Elliott–Halberstam conjecture

Inferred from the community field; finer classification has not been reviewed.

Specialist source · status unassessedAs of 2026-09-10Source & evidence ↓

Problem statement

elliott_halberstam

The Elliott–Halberstam conjecture: for every θ<1\theta < 1 and A>0A > 0 there exists a constant C>0C > 0 such that

∑1≤q≤xθE(x;q)≤Cxlog⁡Ax\sum_{1 \le q \le x^{\theta}} E(x; q) \le \frac{C x}{\log^A x}

for all x>2x > 2.

Lean 4

No Lean submitted

Formal statement

Lean 4
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjecturesUtil

/-!
# Elliott–Halberstam conjecture

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Elliott%E2%80%93Halberstam_conjecture)
- [EH68] Elliott, Peter D. T. A. and Halberstam, Heini, *A conjecture in prime number
  theory*, Symposia Mathematica, Vol. IV (INDAM, Rome, 1968/69), 59–72.
- [FG89] Friedlander, John and Granville, Andrew, *Limitations to the equi-distribution of
  primes I*, Ann. of Math. (2) 129 (1989), no. 2, 363–382.
-/

namespace ElliottHalberstamConjecture

/--
$\pi(x; q, a)$: the number of primes $p \le x$ with $p \equiv a \pmod q$.
-/
def primesInAPCount (x q : ℕ) (a : ZMod q) : ℕ :=
  ((Finset.range (x + 1)).filter fun p : ℕ => p.Prime ∧ (p : ZMod q) = a).card

/--
The error term
$$E(x; q) = \max_{\gcd(a,q)=1} \left|\pi(x;q,a) - \frac{\pi(x)}{\varphi(q)}\right|,$$
measuring the deviation of the primes in the arithmetic progressions modulo $q$ from
uniform distribution among the $\varphi(q)$ coprime residue classes.
-/
noncomputable def E (x q : ℕ) : ℝ :=
  ⨆ a : (ZMod q)ˣ, |(primesInAPCount x q a : ℝ) - (x.primeCounting : ℝ) / (q.totient : ℝ)|

/--
The Elliott–Halberstam conjecture: for every $\theta < 1$ and $A > 0$ there exists a
constant $C > 0$ such that
$$\sum_{1 \le q \le x^{\theta}} E(x; q) \le \frac{C x}{\log^A x}$$
for all $x > 2$.
-/
@[category research open, AMS 11]
theorem elliott_halberstam (θ : ℝ) (hθ : θ < 1) (A : ℝ) (hA : 0 < A) :
    ∃ C > (0 : ℝ), ∀ x : ℕ, 2 < x →
      ∑ q ∈ Finset.Icc 1 ⌊(x : ℝ) ^ θ⌋₊, E x q ≤ C * x / Real.log x ^ A := by
  sorry

/--
The Bombieri–Vinogradov theorem: the Elliott–Halberstam conjecture holds for every
$\theta < 1/2$. This result may be regarded as an averaged form of the generalized
Riemann hypothesis.
-/
@[category research solved, AMS 11]
theorem elliott_halberstam.variants.bombieri_vinogradov (θ : ℝ) (hθ : θ < 1 / 2) (A : ℝ)
    (hA : 0 < A) :
    ∃ C > (0 : ℝ), ∀ x : ℕ, 2 < x →
      ∑ q ∈ Finset.Icc 1 ⌊(x : ℝ) ^ θ⌋₊, E x q ≤ C * x / Real.log x ^ A := by
  sorry

/--
The Elliott–Halberstam conjecture fails at the endpoint $\theta = 1$, as shown by
Friedlander and Granville [FG89].
-/
@[category research solved, AMS 11]
theorem elliott_halberstam.variants.friedlander_granville :
    ¬ ∀ A : ℝ, 0 < A → ∃ C > (0 : ℝ), ∀ x : ℕ, 2 < x →
      ∑ q ∈ Finset.Icc 1 x, E x q ≤ C * x / Real.log x ^ A := by
  sorry

end ElliottHalberstamConjecture

On-site verification needs an executable Lean target. None is attached yet.

A source attachment or link is not a verified proof. The statement’s correspondence with the original question needs human review.

Proofs & verification

No Lean has been submitted for this problem yet. A Lean file can be attached to a submission for review, though with no target here it cannot be machine-checked.

Background

Source snapshot inspected on 10 September 2026. Subsequent research status and the accuracy of source formalizations have not been independently certified.

Fixed commit b82b08faa9006484021c12005ab41287fb2ffb69. This file contains 1 source-labeled research-open declarations. Other declarations in the attached file can be definitions, solved results or tests. The file is preserved as source material; it has not been compiled or proved by this import.

Copyright The Formal Conjectures Authors. Code: Apache-2.0; other original material: CC BY 4.0. Third-party sources retain their own licenses. Original source files and notices preserved.

References
  1. [1]Formal Conjectures — Elliott–Halberstam conjecture link
  2. [2]Original reference cited in the formalization link

Recorded progress

Add yours →

Nothing recorded yet. A pointer to a paper the entry is missing counts.

Machine attempts

0 recorded

Attempts run against the statement below and are recorded in full, including the failures. The point is to stop the next model — and the next person — from re-walking a road that is already known to end. Each attempt costs 25 credits.

No machine attempts recorded.

Sign in to run an attempt. New accounts start with enough credits for ten.

Discussion

0 notes

Notes are for clarifying the statement, flagging a missing reference, or recording why an approach fails. Claimed solutions belong in a submission, where they can be reviewed.

No notes yet.

Sign in to add a note.