FormalConjectures/ErdosProblems/563.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
3 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 563
References:
- erdosproblems.com/563
- [Er90b] Erdős, Paul, Problems and results on graphs and hypergraphs: similarities and differences. Mathematics of Ramsey theory (1990), 12-28.
Imports (1)
- def
Erdos563.HasBalancedSubsetsDocumented declaration: HasBalancedSubsets line 41 sourceSource documentation
A 2-coloring of $K_n$ (represented by graph $G$ on $\mathrm{Fin}\; n$) is balanced on subsets of size at least $m$ with parameter $\alpha$ if every $X \subseteq [n]$ with $|X| \geq m$ contains more than $\alpha \binom{|X|}{2}$ edges of each color.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,SimpleGraph,FinProof uses:
Finset,LE.le,Finset.card,And,LT.lt,HMul.hMul,Nat.choose,OfNat.ofNat,Sym2,SimpleGraph.edgeFinset,SimpleGraph.induce,Subtype,Membership.mem,Set,Function.Embedding,Function.Embedding.subtype,Classical.propDecidable,SimpleGraph.Adj,HSub.hSub21 instances, coercions and auxiliary constants left out.
def HasBalancedSubsets (n : ℕ) (m : ℕ) (α : ℝ) (G : SimpleGraph (Fin n)) : Prop := …
- def
Erdos563.FDocumented declaration: F line 52 sourceSource documentation
$F(n,\alpha)$ is the smallest $m$ such that there exists a 2-coloring of the edges of $K_n$ so that every $X\subseteq [n]$ with $|X|\geq m$ contains more than $\alpha\binom{|X|}{2}$ edges of each color.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
InfSet.sInf,Set.ofPred,Exists,SimpleGraph,Fin, Erdos563.HasBalancedSubsets1 instances, coercions and auxiliary constants left out.
noncomputable def F (n : ℕ) (α : ℝ) : ℕ := …
- theorem
Erdos563.erdos_563Documented declaration: erdos_563 sorry line 67 sourceSource documentation
Let $F(n,\alpha)$ denote the smallest $m$ such that there exists a $2$-colouring of the edges of $K_n$ so that every $X\subseteq [n]$ with $\lvert X\rvert\geq m$ contains more than $\alpha \binom{\lvert X\rvert}{2}$ many edges of each colour.
Prove that, for every $0\leq \alpha < 1/2$, $$F(n,\alpha)\sim c_\alpha\log n$$ for some constant $c_\alpha$ depending only on $\alpha$.
This problem is #39 in Ramsey Theory in the graphs problem collection.
depends on sorry what this means
Statement uses:
Real,LE.le,OfNat.ofNat,LT.lt,HDiv.hDiv,Nat,Exists,And,Filter.Tendsto, Erdos563.F,Real.log,Filter.atTop,nhdsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous38 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_563 : ∀ (α : ℝ), 0 ≤ α → α < 1 / 2 → ∃ (c : ℝ), 0 < c ∧ Tendsto (fun n : ℕ => (F n α : ℝ) / Real.log n) atTop (nhds c) := by …Mentions: c, Erdos563.F