FormalConjectures/ErdosProblems/32.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, 5 contain sorry, 0 declared as axioms
Erdős Problem 32
References:
- erdosproblems.com/32
- [Erd54] Erdős, Paul, Some results on additive number theory. Proc. Amer. Math. Soc. (1954), 847-853.
- [Guy04] Guy, Richard K., Unsolved problems in number theory. (2004), xviii+437
- [Ru98c] Ruzsa, Imre Z., On the additive completion of primes. Acta Arith. (1998), 269-275.
Imports (1)
- def
Erdos32.IsAdditiveComplementToPrimesA set $A \subseteq \mathbb{N}$ is an additive complement to the primes if every sufficiently large natural number can be written as $p + a$ for some prime $p$ and $a \in A$ line 41 sourceSource documentation
A set $A \subseteq \mathbb{N}$ is an additive complement to the primes if every sufficiently large natural number can be written as $p + a$ for some prime $p$ and $a \in A$.
standard axioms: Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Filter.Eventually,Exists,And,Nat.Prime,Membership.mem,Eq,HAdd.hAdd,Filter.atTop4 instances, coercions and auxiliary constants left out.
def IsAdditiveComplementToPrimes (A : Set ℕ) : Prop := …
- theorem
Erdos32.erdos_32.variants.log_squaredErdős proved in [Erd54] that there exists an additive complement $A$ to the primes with $|A \cap \{1, \ldots, N\}| = O((\log N)^2)$ sorry line 50 sourceSource documentation
Erdős proved in [Erd54] that there exists an additive complement $A$ to the primes with $|A \cap \{1, \ldots, N\}| = O((\log N)^2)$.
depends on sorry what this means
Statement uses:
Exists,Set,Nat,And, Erdos32.IsAdditiveComplementToPrimes,Asymptotics.IsBigO,Real,Filter.atTop,Finset.card,Finset.filter,Membership.mem,Classical.propDecidable,Finset.Icc,OfNat.ofNat,HPow.hPow,Real.logProof 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_32.variants.log_squared : ∃ A : Set ℕ, IsAdditiveComplementToPrimes A ∧ (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card : ℝ)) =O[atTop] fun N => (Real.log N) ^ 2 := by …Mentions: Erdos32.IsAdditiveComplementToPrimes
- theorem
Erdos32.erdos_32.variants.liminf_gt_oneMust every additive complement $A$ to the primes satisfy $\liminf_{N \to \infty} \frac{|A \cap \{1, \ldots, N\}|}{\log N} > 1$? sorry line 62 sourceSource documentation
Must every additive complement $A$ to the primes satisfy $\liminf_{N \to \infty} \frac{|A \cap \{1, \ldots, N\}|}{\log N} > 1$?
depends on sorry what this means
Statement uses:
Set,Nat, Erdos32.IsAdditiveComplementToPrimes,LT.lt,EReal,OfNat.ofNat,Filter.liminf,HDiv.hDiv,Finset.card,Finset.filter,Membership.mem,Classical.propDecidable,Finset.Icc,Real.log,Real,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous44 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_32.variants.liminf_gt_one : ∀ A : Set ℕ, IsAdditiveComplementToPrimes A → (1 : EReal) < liminf (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card / Real.log N : EReal)) atTop := by …Mentions: Erdos32.IsAdditiveComplementToPrimes
- theorem
Erdos32.erdos_32Does there exist a set sorry line 74 sourceSource documentation
Does there exist a set $A \subseteq \mathbb{N}$ such that $|A \cap \{1, \ldots, N\}| = o((\log N)^2)$ and every sufficiently large integer can be written as $p + a$ for some prime $p$ and $a \in A$?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Set,Nat,And, Erdos32.IsAdditiveComplementToPrimes,Asymptotics.IsLittleO,Real,Filter.atTop,Finset.card,Finset.filter,Membership.mem,Classical.propDecidable,Finset.Icc,OfNat.ofNat,HPow.hPow,Real.logProof 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_32 : answer(sorry) ↔ ∃ A : Set ℕ, IsAdditiveComplementToPrimes A ∧ (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card : ℝ)) =o[atTop] fun N => (Real.log N) ^ 2 := by …Mentions: Erdos32.IsAdditiveComplementToPrimes
- theorem
Erdos32.erdos_32.variants.log_boundCan the bound $O(\log N)$ be achieved for an additive complement to the primes? sorry line 86 sourceSource documentation
Can the bound $O(\log N)$ be achieved for an additive complement to the primes? [Guy04] writes that Erdős offered $50 for the solution.
depends on sorry what this means
Statement uses:
Iff,True,Exists,Set,Nat,And, Erdos32.IsAdditiveComplementToPrimes,Asymptotics.IsBigO,Real,Filter.atTop,Finset.card,Finset.filter,Membership.mem,Classical.propDecidable,Finset.Icc,OfNat.ofNat,Real.logProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_32.variants.log_bound : answer(sorry) ↔ ∃ A : Set ℕ, IsAdditiveComplementToPrimes A ∧ (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card : ℝ)) =O[atTop] fun N => Real.log N := by …Mentions: Erdos32.IsAdditiveComplementToPrimes
- theorem
Erdos32.erdos_32.variants.ruzsaRuzsa proved that any additive complement sorry line 99 sourceSource documentation
Ruzsa proved that any additive complement $A$ to the primes must satisfy $\liminf_{N \to \infty} \frac{|A \cap \{1, \ldots, N\}|}{\log N} \geq e^\gamma$, where $\gamma$ is the Euler-Mascheroni constant.
depends on sorry what this means
Statement uses:
Set,Nat, Erdos32.IsAdditiveComplementToPrimes,LE.le,EReal,Real.exp,Real.eulerMascheroniConstant,Filter.liminf,HDiv.hDiv,Finset.card,Finset.filter,Membership.mem,Classical.propDecidable,Finset.Icc,OfNat.ofNat,Real.log,Real,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 erdos_32.variants.ruzsa : ∀ A : Set ℕ, IsAdditiveComplementToPrimes A → (Real.exp Real.eulerMascheroniConstant : EReal) ≤ liminf (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card / Real.log N : EReal)) atTop := by …Mentions: Erdos32.IsAdditiveComplementToPrimes