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 272 · variants.szabo

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

Szabo showed that the maximal tt is equal to N22+O(N5/3log⁡3N). \frac{N^2}{2} + O(N^{5/3}\log^3N).

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.01519 [math.CO] · NS.01519v1 for this version
Declaration:Erdos272.erdos_272.variants.szabo
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:0cb0ce577a44238bf48789de396bba72ce5ffedef6a3572a4a233561a3596418
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/272.lean

Formal statement

theorem erdos_272.variants.szabo :
    (fun N ↦ (maxArithInterCard N - N ^ 2 / 2 : ℝ)) =O[atTop]
      fun N : ℕ ↦ N ^ ((5 : ℝ) /  3) * (Real.log N) ^ 3
Show the full Challenge.lean (87 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 272

*Reference:* [erdosproblems.com/272](https://www.erdosproblems.com/272)
-/

@[expose] public section

open Filter Asymptotics Finset

namespace Erdos272

/-- Let $N \in\mathbb{N}$. We say that $\{A_1, ..., A_t\}\subseteq
\mathcal{P}(\{1, \dots, N\})$ is an arithmetic intersection set if
$A_i \cap A_j$ is a non-empty arithmetic progression for each $i \neq j$.
-/
def IsArithInterSet (N : ℕ) (A : Finset (Finset ℕ)) : Prop :=
  A ⊆ (Finset.Icc 1 N).powerset ∧
    (SetLike.coe A).Pairwise fun S T ↦ ∃ l > 0, (SetLike.coe (S ∩ T)).IsAPOfLength l

/-- For each $N > 0$, let $t$ be the largest size of an arithmetic
intersection set. -/
noncomputable def maxArithInterCard (N : ℕ) : ℕ :=
  sSup {#A | (A : _) (_ : IsArithInterSet N A)}

def erdos_272.answer : ℕ → ℕ := sorry

/--
Let $N\geq 1$. What is the largest $t$ such that there are
$A_1,\ldots,A_t\subseteq \{1,\ldots,N\}$ with $A_i\cap A_j$ a non-empty
arithmetic progression for all $i\neq j$?
-/
@[category research open, question value, AMS 5]
theorem erdos_272 :
    ∀ N ≥ 1, maxArithInterCard N = erdos_272.answer N := by
  sorry

/--
Simonovits and Sós have shown that $t\ll N^2$.
-/
@[category research solved, AMS 5]
theorem erdos_272.variants.isBigO_sq :
    (fun N ↦ (maxArithInterCard N : ℝ)) =O[atTop] fun N ↦ (N : ℝ) ^ 2 := by
  sorry

/-- Szabo showed that the maximal $t$ is equal to
$$
  \frac{N^2}{2} + O(N^{5/3}\log^3N).
$$
-/
@[category research solved, AMS 5]
theorem erdos_272.variants.szabo :
    (fun N ↦ (maxArithInterCard N - N ^ 2 / 2 : ℝ)) =O[atTop]
      fun N : ℕ ↦ N ^ ((5 : ℝ) /  3) * (Real.log N) ^ 3 := by
  sorry

/-- Szabo asks whether the maximal $t$ is given by
$$
  \frac{N^2}{2} + O(N)
$$
-/
@[category research open, AMS 5]
theorem erdos_272.variants.szabo_strong :
    (fun N ↦ (maxArithInterCard N - N ^ 2 / 2 : ℝ)) =O[atTop] fun N : ℕ ↦ (N : ℝ) := by
  sorry

end Erdos272

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

nosorry desk erdos-272--erdos-272-variants-szabo      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-272--erdos-272-variants-szabo
nosorry submit erdos-272--erdos-272-variants-szabo nosorry/erdos-272--erdos-272-variants-szabo/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.