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 702

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 k≥4k\geq 4. If F\mathcal{F} is a family of subsets of {1,…,n}\{1,\ldots,n\} with ∣A∣=k\lvert A\rvert=k for all A∈FA\in \mathcal{F} and ∣F∣>(n−2k−2)\lvert \mathcal{F}\rvert >\binom{n-2}{k-2} then there are A,B∈FA,B\in\mathcal{F} such that ∣A∩B∣=1\lvert A\cap B\rvert=1.

A conjecture of Erdős and Sós. Katona (unpublished) proved this when k=4k=4, and Frankl [Fr77] proved this for all k≥4k\geq 4.

Frankl's theorem is for nn sufficiently large in terms of kk, and this is the form stated here. Without this assumption the statement is false, see erdos_702.variants.all_n_false.

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

Formal statement

theorem erdos_702 (k : ℕ) (hk : 4 ≤ k) :
    ∀ᶠ n in atTop, ∀ 𝓕 : Finset (Finset (Fin n)), 𝓕.IsUniform k →
      (n - 2).choose (k - 2) < 𝓕.card → ∃ A ∈ 𝓕, ∃ B ∈ 𝓕, (A ∩ B).card = 1
Show the full Challenge.lean (78 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 702

*References:*
- [erdosproblems.com/702](https://www.erdosproblems.com/702)
- [Er75f] Erdős, Paul, _On some problems of elementary and combinatorial geometry_. Ann. Mat.
  Pura Appl. (4) (1975), 99-108.
- [Er76b] Erdős, P., _Problems and results in graph theory and combinatorial analysis_.
  Proceedings of the Fifth British Combinatorial Conference (Univ. Aberdeen, Aberdeen, 1975)
  (1976), 169-192.
- [Er81] Erdős, P., _On the combinatorial problems which I would most like to see solved_.
  Combinatorica (1981), 25-42.
- [Er82e] Erdős, Paul, _Some of my favourite problems which recently have been solved_. (1982),
  59--79.
- [Fr77] Frankl, Péter, _On families of finite sets no two of which intersect in a singleton_.
  Bull. Austral. Math. Soc. (1977), 125-134.
-/

@[expose] public section

open Filter Finset

namespace Erdos702

set_option linter.style.formal_proof_palomar false in
/--
Let $k\geq 4$. If $\mathcal{F}$ is a family of subsets of $\{1,\ldots,n\}$ with $\lvert A\rvert=k$
for all $A\in \mathcal{F}$ and $\lvert \mathcal{F}\rvert >\binom{n-2}{k-2}$ then there are
$A,B\in\mathcal{F}$ such that $\lvert A\cap B\rvert=1$.

A conjecture of Erdős and Sós. Katona (unpublished) proved this when $k=4$, and Frankl [Fr77]
proved this for all $k\geq 4$.

Frankl's theorem is for $n$ sufficiently large in terms of $k$, and this is the form stated here.
Without this assumption the statement is false, see `erdos_702.variants.all_n_false`.
-/
@[category research solved, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos702.lean#L4740"]
theorem erdos_702 (k : ℕ) (hk : 4 ≤ k) :
    ∀ᶠ n in atTop, ∀ 𝓕 : Finset (Finset (Fin n)), 𝓕.IsUniform k →
      (n - 2).choose (k - 2) < 𝓕.card → ∃ A ∈ 𝓕, ∃ B ∈ 𝓕, (A ∩ B).card = 1 := by
  sorry

/--
The statement does not hold for all $n$. For $k=4$ and $n=5$, the family of all $4$-subsets of
$\{1,\ldots,5\}$ has $5>\binom{3}{2}$ members, and any two of them meet in at least $3$ elements.
-/
@[category textbook, AMS 5]
theorem erdos_702.variants.all_n_false :
    ¬ ∀ k : ℕ, 4 ≤ k → ∀ (n : ℕ) (𝓕 : Finset (Finset (Fin n))), 𝓕.IsUniform k →
      (n - 2).choose (k - 2) < 𝓕.card → ∃ A ∈ 𝓕, ∃ B ∈ 𝓕, (A ∩ B).card = 1 := by
  intro h
  obtain ⟨A, hA, B, hB, hAB⟩ := h 4 le_rfl 5 {A | A.card = 4}
    (fun A hA ↦ (mem_filter.1 hA).2) (by decide)
  revert A B
  decide

end Erdos702

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

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