FormalConjectures/ErdosProblems/489.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
4 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 489
Reference: erdosproblems.com/489
Imports (1)
- def
Erdos489.sievedSetThe set of positive integers not divisible by any element ofAline 34 sourceSource documentation
The set of positive integers not divisible by any element of
A.no axioms what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,And,LT.lt,OfNat.ofNat,Membership.mem,Not,Dvd.dvd4 instances, coercions and auxiliary constants left out.
def sievedSet (A : Set ℕ) : Set ℕ := {n : ℕ | 0 < n ∧ ∀ a ∈ A, ¬(a ∣ n)} - def
Erdos489.GapSumSqThe squared-gap sum∑_{b_i < x} (b_{i+1} - b_i)², whereb_ienumerates the positive integers not divisible by any element ofAline 38 sourceSource documentation
The squared-gap sum
∑_{b_i < x} (b_{i+1} - b_i)², whereb_ienumerates the positive integers not divisible by any element ofA.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,RealProof uses:
Nat.nth,Membership.mem, Erdos489.sievedSet,Finset.sum,Finset.Iio,Nat.count,Classical.propDecidable,HPow.hPow,HSub.hSub,HAdd.hAdd,OfNat.ofNat17 instances, coercions and auxiliary constants left out.
noncomputable def GapSumSq (A : Set ℕ) (x : ℕ) : ℝ := …
- theorem
Erdos489.erdos_489Let $A\subseteq \mathbb{N}$ be a set such that $\lvert A\cap [1,x]\rvert=o(x^{1/2})$ sorry line 58 sourceSource documentation
Let $A\subseteq \mathbb{N}$ be a set such that $\lvert A\cap [1,x]\rvert=o(x^{1/2})$. Let $B=\{ n\geq 1 : a\nmid n\textrm{ for all }a\in A\}$. If $B=\{b_1 < b_2 < \cdots\}$ then is it true that $$\lim_{x \to \infty} \frac{1}{x}\sum_{b_i < x}(b_{i+1}-b_i)^2$$ exists (and is finite)?
For example, when $A=\{p^2: p\textrm{ prime}\}$ then $B$ is the set of squarefree numbers, and the existence of this limit was proved by Erdős.
See also [208].
depends on sorry what this means
Statement uses:
Iff,True,Set,Nat,Asymptotics.IsLittleO,Real,Filter.atTop,Finset.card,Finset.filter,Membership.mem,Classical.propDecidable,Finset.Icc,OfNat.ofNat,Real.sqrt,Set.Infinite, Erdos489.sievedSet,Exists,Filter.Tendsto,HDiv.hDiv, Erdos489.GapSumSq and 1 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_489 : answer(True) ↔ ∀ (A : Set ℕ), (fun x : ℕ => (((Finset.Icc 1 x).filter (· ∈ A)).card : ℝ)) =o[atTop] (fun x : ℕ => (x : ℝ).sqrt) → (sievedSet A).Infinite → ∃ L : ℝ, Tendsto (fun x : ℕ => GapSumSq A x / (x : ℝ)) atTop (𝓝 L) := by …Mentions: Erdos489.sievedSet, Erdos489.GapSumSq
- theorem
Erdos489.erdos_489.variants.squarefreeWhen $A = \{p^2 : p \textrm{ prime}\}$, $B$ is the set of squarefree numbers, and the existence of this limit was proved by Erdős sorry line 69 sourceSource documentation
When $A = \{p^2 : p \textrm{ prime}\}$, $B$ is the set of squarefree numbers, and the existence of this limit was proved by Erdős. This is the $\alpha = 2$ case of Erdős Problem 145.
depends on sorry what this means
Statement uses:
Exists,Real,Filter.Tendsto,Nat,HDiv.hDiv, Erdos489.GapSumSq,Set.ofPred,And,Nat.Prime,Eq,HPow.hPow,OfNat.ofNat,Filter.atTop,nhdsProof 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_489.variants.squarefree : ∃ L : ℝ, Tendsto (fun x : ℕ => GapSumSq {n | ∃ p, Nat.Prime p ∧ n = p ^ 2} x / (x : ℝ)) atTop (𝓝 L) := by …Mentions: Erdos489.GapSumSq