FormalConjectures/ErdosProblems/1028.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
6 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 1028
References:
- erdosproblems.com/1028
- [Er63d] Erdős, Pál, On combinatorial questions connected with a theorem of Ramsey and van der Waerden. Mat. Lapok (1963), 29-37.
- [Er71] Erdős, P., Some unsolved problems in graph theory and combinatorial analysis. Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97-109.
- [ErSp71] Erdős, P. and Spencer, J., Imbalances in $k$-colorations. Networks (1971/72), 379-385.
Imports (1)
- def
Erdos1028.imbalanceThe imbalance of a finite setXunder a colouringf, that is, $\left\lvert \sum_{x<y\in X} f(x,y)\right\rvert$ line 41 sourceSource documentation
The imbalance of a finite set
Xunder a colouringf, that is, $\left\lvert \sum_{x<y\in X} f(x,y)\right\rvert$.standard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Int,FinsetProof uses:
abs,Finset.sum,Finset.filter,LT.lt5 instances, coercions and auxiliary constants left out.
def imbalance (f : ℕ → ℕ → ℤ) (X : Finset ℕ) : ℤ := …
- def
Erdos1028.HH nis the minimum, over all colouringsfof pairs from{1, …, n}with values in{-1, 1}, of the largest imbalance of a subsetX ⊆ {1, …, n}line 46 sourceSource documentation
H nis the minimum, over all colouringsfof pairs from{1, …, n}with values in{-1, 1}, of the largest imbalance of a subsetX ⊆ {1, …, n}.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,Exists,Int,And,Or,Eq,OfNat.ofNat,Neg.neg,Finset,LE.le,Finset.Icc, Erdos1028.imbalance12 instances, coercions and auxiliary constants left out.
noncomputable def H (n : ℕ) : ℕ := …
- theorem
Erdos1028.erdos_1028Let $$H(n)=\min_f \max_{X\subseteq \{1,\ldots,n\}} \left\lvert \sum_{x<y\in X} f(x,y)\right\rvert,$$ where $f$ ranges over all functions $f:\{1,\ldots,n\}^2\to \{-1,1\}$ sorry line 60 sourceSource documentation
Let $$H(n)=\min_f \max_{X\subseteq \{1,\ldots,n\}} \left\lvert \sum_{x<y\in X} f(x,y)\right\rvert,$$ where $f$ ranges over all functions $f:\{1,\ldots,n\}^2\to \{-1,1\}$. Estimate $H(n)$.
Erdős [Er63d] proved $$\frac{n}{4}\leq H(n) \ll n^{3/2}.$$ Erdős and Spencer [ErSp71] proved that $H(n)\gg n^{3/2}$.
depends on sorry what this means
Statement uses:
Asymptotics.IsTheta,Nat,Real,Filter.atTop, Erdos1028.H,HPow.hPow,HDiv.hDiv,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1028 : (fun n => (H n : ℝ)) =Θ[atTop] fun n : ℕ => (n : ℝ) ^ (3 / 2 : ℝ) := by …Mentions: Erdos1028.H
- theorem
Erdos1028.erdos_1028.variants.lower_boundErdős [Er63d] proved $$\frac{n}{4}\leq H(n) \ll n^{3/2}.$$ sorry line 69 sourceSource documentation
Erdős [Er63d] proved $$\frac{n}{4}\leq H(n) \ll n^{3/2}.$$
depends on sorry what this means
Statement uses:
Filter.Eventually,Nat,LE.le,Real,HDiv.hDiv,OfNat.ofNat, Erdos1028.H,Filter.atTopProof 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_1028.variants.lower_bound : ∀ᶠ n : ℕ in atTop, (n : ℝ) / 4 ≤ (H n : ℝ) := by …Mentions: Erdos1028.H
- theorem
Erdos1028.erdos_1028.variants.upper_boundErdős [Er63d] proved $$\frac{n}{4}\leq H(n) \ll n^{3/2}.$$ sorry line 77 sourceSource documentation
Erdős [Er63d] proved $$\frac{n}{4}\leq H(n) \ll n^{3/2}.$$
depends on sorry what this means
Statement uses:
Asymptotics.IsBigO,Nat,Real,Filter.atTop, Erdos1028.H,HPow.hPow,HDiv.hDiv,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1028.variants.upper_bound : (fun n => (H n : ℝ)) ≪ (fun n : ℕ => (n : ℝ) ^ (3 / 2 : ℝ)) := by …Mentions: Erdos1028.H
- theorem
Erdos1028.erdos_1028.variants.erdos_spencerErdős and Spencer [ErSp71] proved that $H(n)\gg n^{3/2}$ sorry line 83 sourceSource documentation
Erdős and Spencer [ErSp71] proved that $H(n)\gg n^{3/2}$.
depends on sorry what this means
Statement uses:
Asymptotics.IsBigO,Nat,Real,Filter.atTop,HPow.hPow,HDiv.hDiv,OfNat.ofNat, Erdos1028.HProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1028.variants.erdos_spencer : (fun n : ℕ => (n : ℝ) ^ (3 / 2 : ℝ)) ≪ (fun n => (H n : ℝ)) := by …Mentions: Erdos1028.H