Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 887 · variants.rosenfeld_infinite

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:the main problem, on aiXiv: claimed solved — Claimed proved in aiXiv:2609.03005 (2026-06-12); no independent check recorded on aiXiv. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves Claimed: for every fixed C>0C>0 there is N(C)N(C) such that for all n≥N(C)n\ge N(C) the interval (n,n+Cn1/4)(\sqrt n,\sqrt n+Cn^{1/4}) contains at most four divisors of nn. The authors also claim a companion Lean 4 formalization. — aiXiv:2609.03005, 2026-06-12 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

A question of Erdős and Rosenfeld, who proved that there are infinitely many nn with (at least) 44 divisors in (n12,n12+cn14)(n^{\frac{1}{2}}, n^{\frac{1}{2}} + cn^{\frac{1}{4}}).

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.03522 [math.NT] · NS.03522v1 for this version
Declaration:Erdos887.erdos_887.variants.rosenfeld_infinite
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:e283690c2df8bfe0ec822a829726416e567f7875bcc60ede246401cdbb2d5c3e
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/887.lean

Formal statement

theorem erdos_887.variants.rosenfeld_infinite : ∃ C > (0 : ℝ),
    Infinite {n : ℕ | 4 ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }}
Show the full Challenge.lean (83 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 887

*References:*
* [erdosproblems.com/887](https://www.erdosproblems.com/887)
* [ErRo97] Erdős, Paul and Rosenfeld, Moshe, The factor-difference set of integers. Acta Arith. (1997), 353--359.
-/

@[expose] public section

open Filter Finset Real
namespace Erdos887

def erdos_887.parts.i.answer : ℕ := sorry

/--
Is there an absolute constant $K$ such that, for every $C > 0$, if $n$ is sufficiently large then
$n$ has at most $K$ divisors in $(n^{\frac{1}{2}}, n^{\frac{1}{2}} + C n^{\frac{1}{4}})$.
-/
@[category research open, question value, AMS 11]
theorem erdos_887.parts.i : ∀ C > (0 : ℝ), ∀ᶠ n in atTop,
    #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n } ≤ erdos_887.parts.i.answer := by
  sorry

/--
Is there an absolute constant $K$ such that, for every $C > 0$, if $n$ is sufficiently large then
$n$ has at most $K$ divisors in $(n^{\frac{1}{2}}, n^{\frac{1}{2}} + C n^{\frac{1}{4}})$.
-/
@[category research open, AMS 11]
theorem erdos_887.parts.ii : ∃ K, ∀ C > (0 : ℝ), ∀ᶠ n in atTop,
    #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n } ≤ K := by
  sorry

/--
A question of Erdős and Rosenfeld, who proved that there are infinitely many $n$ with (at least)
$4$ divisors in $(n^{\frac{1}{2}}, n^{\frac{1}{2}} + cn^{\frac{1}{4}})$.
-/
@[category research solved, AMS 11]
theorem erdos_887.variants.rosenfeld_infinite : ∃ C > (0 : ℝ),
    Infinite {n : ℕ | 4 ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }} := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Erdős and Rosenfeld ask whether $4$ is the best possible $K$ for the infinitude of $n$
with (at least) $K$ divisors in $(n^{\frac{1}{2}}, n^{\frac{1}{2}} + C n^{\frac{1}{4}})$, for some
constant $C > 0$. The constant cannot be taken to be $1$. Distinct divisors $d > \sqrt{n}$ give
distinct integers $d + n/d$, and a divisor in the interval has
$2\sqrt{n} < d + n/d < 2\sqrt{n} + C^2$, so for $C = 1$ there is at most one such divisor.

The answer is no. In a [forum post](https://www.erdosproblems.com/forum/thread/887#post-7374)
(July 2026), m-czech showed that for $C = 31$ infinitely many $n$ have $5$ divisors in the
interval. The construction is $n = (x^2 - 1)(x^2 - 4)(x^2 - 16)(x^2 - 49)$ with
$z^2 = 56 x^2 + 65$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/mnn31/erdos-lean/blob/5cb725981b3ad137103ef908eb6ecff9e7ed9bdf/ErdosLean/Erdos887.lean#L538"]
theorem erdos_887.variants.rosenfeld_4 :
    ¬ IsGreatest {K | ∃ C > (0 : ℝ),
      Infinite {n : ℕ | K ≤ #{ d ∈ Ioo ⌊√n⌋₊ ⌈√n + C * n^((1 : ℝ) / 4)⌉₊ | d ∣ n }}} 4 := by
  sorry

end Erdos887

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos887.erdos_887.variants.rosenfeld_infinite with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_rosenfeld_infinite : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-887--erdos-887-variants-rosenfeld-infinite      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-887--erdos-887-variants-rosenfeld-infinite
nosorry submit erdos-887--erdos-887-variants-rosenfeld-infinite nosorry/erdos-887--erdos-887-variants-rosenfeld-infinite/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.