FormalConjectures/ErdosProblems/772.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
5 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 772
References:
- erdosproblems.com/772
- [Er80e] Erdős, P., Some applications of Ramsey's theorem to additive number theory. European J. Combin. (1980), 43-46.
- [Er84d] Erdős, P., Extremal problems in number theory, combinatorics and geometry. Proceedings of the International Congress of Mathematicians, Vol. 1, 2 (Warsaw, 1983) (1984), 51-70.
- [AlEr85] Alon, Noga and Erdős, P., An application of graph theory to additive number theory. European J. Combin. (1985), 201-203.
Imports (1)
- def
Erdos772.H$H_k(n)$ is the maximal $r$ such that if $A\subset\mathbb{N}$ has $\lvert A\rvert=n$ and $\| 1_A\ast 1_A\|_\infty \leq k$ then $A$ contains a Sidon set of size at least $r$ line 44 sourceSource documentation
$H_k(n)$ is the maximal $r$ such that if $A\subset\mathbb{N}$ has $\lvert A\rvert=n$ and $\| 1_A\ast 1_A\|_\infty \leq k$ then $A$ contains a Sidon set of size at least $r$.
Here $1_A\ast 1_A(m)$ counts the ordered pairs $(a,b)\in A^2$ with $a+b=m$. (The value is truncated at $n$, which only matters when no such $A$ exists.)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
SupSet.sSup,Set.ofPred,And,LE.le,Finset,Eq,Finset.card, AdditiveCombinatorics.sumRep,Exists, IsSidon8 instances, coercions and auxiliary constants left out.
noncomputable def H (k n : ℕ) : ℕ := …
- theorem
Erdos772.erdos_772.parts.isorry line 59 sourcedepends on sorry what this means
Statement uses:
Iff,True,Nat,GE.ge,OfNat.ofNat,Filter.Tendsto,Real,HDiv.hDiv, Erdos772.H,Real.sqrt,Filter.atTopProof 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
Erdos772.erdos_772.parts.iisorry line 70 sourcedepends on sorry what this means
Statement uses:
Iff,True,Nat,GE.ge,OfNat.ofNat,Exists,Real,And,GT.gt,Filter.Eventually,LT.lt,HPow.hPow,HAdd.hAdd,HDiv.hDiv, Erdos772.H,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos772.erdos_772.variants.alon_erdosAlon and Erdős [AlEr85] proved that $H_k(n) \gg_k n^{2/3}$ sorry line 76 sourceSource documentation
Alon and Erdős [AlEr85] proved that $H_k(n) \gg_k n^{2/3}$.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Exists,Real,And,GT.gt,Filter.Eventually,HMul.hMul,HPow.hPow,HDiv.hDiv, Erdos772.H,Filter.atTopProof 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_772.variants.alon_erdos (k : ℕ) (hk : 1 ≤ k) : ∃ c > 0, ∀ᶠ n : ℕ in atTop, c * (n : ℝ) ^ (2 / 3 : ℝ) ≤ H k n := by …Mentions: c, Erdos772.H
- theorem
Erdos772.erdos_772.variants.upper_boundErdős [Er84d] proved that $H_k(n) \ll n^{2/3}$, where the implied constant is absolute sorry line 88 sourceSource documentation
Erdős [Er84d] proved that $H_k(n) \ll n^{2/3}$, where the implied constant is absolute.
Since $1_A\ast 1_A$ counts ordered pairs, the bound needs $k\geq 4$: the construction of Erdős has at most two unordered representations of each sum, hence at most four ordered ones, while $k\leq 2$ forces $A$ itself to be Sidon and so $H_k(n)=n$. For $k=3$ the only collisions are $a+b=2c$, so the Sidon subsets of $A$ are its $3$-term-progression-free subsets, which have size $n^{1-o(1)}$, and the bound fails there too.
depends on sorry what this means
Statement uses:
Exists,Real,Nat,GE.ge,OfNat.ofNat,Filter.Eventually,LE.le, Erdos772.H,HMul.hMul,HPow.hPow,HDiv.hDiv,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_772.variants.upper_bound : ∃ C : ℝ, ∀ k ≥ 4, ∀ᶠ n : ℕ in atTop, (H k n : ℝ) ≤ C * (n : ℝ) ^ (2 / 3 : ℝ) := by …Mentions: Erdos772.H