FormalConjectures/ErdosProblems/942.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, 3 contain sorry, 0 declared as axioms
Erdős Problem 942
Reference: erdosproblems.com/942
Imports (1)
- def
Erdos942.erdos_942.hLet $h(n)$ count the number of powerful integers in $[n^2, (n + 1)^2)$ line 35 sourceSource documentation
Let $h(n)$ count the number of powerful integers in $[n^2, (n + 1)^2)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.card,Finset.filter, Nat.Powerful,Finset.Ico,HPow.hPow,OfNat.ofNat,HAdd.hAdd10 instances, coercions and auxiliary constants left out.
def erdos_942.h (n : ℕ) : ℕ := ((Finset.Ico (n ^ 2) ((n + 1) ^ 2)).filter Powerful).card …
- theorem
Erdos942.erdos_942Is there some constant $c > 0$ such that $h(n) < (\log n)^{c + o(1)}$ and, for infinitely many $n$, $h(n) > (\log n)^{c - o(1)}$ sorry line 42 sourceSource documentation
Is there some constant $c > 0$ such that $h(n) < (\log n)^{c + o(1)}$ and, for infinitely many $n$, $h(n) > (\log n)^{c - o(1)}$.
depends on sorry what this means
Statement uses:
Iff,True,Exists,Real,And,GT.gt,OfNat.ofNat,Nat,Asymptotics.IsLittleO,Filter.atTop,Filter.Eventually,LT.lt, Erdos942.erdos_942.h,HPow.hPow,Real.log,HAdd.hAdd,Set.Infinite,Set.ofPred,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous33 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_942 : answer(sorry) ↔ ∃ c > 0, ∃ (o : ℕ → ℝ), o =o[atTop] (1 : ℕ → ℝ) ∧ (∀ᶠ n in atTop, erdos_942.h n < (Real.log n) ^ (c + o n)) ∧ {n | erdos_942.h n > (Real.log n) ^ (c - o n)}.Infinite := by …Mentions: c, Erdos942.erdos_942.h
- theorem
Erdos942.erdos_942.variants.limsupIt is not hard to prove that $\limsup h(n) = \infty$ sorry line 51 sourceSource documentation
It is not hard to prove that $\limsup h(n) = \infty$.
depends on sorry what this means
Statement uses:
Eq,ENat,Filter.limsup,Nat,Function.comp, Erdos942.erdos_942.h,Filter.atTop,Top.topProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_942.variants.limsup : atTop.limsup (((fun (n : ℕ) ↦ (n : ℕ∞)) ∘ erdos_942.h)) = ⊤ := by …Mentions: Erdos942.erdos_942.h
- theorem
Erdos942.erdos_942.variants.densityIt is not hard to prove that the density $\delta_l$ of integers for which $h(n) = l$ exists and satisfies $$\sum_l \delta_l = 1$$ sorry line 60 sourceSource documentation
It is not hard to prove that the density $\delta_l$ of integers for which $h(n) = l$ exists and satisfies $$\sum_l \delta_l = 1$$.
depends on sorry what this means
Statement uses:
Exists,Nat,Real,And, Set.HasDensity,Set.ofPred,Eq, Erdos942.erdos_942.h,Set.univ,tsum,SummationFilter.unconditional,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous21 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_942.variants.density : ∃ δ : ℕ → ℝ, ∀ l, {n | erdos_942.h n = l}.HasDensity (δ l) ∧ ∑' l, δ l = 1 := by …Mentions: Erdos942.erdos_942.h