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 664

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:

Let c<1c<1 be some constant and A1,…,Am⊆{1,…,n}A_1,\ldots,A_m\subseteq \{1,\ldots,n\} be such that ∣Ai∣>cn\lvert A_i\rvert >c\sqrt{n} for all ii and ∣Ai∩Aj∣≤1\lvert A_i\cap A_j\rvert\leq 1 for all i≠ji\neq j.

Must there exist some set BB such that B∩Ai≠∅B\cap A_i\neq \emptyset and ∣B∩Ai∣≪c1\lvert B\cap A_i\rvert \ll_c 1 for all ii?

The answer is no, proved by Alon: if qq is a large prime power and n=m=q2+q+1n=m=q^2+q+1 then there exist A1,…,Am⊆{1,…,n}A_1,\ldots,A_m\subseteq \{1,\ldots,n\} such that ∣Ai∣≥25n\lvert A_i\rvert \geq \tfrac{2}{5}\sqrt{n} for all ii and ∣Ai∩Aj∣≤1\lvert A_i\cap A_j\rvert\leq 1 for all i≠ji\neq j, and yet if BB has non-empty intersection with all AiA_i then there exists AjA_j such that ∣B∩Aj∣≫log⁡n\lvert B\cap A_j\rvert \gg \log n.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.02773 [math.CO] · NS.02773v1 for this version
Declaration:Erdos664.erdos_664
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:890aab58616915ceac17b34fc5e7392907b7a3e5fbe3a3b37650fe62a2071a44
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/664.lean

Formal statement

theorem erdos_664 :
    ¬ ∀ c : ℝ, 0 < c → c < 1 → ∃ K : ℕ, ∀ (n m : ℕ) (A : Fin m → Finset (Fin n)),
      (∀ i, c * √n < (A i).card) → (∀ i j, i ≠ j → (A i ∩ A j).card ≤ 1) →
        ∃ B : Finset (Fin n), (∀ i, (B ∩ A i).Nonempty) ∧
          ∀ i, (B ∩ A i).card ≤ K
Show the full Challenge.lean (87 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 664

*References:*
- [erdosproblems.com/664](https://www.erdosproblems.com/664)
- [Er81] Erdős, P., _On the combinatorial problems which I would most like to see solved_.
  Combinatorica (1981), 25-42.
- [Er97f] Erdős, Paul, _Some unsolved problems_. Combinatorics, geometry and probability
  (Cambridge, 1993) (1997), 1-10.
-/

@[expose] public section

open Filter Real Finset

namespace Erdos664

set_option linter.style.formal_proof_palomar false in
/--
Let $c<1$ be some constant and $A_1,\ldots,A_m\subseteq \{1,\ldots,n\}$ be such that
$\lvert A_i\rvert >c\sqrt{n}$ for all $i$ and $\lvert A_i\cap A_j\rvert\leq 1$ for all $i\neq j$.

Must there exist some set $B$ such that $B\cap A_i\neq \emptyset$ and
$\lvert B\cap A_i\rvert \ll_c 1$ for all $i$?

The answer is no, proved by Alon: if $q$ is a large prime power and $n=m=q^2+q+1$ then there
exist $A_1,\ldots,A_m\subseteq \{1,\ldots,n\}$ such that
$\lvert A_i\rvert \geq \tfrac{2}{5}\sqrt{n}$ for all $i$ and $\lvert A_i\cap A_j\rvert\leq 1$ for
all $i\neq j$, and yet if $B$ has non-empty intersection with all $A_i$ then there exists $A_j$
such that $\lvert B\cap A_j\rvert \gg \log n$.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos664.lean#L214"]
theorem erdos_664 :
    ¬ ∀ c : ℝ, 0 < c → c < 1 → ∃ K : ℕ, ∀ (n m : ℕ) (A : Fin m → Finset (Fin n)),
      (∀ i, c * √n < (A i).card) → (∀ i j, i ≠ j → (A i ∩ A j).card ≤ 1) →
        ∃ B : Finset (Fin n), (∀ i, (B ∩ A i).Nonempty) ∧
          ∀ i, (B ∩ A i).card ≤ K := by
  sorry

set_option linter.style.formal_proof_palomar false in
/-- Alon's counterexample already works for $c=2/5$. -/
@[category research solved, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos664.lean#L214"]
theorem erdos_664.variants.two_fifths :
    ¬ ∃ K : ℕ, ∀ (n m : ℕ) (A : Fin m → Finset (Fin n)),
      (∀ i, 2 / 5 * √n < (A i).card) → (∀ i j, i ≠ j → (A i ∩ A j).card ≤ 1) →
        ∃ B : Finset (Fin n), (∀ i, (B ∩ A i).Nonempty) ∧
          ∀ i, (B ∩ A i).card ≤ K := by
  sorry

/--
In [Er81] the condition $\lvert A_i\cap A_j\rvert\leq 1$ for all $i\neq j$ is replaced by every
two points in $\{1,\ldots,n\}$ being contained in exactly one $A_i$, that is,
$A_1,\ldots,A_m$ is a pairwise balanced block design. The bound $\lvert A_i\rvert>c\sqrt{n}$ is
kept, only the condition $c<1$ is omitted. This weaker version remains open, although Alon
conjectures the answer there to also be no.
-/
@[category research open, question, AMS 5]
theorem erdos_664.variants.block_design :
    ∀ c : ℝ, 0 < c → ∃ K : ℕ, ∀ (n m : ℕ) (A : Fin m → Finset (Fin n)),
      (∀ i, c * √n < (A i).card) → (∀ x y : Fin n, x ≠ y → ∃! i, x ∈ A i ∧ y ∈ A i) →
        ∃ B : Finset (Fin n), (∀ i, (B ∩ A i).Nonempty) ∧
          ∀ i, (B ∩ A i).card ≤ K := by
  sorry

end Erdos664

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

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