Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 445

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Is it true that, for any c>1/2c>1/2, if pp is a sufficiently large prime then, for any n≥0n\geq 0, there exist a,b∈(n,n+pc)a,b\in(n,n+p^c) such that ab≡1(modp)ab\equiv 1\pmod{p}?

This is discussed in this MathOverflow question [MathOverflow].

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.02168 [math.NT] · NS.02168v1 for this version
Declaration:Erdos445.erdos_445
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:09b612c472bf2eeadc26b941ee5f0b47f219076aff5019fa969d9b21155f5fb1
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/445.lean

Formal statement

theorem erdos_445 :
    ∀ c : ℝ, c > 1 / 2 →
      ∀ᶠ p : ℕ in atTop, p.Prime → ∀ n : ℕ, Erdos445Prop c p n
Show the full Challenge.lean (84 lines) — definitions included
module

public import FormalConjecturesUtil


/-!
# Erdős Problem 445

*References:*
- [erdosproblems.com/445](https://www.erdosproblems.com/445)
- [He00] Heath-Brown, D. R., Arithmetic applications of {K}loosterman sums. Nieuw Arch. Wiskd. (5)
  (2000), 380--384.
- [MathOverflow](https://mathoverflow.net/questions/69509/small-residue-classes-with-small-reciprocal)
-/

@[expose] public section

open Filter

namespace Erdos445

/--
The property that there exist $a,b\in(n,n+p^c)$ such that $ab\equiv 1\pmod{p}$.
-/
def Erdos445Prop (c : ℝ) (p n : ℕ) : Prop :=
  ∃ a b : ℕ,
    n < a ∧ (a : ℝ) < (n : ℝ) + (p : ℝ) ^ c ∧
    n < b ∧ (b : ℝ) < (n : ℝ) + (p : ℝ) ^ c ∧
    a * b ≡ 1 [MOD p]

/--
Is it true that, for any $c>1/2$, if $p$ is a sufficiently large prime then, for any
$n\geq 0$, there exist $a,b\in(n,n+p^c)$ such that $ab\equiv 1\pmod{p}$?

This is discussed in this MathOverflow question [MathOverflow].
-/
@[category research open, question, AMS 11]
theorem erdos_445 :
    ∀ c : ℝ, c > 1 / 2 →
      ∀ᶠ p : ℕ in atTop, p.Prime → ∀ n : ℕ, Erdos445Prop c p n := by
  sorry

/--
Heilbronn (unpublished) proved this for $c$ sufficiently close to $1$.
-/
@[category research solved, AMS 11]
theorem erdos_445.variants.heilbronn :
    ∃ c₀ < 1, ∀ c : ℝ, c > c₀ →
      ∀ᶠ p : ℕ in atTop, p.Prime → ∀ n : ℕ, Erdos445Prop c p n := by
  sorry

/--
Heath-Brown [He00] used Kloosterman sums to prove this for all $c>3/4$.
-/
@[category research solved, AMS 11]
theorem erdos_445.variants.heath_brown :
    ∀ c : ℝ, c > 3 / 4 →
      ∀ᶠ p : ℕ in atTop, p.Prime → ∀ n : ℕ, Erdos445Prop c p n := by
  sorry

/-- Small example: for $p=5$, $c=1$, $n=0$, the pair $(2,3) \in (0,5)$ satisfies
$2 \cdot 3 = 6 \equiv 1 \pmod{5}$. -/
@[category test, AMS 11]
theorem erdos_445.test.small_example : Erdos445Prop 1 5 1 := by
  refine ⟨2, 3, by omega, ?_, by omega, ?_, by decide⟩
  all_goals simp only [Real.rpow_one]; norm_num

end Erdos445

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos445.erdos_445 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_445 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-445
nosorry submit erdos-445 nosorry/erdos-445/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.