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 1097

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: partial progress — Not resolved on aiXiv. Latest progress: bound in aiXiv:2610.02311 (2026-10-24). · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. bound For finite A,BA,B in a torsion-free abelian group and G⊆A×BG\subseteq A\times B: ∣A−GB∣≤∣A∣λX∣B∣λY∣A+GB∣λS|A\overset{G}{-}B|\le|A|^{\lambda_X}|B|^{\lambda_Y}|A\overset{G}{+}B|^{\lambda_S} with λX+λY+λS<1.8272963\lambda_X+\lambda_Y+\lambda_S<1.8272963, improving Katz–Tao's 11/6. In all abelian groups the exponent is 9213/5036<1.82942829213/5036<1.8294282. Consequently nn integers have at most n1.8272963n^{1.8272963} distinct common differences of 3-term APs. — aiXiv:2610.02311, 2026-10-24 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

The main conjecture: for any finite set of integers AA with ∣A∣=n|A| = n, the number of distinct common differences in three-term arithmetic progressions is O(n3/2)O(n^{3/2}).

This conjecture was resolved negatively by showing that the problem is exactly equivalent to Bourgain's sums-differences question [Bo99], which was introduced as an arithmetic path towards the Kakeya conjecture. Under this equivalence:

  • The greatest achievable exponent for this problem is equal to the smallest constant cc achievable for Bourgain's sums-differences question: ∣A−GB∣≪max⁡(∣A∣,∣B∣,∣A+GB∣)c|A -_G B| \ll \max(|A|, |B|, |A +_G B|)^c
  • The O(n3/2)O(n^{3/2}) prediction is disproved because the lower bound has been shown to satisfy c≥1.77898c \ge 1.77898 (due to Zheng and AlphaEvolve [GGTW25], improving on Lemm [Le15]), which is strictly greater than 3/2=1.53/2 = 1.5.
  • The best known upper bound is c≤11/6≈1.833c \le 11/6 \approx 1.833 (due to Katz and Tao [KaTa99]).
  • While the specific O(n3/2)O(n^{3/2}) prediction is resolved negatively, the general question of determining the exact optimal exponent cc remains open.
Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.00642 [math.NT] · NS.00642v1 for this version
Declaration:Erdos1097.erdos_1097
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:bbf651563f46dd4cf34d6a5ec17a6bda929cc405ac1b34197ca01f4bda3df82b
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1097.lean

Formal statement

theorem erdos_1097 : ¬ ∃ C > (0 : ℝ), ∀ (A : Finset ℤ),
    (CommonDifferencesThreeTermAP A).ncard ≤ C * (A.card : ℝ) ^ (3 / 2 : ℝ)
