Szemerédi's theorem with random differences and arithmetic Kakeya

Gabriel Dahia

There is an absolute c>0c>0 such that, for every fixed integer k≥3k\ge 3 and density δ>0\delta >0, a random set D⊆1,…,nD\subseteq {1,\ldots ,n} retaining each difference independently with probability p≥C(k,δ)n(−c/log⁡log⁡k)p\ge C(k,\delta )n^{(-c/\log \log k)} has the following property with probability tending to one as n grows: every subset of 1,…,n{1,\ldots ,n} with at least δn\delta n elements contains a k-term arithmetic progression whose positive common difference belongs to D. The model contribution is the use of the Green–Ruzsa arithmetic Kakeya construction in the small-cover proof.

What was already known

Briët and Castro-Silva’s 2024 bound required p≥n(−2/k+o(1))p\ge n^{(-2/k+o(1))}. Green and Ruzsa had constructed small sets containing an arithmetic progression for every prescribed difference. Dahia combines that construction with a small-cover argument for dense subsets. The new threshold improves the earlier exponent for all sufficiently large fixed k.

How the result developed

  1. 13 Oct 2026 · Manuscript date [1]

    Gabriel Dahia reported the AI-assisted result in this manuscript.

  2. 22 Oct 2026 · Registry verification recorded [2]

    Palomar recorded a successful mechanical check of the Szemerédi theorem with random differences.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-centered
ImportanceNotable
Technical verificationFormal (Lean + human)
Human understandingExplained

AI involvement

Dahia initially asked the model about adapting a hypergraph-cover approach. He credits it with suggesting the construction of Green and Ruzsa from arithmetic Kakeya theory. The usage of the latter was suggested to us by GPT 6 Astra. Dahia developed the small-cover proof, and Claude Opus 5.5 later formalized the result under his direction.

Importance

Improves the polynomial sampling exponent for all sufficiently large progression lengths and connects a random-difference problem to arithmetic Kakeya constructions. It does not attain the conjectured threshold near log⁡(n)/n\log (n)/n.

Technical verification

The pinned Lean project and Palomar record document the exact independent-Bernoulli failure event, with c=1/100c=1/100 and C(k,δ)=ackC(k,\delta )=ack(4k+24k+2,k+ceil(2/δ2/\delta )). For 0≤p≤10\le p\le 1 satisfying the threshold, the checked failure probability is at most exp⁡(−n(1−c/log⁡log⁡k))\exp (-n^{(1-c/\log \log k)}). Challenge imports Mathlib alone; the registered comparison selects that theorem and permits only the three standard axioms. These are source-reported machine checks. Dahia reports reviewing and editing every statement and proof with Claude’s assistance; this is author review, with no independent reviewer claimed.

Formal checking

The pinned Lean project and Palomar record document the exact independent-Bernoulli failure event, with c=1/100c=1/100 and C(k,δ)=ackC(k,\delta )=ack(4k+24k+2,k+ceil(2/δ2/\delta )). For 0≤p≤10\le p\le 1 satisfying the threshold, the checked failure probability is at most exp⁡(−n(1−c/log⁡log⁡k))\exp (-n^{(1-c/\log \log k)}). Challenge imports Mathlib alone; the registered comparison selects that theorem and permits only the three standard axioms. These are source-reported machine checks. Dahia reports reviewing and editing every statement and proof with Claude’s assistance; this is author review, with no independent reviewer claimed.

Checker
Dahia’s Lean development and Palomar comparison
Scope
RandomDifferences.szemeredi_setBernoulli_exists_avoiding_le_exp, with its explicit constants, finite interval, independent sampling law and failure event
Basis
Reported by the linked checker

Human understanding

Dahia explains the mechanism in the paper. A translate of the small Green–Ruzsa set captures many progressions from any dense set. The possible intersections form a small cover whose members each have many common differences. A union bound then controls the chance that the random difference set misses any member.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Historical omission audit: original primary-source attribution supports the scoped AI contribution.