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 775

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:

Is there a 33-uniform hypergraph on nn vertices which contains at least n−O(1)n-O(1) different sizes of cliques (maximal complete subgraphs)?

The answer is no, as proved by Gao [Ga25]: more generally, for any k≥3k\geq 3, every kk-uniform hypergraph on nn vertices contains at most n−fk(n)n-f_k(n) different sizes of cliques, where fk(n)→∞f_k(n)\to \infty as n→∞n\to \infty.

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

Formal statement

theorem erdos_775 :
    ¬ ∃ C : ℕ, ∃ᶠ n : ℕ in atTop, ∃ H : UniformHypergraph (Fin n) 3,
      n - C ≤ (UniformHypergraph.cliqueSizes H).ncard
Show the full Challenge.lean (84 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 775

*References:*
- [erdosproblems.com/775](https://www.erdosproblems.com/775)
- [Ga25] Gao, J., *On cliques in hypergraphs*. arXiv:2510.14804 (2025).
- [MoMo65] Moon, J. W. and Moser, L., *On cliques in graphs*. Israel J. Math. (1965), 23-28.
- [Sp71] Spencer, J. H., *On cliques in graphs*. Israel J. Math. (1971), 419-421.
-/

@[expose] public section

open Filter

namespace Erdos775

set_option linter.style.formal_proof_palomar false in
/--
Is there a $3$-uniform hypergraph on $n$ vertices which contains at least $n-O(1)$ different
sizes of cliques (maximal complete subgraphs)?

The answer is no, as proved by Gao [Ga25]: more generally, for any $k\geq 3$, every $k$-uniform
hypergraph on $n$ vertices contains at most $n-f_k(n)$ different sizes of cliques, where
$f_k(n)\to \infty$ as $n\to \infty$.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos775.lean"]
theorem erdos_775 :
    ¬ ∃ C : ℕ, ∃ᶠ n : ℕ in atTop, ∃ H : UniformHypergraph (Fin n) 3,
      n - C ≤ (UniformHypergraph.cliqueSizes H).ncard := by
  sorry

/--
The answer is no, as proved by Gao [Ga25]: more generally, for any $k\geq 3$, every $k$-uniform
hypergraph on $n$ vertices contains at most $n-f_k(n)$ different sizes of cliques, where
$f_k(n)\to \infty$ as $n\to \infty$.
-/
@[category research solved, AMS 5]
theorem erdos_775.variants.gao :
    ∃ f : ℕ → ℕ, Tendsto f atTop atTop ∧
      ∀ᶠ n : ℕ in atTop, ∀ H : UniformHypergraph (Fin n) 3,
        (UniformHypergraph.cliqueSizes H).ncard + f n ≤ n := by
  sorry

/--
For graphs, Spencer [Sp71] constructed a graph which contains cliques of at least
$n-\log_2n+O(1)$ different sizes.
-/
@[category research solved, AMS 5]
theorem erdos_775.variants.spencer :
    ∃ C : ℝ, ∀ n : ℕ, ∃ G : SimpleGraph (Fin n),
      (n : ℝ) - Real.logb 2 (n : ℝ) - C ≤ ((SimpleGraph.cliqueSizes G).ncard : ℝ) := by
  sorry

/--
For graphs, Spencer [Sp71] constructed a graph which contains cliques of at least
$n-\log_2n+O(1)$ different sizes, which Moon and Moser [MoMo65] showed to be best possible.
-/
@[category research solved, AMS 5]
theorem erdos_775.variants.moon_moser :
    ∃ C : ℝ, ∀ n : ℕ, ∀ G : SimpleGraph (Fin n),
      ((SimpleGraph.cliqueSizes G).ncard : ℝ) ≤ (n : ℝ) - Real.logb 2 (n : ℝ) + C := by
  sorry

end Erdos775

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

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