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 · variants.all_n_false

Source:Erdős Problems
Textbook result A standard result, good for practice. First verified proof: +3 points.
Statement:reviewed
Statement:

The statement does not hold for all nn. For k=4k=4 and n=5n=5, the family of all 44-subsets of {1,…,5}\{1,\ldots,5\} has 5>(32)5>\binom{3}{2} members, and any two of them meet in at least 33 elements.

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.02929 [math.CO] · NS.02929v1 for this version
Declaration:Erdos702.erdos_702.variants.all_n_false
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 3; accepted critique: up to 100
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.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
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.variants.all_n_false with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_all_n_false : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

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