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 466 · variants.sarkozy

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Sárközy [Sa76] proved that for all sufficiently small δ>0\delta>0, N(X,δ)>X1/2−δ1/7N(X,\delta)>X^{1/2-\delta^{1/7}} for all sufficiently large XX.

Subjects:Number Theory (math.NT); Metric Geometry (math.MG)
MSC classes:11, 52
Cite as:NS.02217 [math.NT] · NS.02217v1 for this version
Declaration:Erdos466.erdos_466.variants.sarkozy
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:9b40e2aa625cd27265bfd22c8f4053aea22c36bbdfd296420494813998ad84f6
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/466.lean

Formal statement

theorem erdos_466.variants.sarkozy : ∃ δ₀ : ℝ, 0 < δ₀ ∧ ∀ δ : ℝ, 0 < δ → δ < δ₀ →
    ∀ᶠ X : ℝ in atTop, X ^ (1 / 2 - δ ^ (1 / 7 : ℝ)) < N X δ
Show the full Challenge.lean (84 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 466

*References:*
- [erdosproblems.com/466](https://www.erdosproblems.com/466)
- [Er72] Erdős, Paul, *Extremal problems in number theory*. Proceedings of the 1972 Number Theory
  Conference (Univ. Colorado, Boulder, Colo.) (1972), 80-86.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [Er82e] Erdős, Paul, *Some of my favourite problems which recently have been solved*. (1982),
  59-79.
- [Sa76] Sárközy, A., *On distances near integers. I, II*. Studia Sci. Math. Hungar. (1976), 37-50,
  105-111.
-/

@[expose] public section

open Filter Metric

namespace Erdos466

/--
`N X δ` is the maximum number of points in a closed disc of radius `X` in the plane such that
the distance between any two of them is at least `δ` away from the nearest integer.
-/
noncomputable def N (X δ : ℝ) : ℕ :=
  sSup {n | ∃ (c : EuclideanSpace ℝ (Fin 2)) (P : Finset (EuclideanSpace ℝ (Fin 2))),
    P.card = n ∧ ↑P ⊆ closedBall c X ∧
      (P : Set (EuclideanSpace ℝ (Fin 2))).Pairwise fun x y => δ ≤ distToNearestInt (dist x y)}

set_option linter.style.formal_proof_palomar false in
/--
Let $N(X,\delta)$ denote the maximum number of points $P_1,\ldots,P_n$ which can be chosen in a
circle of radius $X$ such that
$$\| \lvert P_i-P_j\rvert \| \geq \delta$$
for all $1\leq i<j\leq n$. (Here $\|x\|$ is the distance from $x$ to the nearest integer.)

Is there some $\delta>0$ such that
$$\lim_{X\to \infty}N(X,\delta)=\infty?$$

Graham proved this is true, and in fact $N(X,1/10)> \frac{\log X}{10}$. This was substantially
improved by Sárközy [Sa76], who proved that for all sufficiently small $\delta>0$,
$N(X,\delta)>X^{1/2-\delta^{1/7}}$.
-/
@[category research solved, question, AMS 11 52, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos466.lean#L292"]
theorem erdos_466 : ∃ δ : ℝ, 0 < δ ∧ Tendsto (fun X ↦ N X δ) atTop atTop := by
  sorry

/-- Graham proved that $N(X,1/10)> \frac{\log X}{10}$. -/
@[category research solved, AMS 11 52]
theorem erdos_466.variants.graham : ∀ X : ℝ, 1 ≤ X → Real.log X / 10 < N X (1 / 10) := by
  sorry

/--
Sárközy [Sa76] proved that for all sufficiently small $\delta>0$,
$N(X,\delta)>X^{1/2-\delta^{1/7}}$ for all sufficiently large $X$.
-/
@[category research solved, AMS 11 52]
theorem erdos_466.variants.sarkozy : ∃ δ₀ : ℝ, 0 < δ₀ ∧ ∀ δ : ℝ, 0 < δ → δ < δ₀ →
    ∀ᶠ X : ℝ in atTop, X ^ (1 / 2 - δ ^ (1 / 7 : ℝ)) < N X δ := by
  sorry

end Erdos466

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

nosorry desk erdos-466--erdos-466-variants-sarkozy      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-466--erdos-466-variants-sarkozy
nosorry submit erdos-466--erdos-466-variants-sarkozy nosorry/erdos-466--erdos-466-variants-sarkozy/Solution.lean --wait

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.