FormalConjectures/ErdosProblems/726.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
2 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 726
References:
- erdosproblems.com/726
- [EGRS75] Erdős, P., and Graham, R. L. and Ruzsa, I. Z. and Straus, E. G., On the prime factors of $(\sp{2n}\sb{n})$. Math. Comp. (1975), 83-92.
Imports (1)
- theorem
Erdos726.erdos_726As $n\to \infty$ ranges over integers $\sum_{p\leq n}1_{n\in (p/2,p)\pmod{p}}\frac{1}{p}\sim \frac{\log\log n}{2}$? sorry line 46 sourceSource documentation
As $n\to \infty$ ranges over integers $\sum_{p\leq n}1_{n\in (p/2,p)\pmod{p}}\frac{1}{p}\sim \frac{\log\log n}{2}$?
A conjecture of Erdős, Graham, Ruzsa, and Straus [EGRS75].
By $n\in (p/2,p)\pmod{p}$ we mean $n\equiv r\pmod{p}$ for some integer $r$ with $p/2<r<p$. The remainder
n % pis computed inℕbefore casting toℝ.depends on sorry what this means
Statement uses:
Iff,True,Asymptotics.IsEquivalent,Nat,Real,Filter.atTop,Finset.sum,Finset.filter,And,Nat.Prime,LT.lt,HDiv.hDiv,OfNat.ofNat,HMod.hMod,Finset.range,HAdd.hAdd,Real.logProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous52 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_726 : answer(sorry) ↔ (fun n : ℕ ↦ ∑ p ∈ (range (n + 1)).filter (fun p : ℕ ↦ p.Prime ∧ (p : ℝ) / 2 < ((n % p : ℕ) : ℝ)), (1 : ℝ) / (p : ℝ)) ~[atTop] (fun n : ℕ ↦ Real.log (Real.log (n : ℝ)) / 2) := by … - theorem
Erdos726.erdos_726.variants.mertens_estimateThe classical estimate of Mertens states that $\sum_{p\leq n}\frac{1}{p}\sim \log\log n$ sorry line 58 sourceSource documentation
The classical estimate of Mertens states that $\sum_{p\leq n}\frac{1}{p}\sim \log\log n$.
depends on sorry what this means
Statement uses:
Asymptotics.IsEquivalent,Nat,Real,Filter.atTop,Finset.sum,Finset.filter,Nat.Prime,Finset.range,HAdd.hAdd,OfNat.ofNat,HDiv.hDiv,Real.logProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous36 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_726.variants.mertens_estimate : (fun n : ℕ ↦ ∑ p ∈ (range (n + 1)).filter (fun p ↦ p.Prime), (1 : ℝ) / ((p : ℕ) : ℝ)) ~[atTop] (fun n : ℕ ↦ Real.log (Real.log (n : ℝ))) := by …