FormalConjectures/ErdosProblems/865.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, 3 contain sorry, 0 declared as axioms
Erdős Problem 865
References:
- erdosproblems.com/865
- [CES75] Choi, S. L. G. and Erdős, P. and Szemerédi, E., Some additive and multiplicative problems in number theory. Acta Arith. (1975), 37--50.
- [Ci26] R. Cipollini, A sharp $5/8$ bound for an Erdős–Sós pairwise-sums problem (2026).
Imports (1)
Imported by 1 file
- theorem
Erdos865.erdos_865sorry line 55 sourcedepends on sorry what this means
Statement uses:
Exists,Real,And,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,Finset,LE.le,Finset.Icc,GE.ge,Finset.card,HAdd.hAdd,HMul.hMul,HDiv.hDiv,Membership.mem,Ne,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous50 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos865.erdos_865.variants.k2It is a classical folklore fact that if $A\subseteq \{1,\ldots,2N\}$ has size $\geq N+2$ then there are distinct $a,b\in A$ such that $a+b\in A$, which establishes the $k=2$ case line 67 sourceSource documentation
It is a classical folklore fact that if $A\subseteq \{1,\ldots,2N\}$ has size $\geq N+2$ then there are distinct $a,b\in A$ such that $a+b\in A$, which establishes the $k=2$ case.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Finset,LE.le,Finset.Icc,OfNat.ofNat,HMul.hMul,GE.ge,Finset.card,HAdd.hAdd,Exists,And,Membership.mem,NeProof uses:
Finset.Nonempty,Eq.mpr,LT.lt,id,Eq,congrArg,Eq.symm,propext,Finset.card_pos,Decidable.byContradiction,Not,Finset.max',rfl,Finset.max'_mem,Eq.mp,Finset.mem_Icc,Finset.erase,HSub.hSub,Finset.card_erase_of_mem,Nat.card_Iccand 8 more42 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
theorem erdos_865.variants.k2 (N : ℕ) : ∀ A ⊆ Icc 1 (2 * N), A.card ≥ N + 2 → ∃ a ∈ A, ∃ b ∈ A, a ≠ b ∧ a + b ∈ A := by … - def
Erdos865.fline 100 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,Finset,LE.le,Finset.Icc,OfNat.ofNat,GE.ge,Finset.card,Exists,And,Eq,Membership.mem,Ne,HAdd.hAdd12 instances, coercions and auxiliary constants left out.
- theorem
Erdos865.erdos_865.variants.sosDocumented declaration: sos sorry line 111 sourceSource documentation
Erdős and Sós conjectured that $f_k(N)\sim \frac{1}{2}\left(1+\sum_{1\leq r\leq k-2}\frac{1}{4^r}\right) N$, where $f_k(N)$ is the minimal size of a subset of $\{1, \dots, N\}$ guaranteeing $k$ elements have all pairwise sums in the set.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Asymptotics.IsEquivalent,Real,Filter.atTop, Erdos865.f,HMul.hMul,HDiv.hDiv,HAdd.hAdd,Finset.sum,Finset.Icc,HSub.hSub,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous60 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_865.variants.sos : ∀ᵉ (k : ℕ) (hk : 2 ≤ k), (fun N ↦ (f N k : ℝ)) ~[atTop] (fun N ↦ (1 / 2 : ℝ) * (1 + ∑ r ∈ Icc 1 (k - 2), (1 / 4 : ℝ) ^ r) * N) := by …Mentions: Erdos865.f
- theorem
Erdos865.erdos_865.variants.upper_boundChoi, Erdős, and Szemerédi [CES75] have proved that, for all sorry line 122 sourceSource documentation
Choi, Erdős, and Szemerédi [CES75] have proved that, for all $k\geq 3$, there exists $\epsilon_k>0$ such that (for large enough $N$) $f_k(N)\leq \left(\frac{2}{3}-\epsilon_k\right)N$.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Exists,Real,And,GT.gt,Filter.Eventually, Erdos865.f,HMul.hMul,HSub.hSub,HDiv.hDiv,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_865.variants.upper_bound (k : ℕ) (hk : 3 ≤ k) : ∃ ε > 0, ∀ᶠ N in atTop, (f N k : ℝ) ≤ (2 / 3 - ε) * N := by …Mentions: Erdos865.f