FormalConjectures/ErdosProblems/775.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
4 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 775
References:
- 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.
Imports (1)
- theorem
Erdos775.erdos_775Is there a $3$-uniform hypergraph on $n$ vertices which contains at least $n-O(1)$ different sizes of cliques (maximal complete subgraphs)? sorry line 45 sourceSource documentation
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$.
depends on sorry what this means
Statement uses:
Iff,False,Exists,Nat,Filter.Frequently, UniformHypergraph,Fin,OfNat.ofNat,LE.le,HSub.hSub,Set.ncard, UniformHypergraph.cliqueSizes,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_775 : answer(False) ↔ ∃ C : ℕ, ∃ᶠ n : ℕ in atTop, ∃ H : UniformHypergraph (Fin n) 3, n - C ≤ (UniformHypergraph.cliqueSizes H).ncard := by …Mentions: UniformHypergraph, UniformHypergraph.cliqueSizes
- theorem
Erdos775.erdos_775.variants.gaoDocumented declaration: gao sorry line 56 sourceSource documentation
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$.
depends on sorry what this means
Statement uses:
Exists,Nat,And,Filter.Tendsto,Filter.atTop,Filter.Eventually, UniformHypergraph,Fin,OfNat.ofNat,LE.le,HAdd.hAdd,Set.ncard, UniformHypergraph.cliqueSizesProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
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 …Mentions: UniformHypergraph, UniformHypergraph.cliqueSizes
- theorem
Erdos775.erdos_775.variants.spencerFor graphs, Spencer [Sp71] constructed a graph which contains cliques of at least $n-\log_2n+O(1)$ different sizes sorry line 67 sourceSource documentation
For graphs, Spencer [Sp71] constructed a graph which contains cliques of at least $n-\log_2n+O(1)$ different sizes.
depends on sorry what this means
Statement uses:
Exists,Real,Nat,SimpleGraph,Fin,LE.le,HSub.hSub,Real.logb,OfNat.ofNat,Set.ncard, SimpleGraph.cliqueSizesProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous18 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_775.variants.spencer : ∃ C : ℝ, ∀ n : ℕ, ∃ G : SimpleGraph (Fin n), (n : ℝ) - Real.logb 2 (n : ℝ) - C ≤ ((SimpleGraph.cliqueSizes G).ncard : ℝ) := by …Mentions: SimpleGraph.cliqueSizes
- theorem
Erdos775.erdos_775.variants.moon_moserFor 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 sorry line 77 sourceSource documentation
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.
depends on sorry what this means
Statement uses:
Exists,Real,Nat,SimpleGraph,Fin,LE.le,Set.ncard, SimpleGraph.cliqueSizes,HAdd.hAdd,HSub.hSub,Real.logb,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_775.variants.moon_moser : ∃ C : ℝ, ∀ n : ℕ, ∀ G : SimpleGraph (Fin n), ((SimpleGraph.cliqueSizes G).ncard : ℝ) ≤ (n : ℝ) - Real.logb 2 (n : ℝ) + C := by …Mentions: SimpleGraph.cliqueSizes