Show the full Challenge.lean (139 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1097

*References:*
- [erdosproblems.com/1097](https://www.erdosproblems.com/1097)
- [Bo99] Bourgain, J., On the dimension of {K}akeya sets and related maximal
inequalities. Geom. Funct. Anal. (1999), 256--282
- [KaTa99] Katz, Nets Hawk and Tao, Terence, Bounds on arithmetic projections, and applications to the
{K}akeya conjecture. Math. Res. Lett. (1999), 625--630.
- [Le15] Lemm, Marius, New counterexamples for sums-differences. Proc. Amer. Math. Soc. (2015), 3863--3868.
- [GGTW25] B. Georgiev, J. Gómez-Serrano, T. Tao, and A. Wagner, Mathematical exploration and discovery at scale. arXiv:2511.02864 (2025).
-/

@[expose] public section

namespace Erdos1097

/--
Given a finite set of integers `A` (modelled as a `Finset ℤ`), the set
`CommonDifferencesThreeTermAP A` consists of all integers `d` such that there
is a non-trivial three-term arithmetic progression `a, b, c ∈ A` with
`b - a = d` and `c - b = d`.
-/
def CommonDifferencesThreeTermAP (A : Finset ℤ) : Set ℤ :=
  {d : ℤ | d ≠ 0 ∧ ∃ a ∈ A, ∃ b ∈ A, ∃ c ∈ A, b - a = d ∧ c - b = d}

set_option linter.style.formal_proof_palomar false in
/--
The main conjecture: for any finite set of integers $A$ with $|A| = n$, the number of distinct
common differences in three-term arithmetic progressions is $O(n^{3/2})$.

This conjecture was resolved negatively by showing that the problem is exactly equivalent to
Bourgain's sums-differences question [Bo99], which was introduced as an arithmetic path towards
the Kakeya conjecture. Under this equivalence:
- The greatest achievable exponent for this problem is equal to the smallest constant $c$
  achievable for Bourgain's sums-differences question:
  $$|A -_G B| \ll \max(|A|, |B|, |A +_G B|)^c$$
- The $O(n^{3/2})$ prediction is disproved because the lower bound has been shown to satisfy
  $c \ge 1.77898$ (due to Zheng and AlphaEvolve [GGTW25], improving on Lemm [Le15]), which is
  strictly greater than $3/2 = 1.5$.
- The best known upper bound is $c \le 11/6 \approx 1.833$ (due to Katz and Tao [KaTa99]).
- While the specific $O(n^{3/2})$ prediction is resolved negatively, the general question of
  determining the exact optimal exponent $c$ remains open.
-/
@[category research solved, question, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/f13dd54b520cdf2136fdd3a04f0f9fa50e311358/FormalConjectures/ErdosProblems/1097.lean#L306"]
theorem erdos_1097 : ¬ ∃ C > (0 : ℝ), ∀ (A : Finset ℤ),
    (CommonDifferencesThreeTermAP A).ncard ≤ C * (A.card : ℝ) ^ (3 / 2 : ℝ) := by
  sorry

/--
A weaker bound has been proven: there are always at most $n^2$ such values of $d$.
-/
@[category textbook, AMS 11]
theorem erdos_1097.variants.weaker :
    ∀ A, (CommonDifferencesThreeTermAP A).ncard ≤ A.card ^ 2 := by
  intro A
  set D := Finset.image (fun p : ℤ × ℤ => p.2 - p.1) (A ×ˢ A)
  have h_sub : CommonDifferencesThreeTermAP A ⊆ (D : Set ℤ) := by
    rintro d ⟨-, a, ha, b, hb, -, -, hab, -⟩
    exact Finset.mem_coe.mpr (Finset.mem_image.mpr
      ⟨(a, b), Finset.mem_product.mpr ⟨ha, hb⟩, hab⟩)
  calc (CommonDifferencesThreeTermAP A).ncard
      ≤ (D : Set ℤ).ncard := Set.ncard_le_ncard h_sub D.finite_toSet
    _ = D.card := Set.ncard_coe_finset _
    _ ≤ (A ×ˢ A).card := Finset.card_image_le
    _ = A.card * A.card := Finset.card_product _ _
    _ = A.card ^ 2 := (sq _).symm

/--
A trivial lower bound: for sufficiently large `n` there exist sets $A$ with $|A| = n$ that contain at least $\Omega(n)$
distinct common differences of three-term arithmetic progressions.
-/
@[category textbook, AMS 11]
theorem erdos_1097.variants.lower_bound : ∃ c > (0 : ℝ), ∀ᶠ n in Filter.atTop, ∃ (A : Finset ℤ),
    A.card = n ∧ c * (n : ℝ) ≤ (CommonDifferencesThreeTermAP A).ncard := by
  refine ⟨1/4, by norm_num, ?_⟩
  rw [Filter.eventually_atTop]
  refine ⟨4, fun n hn => ?_⟩
  refine ⟨(Finset.range n).image (fun k : ℕ => (k : ℤ)), ?_, ?_⟩
  · rw [Finset.card_image_of_injective _ Nat.cast_injective, Finset.card_range]
  set A := (Finset.range n).image (fun k : ℕ => (k : ℤ))
  set k : ℕ := (n - 1) / 2 with hk_def
  set D : Finset ℤ := (Finset.range k).image (fun i : ℕ => ((i + 1 : ℕ) : ℤ))
  have hk_ge_nat : 4 * k ≥ n := by simp [hk_def]; omega
  have hD_card : D.card = k := by
    rw [Finset.card_image_of_injective _, Finset.card_range]
    intro a b h
    simp only at h
    have : (a + 1 : ℤ) = (b + 1 : ℤ) := by exact_mod_cast h
    omega
  have h_finite : (CommonDifferencesThreeTermAP A).Finite := by
    apply Set.Finite.subset
      (Finset.image (fun p : ℤ × ℤ => p.2 - p.1) (A ×ˢ A)).finite_toSet
    rintro d ⟨-, a, ha, b, hb, -, -, hab, -⟩
    exact Finset.mem_coe.mpr (Finset.mem_image.mpr
      ⟨(a, b), Finset.mem_product.mpr ⟨ha, hb⟩, hab⟩)
  have hD_sub : (D : Set ℤ) ⊆ CommonDifferencesThreeTermAP A := by
    intro d hd
    rw [Finset.mem_coe, Finset.mem_image] at hd
    obtain ⟨i, hi, rfl⟩ := hd
    rw [Finset.mem_range] at hi
    have h2d_lt : 2 * (i + 1) < n := by simp [hk_def] at hi; omega
    refine ⟨by push_cast; positivity, 0, ?_, ((i + 1 : ℕ) : ℤ), ?_,
      ((2 * (i + 1) : ℕ) : ℤ), ?_, by push_cast; ring, by push_cast; ring⟩
    · exact Finset.mem_image.mpr ⟨0, Finset.mem_range.mpr (by omega), by push_cast⟩
    · exact Finset.mem_image.mpr ⟨i + 1, Finset.mem_range.mpr (by omega), rfl⟩
    · exact Finset.mem_image.mpr ⟨2 * (i + 1), Finset.mem_range.mpr h2d_lt, rfl⟩
  calc (1 / 4 : ℝ) * n
      = (n : ℝ) / 4 := by ring
    _ ≤ (k : ℝ) := by
        have : (4 : ℝ) * k ≥ n := by exact_mod_cast hk_ge_nat
        linarith
    _ = (D.card : ℝ) := by rw [hD_card]
    _ = ((D : Set ℤ).ncard : ℝ) := by rw [Set.ncard_coe_finset]
    _ ≤ ((CommonDifferencesThreeTermAP A).ncard : ℝ) := by
        exact_mod_cast Set.ncard_le_ncard hD_sub h_finite

end Erdos1097

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

nosorry fetch erdos-1097
nosorry submit erdos-1097 nosorry/erdos-1097/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.