FormalConjectures/ErdosProblems/950.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
8 declarations, 7 contain sorry, 0 declared as axioms
Erdős Problem 950
References:
- erdosproblems.com/855
- erdosproblems.com/950
- [Er77c] Erdős, Paul, Problems and results on combinatorial number theory. III. Number theory day (Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
- mathoverflow/508491
Imports (1)
- def
Erdos950.fLet $f(n) = \sum_{p<n}\frac{1}{n-p}$ line 41 sourceSource documentation
Let $f(n) = \sum_{p<n}\frac{1}{n-p}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
Finset.sum,Finset.filter,Prime,Finset.range,HDiv.hDiv,OfNat.ofNat,HSub.hSub12 instances, coercions and auxiliary constants left out.
noncomputable def f (n : ℕ) : ℝ := …
- theorem
Erdos950.erdos_950.parts.iIs it true that $\liminf f(n)=1$? sorry line 48 sourceSource documentation
Is it true that $\liminf f(n)=1$?
depends on sorry what this means
Statement uses:
Iff,True,Eq,EReal,Filter.liminf,Nat, Erdos950.f,Filter.atTop,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_950.parts.i : answer(sorry) ↔ atTop.liminf (fun n : ℕ ↦ (f n : EReal)) = 1 := by …Mentions: Erdos950.f
- theorem
Erdos950.erdos_950.parts.iiIs it true that $\limsup f(n)=\infty$? sorry line 56 sourceSource documentation
Is it true that $\limsup f(n)=\infty$?
depends on sorry what this means
Statement uses:
Iff,True,Eq,EReal,Filter.limsup,Nat, Erdos950.f,Filter.atTop,Top.topProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat15 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_950.parts.ii : answer(sorry) ↔ atTop.limsup (fun n : ℕ ↦ (f n : EReal)) = ⊤ := by …Mentions: Erdos950.f
- theorem
Erdos950.erdos_950.parts.iiiIs it true that $f(n)=o(\log\log n)$ for all $n$? sorry line 64 sourceSource documentation
Is it true that $f(n)=o(\log\log n)$ for all $n$?
depends on sorry what this means
Statement uses:
Iff,True,Asymptotics.IsLittleO,Nat,Real,Filter.atTop, Erdos950.f,Real.logProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat9 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_950.parts.iii : answer(sorry) ↔ f =o[atTop] (fun n : ℕ ↦ Real.log (Real.log n)) := by …Mentions: Erdos950.f
- theorem
Erdos950.erdos_950.variants.debruijn_erdos_turanThis function was considered by de Bruijn, Erdős, and Turán, who showed that $\sum_{n<x}f(n)\sim \sum_{n<x}f(n)^2\sim x$ sorry line 74 sourceSource documentation
This function was considered by de Bruijn, Erdős, and Turán, who showed that $\sum_{n<x}f(n)\sim \sum_{n<x}f(n)^2\sim x$. They gave no proofs, but a proof of the (harder) second claim is given by Gorodetsky here [mathoverflow/508491].
depends on sorry what this means
Statement uses:
And,Asymptotics.IsEquivalent,Nat,Real,Filter.atTop,Finset.sum,Finset.range, Erdos950.f,HPow.hPow,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_950.variants.debruijn_erdos_turan : (fun x : ℕ ↦ ∑ n ∈ Finset.range x, f n) ~[atTop] (fun x : ℕ ↦ (x : ℝ)) ∧ (fun x : ℕ ↦ ∑ n ∈ Finset.range x, (f n) ^ 2) ~[atTop] (fun x : ℕ ↦ (x : ℝ)) := by …Mentions: Erdos950.f
- theorem
Erdos950.erdos_950.variants.weaker_piDocumented declaration: weaker_pi sorry line 85 sourceSource documentation
Erdős writes that a 'weaker conjecture which is perhaps not quite inaccessible' is that, for every $\epsilon>0$, if $x$ is sufficiently large there exists $y<x$ such that $\pi(x)< \pi(y)+\epsilon \pi(x-y)$. Compare this to [855].
depends on sorry what this means
Statement uses:
Iff,True,Real,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,Exists,And,LT.lt,Nat.primeCounting,HAdd.hAdd,HMul.hMul,HSub.hSub,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous27 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_950.variants.weaker_pi : answer(sorry) ↔ ∀ ε > 0, ∀ᶠ x in atTop, ∃ y < x, (π x : ℝ) < (π y : ℝ) + ε * (π (x - y) : ℝ) := by … - theorem
Erdos950.erdos_950.variants.weaker_pi_implies_fHe notes that if $\pi(x)< \pi(y)+O\left(\frac{x-y}{\log x}\right)$ for all $y0$ then $f(n)\ll \log\log\log n$ sorry line 95 sourceSource documentation
He notes that if $\pi(x)< \pi(y)+O\left(\frac{x-y}{\log x}\right)$ for all $y<x-(\log x)^C$ for some constant $C>0$ then $f(n)\ll \log\log\log n$.
L4DEL explanation
He notes that if $\pi(x)< \pi(y)+O\left(\frac{x-y}{\log x}\right)$ for all $y0$ then $f(n)\ll \log\log\log n$.
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Exists,Real,And,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,LT.lt,HSub.hSub,HPow.hPow,Real.log,Nat.primeCounting,HAdd.hAdd,HMul.hMul,HDiv.hDiv,Filter.atTop,Asymptotics.IsBigO, Erdos950.fProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous37 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_950.variants.weaker_pi_implies_f (h : ∃ C > (0 : ℝ), ∃ K > (0 : ℝ), ∀ᶠ x : ℕ in atTop, ∀ y : ℕ, (y : ℝ) < x - (Real.log x) ^ C → (π x : ℝ) < (π y : ℝ) + K * ((x - y : ℝ) / Real.log x)) : f =O[atTop] fun n : ℕ ↦ Real.log (Real.log (Real.log n)) := by …Mentions: Erdos950.f
- theorem
Erdos950.erdos_950.variants.sum_primesThe study of $f(p)$ is even harder, and Erdős could not prove that $\sum_{p<x}f(p)^2\sim \pi(x)$ sorry line 107 sourceSource documentation
The study of $f(p)$ is even harder, and Erdős could not prove that $\sum_{p<x}f(p)^2\sim \pi(x)$.
depends on sorry what this means
Statement uses:
Iff,True,Asymptotics.IsEquivalent,Nat,Real,Filter.atTop,Finset.sum,Finset.filter,Prime,Finset.range,HPow.hPow, Erdos950.f,OfNat.ofNat,Nat.primeCountingProof 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_950.variants.sum_primes : answer(sorry) ↔ (fun x : ℕ ↦ ∑ p ∈ (Finset.range x).filter Prime, (f p) ^ 2) ~[atTop] fun x ↦ (π x : ℝ) := by …Mentions: Erdos950.f