FormalConjectures/ErdosProblems/667.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
7 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 667
A problem of Erdős, Faudree, Rousseau, and Schelp on the growth exponent of the largest clique that is guaranteed inside a locally dense graph.
References:
- erdosproblems.com/667
- [Er97f] P. Erdős, Some unsolved problems. In: Combinatorics, Geometry and Probability (Cambridge, 1993), Cambridge Univ. Press (1997), 1-10.
- [EFRS94] P. Erdős, R. J. Faudree, C. C. Rousseau and R. H. Schelp, A local density condition for triangles. Discrete Math. 127 (1994), 153-161.
Imports (1)
- def
Erdos667.LocallyDenseDocumented declaration: LocallyDense line 43 sourceSource documentation
A graph
Gonnvertices is(p, q)-locally dense if every set ofpof its vertices spans at leastqedges ofG; equivalently, every induced subgraph onpvertices has at leastqedges.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,SimpleGraph,FinProof uses:
Finset,Eq,Finset.card,LE.le,Set.ncard,Sym2,SimpleGraph.edgeSet,SimpleGraph.induce4 instances, coercions and auxiliary constants left out.
def LocallyDense (p q : ℕ) {n : ℕ} (G : SimpleGraph (Fin n)) : Prop := … - def
Erdos667.HH p q nisH(n) = H(n; p, q): the largestmsuch that every(p, q)-locally dense graph onnvertices must contain a complete graph onmverticesKₘline 52 sourceSource documentation
H p q nisH(n) = H(n; p, q): the largestmsuch that every(p, q)-locally dense graph onnvertices must contain a complete graph onmverticesKₘ.The condition "
GcontainsKₘ" is¬ G.CliqueFree m. Anym-clique needsm ≤ nvertices, and the property is downward closed inm, soNat.findGreatest _ nreturns the genuine maximum.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.findGreatest,SimpleGraph,Fin, Erdos667.LocallyDense,Not,SimpleGraph.CliqueFree,Classical.propDecidable6 instances, coercions and auxiliary constants left out.
noncomputable def H (p q n : ℕ) : ℕ := …
- def
Erdos667.cThe growth exponentc(p, q) = liminf_{n → ∞} (log H(n)) / (log n)line 57 sourceSource documentation
The growth exponent
c(p, q) = liminf_{n → ∞} (log H(n)) / (log n).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
Filter.liminf,HDiv.hDiv,Real.log, Erdos667.H,Filter.atTop8 instances, coercions and auxiliary constants left out.
noncomputable def c (p q : ℕ) : ℝ := …
- theorem
Erdos667.erdos_667Let $p, q \geq 1$ be fixed integers sorry line 78 sourceSource documentation
Let $p, q \geq 1$ be fixed integers. Define $H(n) = H(n; p, q)$ to be the largest $m$ such that any graph on $n$ vertices where every set of $p$ vertices spans at least $q$ edges must contain a complete graph on $m$ vertices. Is $$ c(p, q) = \liminf_{n \to \infty} \frac{\log H(n)}{\log n} $$ a strictly increasing function of $q$ for $1 \leq q \leq \binom{p-1}{2} + 1$?
A problem of Erdős, Faudree, Rousseau, and Schelp. When $q = 1$ this corresponds exactly to the classical Ramsey problem, and hence $\tfrac{1}{p-1} \leq c(p, 1) \leq \tfrac{2}{p+1}$ for $p \geq 3$. It is easy to see that if $q = \binom{p-1}{2} + 1$ then $c(p, q) = 1$.
erdosproblems.com/667 also states that Erdős, Faudree, Rousseau and Schelp showed $c(p, \binom{p-1}{2}) \leq 1/2$. This cannot hold for all $p$: for $p = 6$, $q = 10$, the complement of a $(6, 10)$-locally dense graph is $C_6$-free, so Bondy–Simonovits together with $\alpha(F) \geq n^2 / (2e(F) + n)$ gives $c(6, 10) \geq 2/3$. That remark is therefore not formalised here.
depends on sorry what this means
Statement uses:
Iff,True,Nat,StrictMonoOn,Real, Erdos667.c,Set.Icc,OfNat.ofNat,HAdd.hAdd,Nat.choose,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_667 : answer(sorry) ↔ ∀ p : ℕ, StrictMonoOn (c p) (Set.Icc 1 (Nat.choose (p - 1) 2 + 1)) := by …Mentions: Erdos667.c
- theorem
Erdos667.erdos_667.variants.monotoneOnDocumented declaration: monotoneOn sorry line 89 sourceSource documentation
That $c(p, q)$ is nondecreasing in $q$ for fixed $p$ is a straightforward consequence of the definitions: enlarging $q$ shrinks the family of $(p, q)$-locally dense graphs, which can only increase the guaranteed clique size $H(n)$, and hence the exponent.
depends on sorry what this means
Statement uses:
Nat,MonotoneOn,Real, Erdos667.c,Set.Icc,OfNat.ofNat,HAdd.hAdd,Nat.choose,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_667.variants.monotoneOn (p : ℕ) : MonotoneOn (c p) (Set.Icc 1 (Nat.choose (p - 1) 2 + 1)) := by …Mentions: Erdos667.c
- theorem
Erdos667.erdos_667.variants.endpointThe right endpoint: when $q = \binom{p-1}{2} + 1$ one has $c(p, q) = 1$ (stated as "easy to see" on erdosproblems.com/667) sorry line 98 sourceSource documentation
The right endpoint: when $q = \binom{p-1}{2} + 1$ one has $c(p, q) = 1$ (stated as "easy to see" on erdosproblems.com/667).
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq,Real, Erdos667.c,HAdd.hAdd,Nat.choose,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_667.variants.endpoint (p : ℕ) (hp : 2 ≤ p) : c p (Nat.choose (p - 1) 2 + 1) = 1 := by …Mentions: Erdos667.c
- theorem
Erdos667.erdos_667.variants.ramsey_boundsThe case $q = 1$ is the classical Ramsey problem, giving the bounds $\tfrac{1}{p-1} \leq c(p, 1) \leq \tfrac{2}{p+1}$ for $p \geq 3$ sorry line 108 sourceSource documentation
The case $q = 1$ is the classical Ramsey problem, giving the bounds $\tfrac{1}{p-1} \leq c(p, 1) \leq \tfrac{2}{p+1}$ for $p \geq 3$. (For $p = 2$ the condition forces $G$ to be complete, so $c(2, 1) = 1$ and the upper bound fails.)
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,And,Real,HDiv.hDiv,HSub.hSub, Erdos667.c,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous34 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_667.variants.ramsey_bounds (p : ℕ) (hp : 3 ≤ p) : 1 / ((p : ℝ) - 1) ≤ c p 1 ∧ c p 1 ≤ 2 / ((p : ℝ) + 1) := by …Mentions: Erdos667.c