Title:Erdős Problem 945 · variants.constant
Statement:Is there a constant such that, for all large , every interval contains two integers with the same number of divisors?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.03720 [math.NT] · NS.03720v1 for this version |
| Declaration: | Erdos945.erdos_945.variants.constant |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 176802d4a3238dad1dce61e98ad3d70627bb25e47beaf6433ed0a890815cb83d |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/945.lean |
Formal statement
theorem erdos_945.variants.constant : Erdos945ConstantShow the full Challenge.lean (97 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 945
*References:*
- [erdosproblems.com/945](https://www.erdosproblems.com/945)
- [ErMi52] Erdős, P. and Mirsky, L., The distribution of values of the divisor function {$d(n)$}. Proc. London Math. Soc. (3) (1952), 257--271.
-/
@[expose] public section
open Filter Real
namespace Erdos945
abbrev τ := fun (n : ℕ) => n.divisors.card
/--
Let $F(x)$ be the maximal $k$ such that there exist $n+1, \dots, n+k \le x$
with $τ(n+1), \dots, τ(n+k)$ all distinct, where $τ(m)$ counts the divisors of $m$. -/
noncomputable def F (x : ℝ) : ℕ :=
sSup {k | ∃ (n : ℕ), n + k ≤ x ∧ (Set.Ioc n (n + k)).InjOn τ}
-- Implementation note: we define a Prop here and below to be able to easily formulate
-- the equivalence between the two variants. Because the theorems have an unknown `answer` we
-- can't handle this with `type_of%`.
def Erdos945Prop : Prop := ∃ O : ℝ → ℝ, O =O[atTop] (1 : ℝ → ℝ) ∧ ∀ᶠ x in atTop, F x ≤ log x ^ O x
/--
Is it true that $F(x) \leq (\log x)^{O(1)}$?
-/
@[category research open, question, AMS 11]
theorem erdos_945 : Erdos945Prop := by
sorry
def Erdos945Constant : Prop :=
∃ C > (0 : ℝ), ∀ᶠ x : ℝ in atTop,
∃ a b : ℕ, a ≠ b ∧
↑a ∈ Set.Icc x (x + log x ^ C) ∧
↑b ∈ Set.Icc x (x + log x ^ C) ∧
τ a = τ b
/--
Is there a constant $C > 0$ such that, for all large $x$, every interval $[x, x+(\log x)C]$
contains two integers with the same number of divisors?
-/
@[category research open, question, AMS 11]
theorem erdos_945.variants.constant : Erdos945Constant := by
sorry
-- TODO(firsching): show equivalence
/--
The two ways of phrasing the conjecture are equivalent.
-/
@[category textbook, AMS 11]
theorem erdos_945.variants.equivalence : Erdos945Prop ↔ Erdos945Constant := by
sorry
/--
Erdős and Mirsky [ErMi52] proved that $\frac{(\log x)^{1/2}}{\log\log x}\ll F(x)$.
-/
@[category research solved, AMS 11]
theorem erdos_945.variants.lower_bound :
(fun (x : ℕ) => (log x).sqrt /(log x).log) =O[atTop] fun (n : ℕ) => (F n : ℝ) := by
sorry
/--
Erdős and Mirsky [ErMi52] proved that $\log F(x) \ll \frac{(\log x)^{1/2}}{\log\log x}$.
-/
@[category research solved, AMS 11]
theorem erdos_945.variants.upper_bound :
(fun (n : ℕ) => (F n : ℝ).log) =O[atTop] fun (x : ℕ) => (log x).sqrt /(log x).log := by
sorry
-- TODO(firsching): add observations what follows from Cramér's conjecture and if every sufficient
-- interval contains a squarefree number.
end Erdos945
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos945.erdos_945.variants.constant with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_constant : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-945--erdos-945-variants-constant # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-945--erdos-945-variants-constant nosorry submit erdos-945--erdos-945-variants-constant nosorry/erdos-945--erdos-945-variants-constant/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.