FormalConjectures/ErdosProblems/14.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, 2 contain sorry, 0 declared as axioms
Erdős Problem 14
Reference: erdosproblems.com/14
Imports (1)
- def
Erdos14.nonUniqueSumCountDocumented declaration: nonUniqueSumCount line 39 sourceSource documentation
The number of integers in $\{1,\ldots,N\}$ which are not representable in exactly one way as the sum of two elements from $A$ (either because they are not representable at all, or because they are representable in more than one way).
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,RealProof uses:
Set.ncard,SDiff.sdiff,Set.Icc,OfNat.ofNat, allUniqueSums6 instances, coercions and auxiliary constants left out.
noncomputable def nonUniqueSumCount (A : Set ℕ) (N : ℕ) : ℝ := …
- def
Erdos14.almostSquareRootline 42 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,NatProof uses:
HPow.hPow,HSub.hSub,HDiv.hDiv,OfNat.ofNat13 instances, coercions and auxiliary constants left out.
- def
Erdos14.squareRootline 45 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
Real.sqrt2 instances, coercions and auxiliary constants left out.
- theorem
Erdos14.erdos_14.parts.iLet $A ⊆ \mathbb{N}$ sorry line 54 sourceSource documentation
Let $A ⊆ \mathbb{N}$. Let $B ⊆ \mathbb{N}$ be the set of integers which are representable in exactly one way as the sum of two elements from $A$. Is it true that for all $\epsilon > 0$ and large $N$, $|\{1,\ldots,N\} \setminus B| \gg_\epsilon N^{1/2 - \epsilon}$?
depends on sorry what this means
Statement uses:
Iff,True,Set,Nat,Real,GT.gt,OfNat.ofNat,Asymptotics.IsBigO,Filter.atTop, Erdos14.almostSquareRoot, Erdos14.nonUniqueSumCountProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous11 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_14.parts.i : answer(sorry) ↔ ∀ A, ∀ ε > 0, nonUniqueSumCount A ≫ almostSquareRoot ε := by sorry …Mentions: Erdos14.nonUniqueSumCount, Erdos14.almostSquareRoot
- theorem
Erdos14.erdos_14.parts.iiIs it possible that $|\{1,\ldots,N\} \setminus B| = o(N^\frac{1}{2})$? sorry line 61 sourceSource documentation
Is it possible that $|\{1,\ldots,N\} \setminus B| = o(N^\frac{1}{2})$?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Set,Nat,Asymptotics.IsLittleO,Real,Filter.atTop, Erdos14.nonUniqueSumCount, Erdos14.squareRootProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_14.parts.ii : answer(sorry) ↔ ∃ (A : Set ℕ), IsLittleO atTop (nonUniqueSumCount A) squareRoot := by …Mentions: Erdos14.nonUniqueSumCount, Erdos14.squareRoot