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 692

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let δ1(n,m)\delta_1(n,m) be the density of the set of integers with exactly one divisor in (n,m)(n,m). Is δ1(n,m)\delta_1(n,m) unimodular for m>n+1m>n+1 (i.e. increases until some mm then decreases thereafter)?

Cambie has calculated that unimodularity fails even for n=2n=2 and n=3n=3.

This was formalized in Lean by Monticone using Aristotle.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.02886 [math.NT] · NS.02886v1 for this version
Declaration:Erdos692.erdos_692.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:77d69323e2357ce8b3530a4ad9dd260f5fafe6d91e6df75b9cd46c76a23390e2
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/692.lean

Formal statement

theorem erdos_692.parts.i :
    ¬ ∀ δ : ℕ → ℕ → ℝ, (∀ a b, IsDelta₁ a b (δ a b)) → ∀ n, UnimodularOn (δ n) (n + 1)
Show the full Challenge.lean (123 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 692

*References:*
- [erdosproblems.com/692](https://www.erdosproblems.com/692)
- [Er79e] Erdős, Paul, Some unconventional problems in number theory. Astérisque (1979), 73-82.
- [Ob1] Erdős, P., *Oberwolfach Mathematical Problems, Volume 1*. Mathematisches
  Forschungsinstitut Oberwolfach (Various).
- [Fo08] Ford, Kevin, *The distribution of integers with a divisor in a given interval*.
  Ann. of Math. (2) (2008), 367-433.
- [Ca25] Cambie, S., *Resolution of Erdős' problems about unimodularity*.
  arXiv:2501.10333 (2025).
-/

@[expose] public section

namespace Erdos692

open Filter

/--
The set of integers with exactly one divisor in the open interval $(n, m)$.
-/
def exactlyOneDivisorIn (n m : ℕ) : Set ℕ :=
  {x | {d ∈ Set.Ioo n m | d ∣ x}.ncard = 1}

/--
$\delta_1(n,m)$ is the density of the set of integers with exactly one divisor in $(n,m)$.
-/
def IsDelta₁ (n m : ℕ) (δ : ℝ) : Prop :=
  (exactlyOneDivisorIn n m).HasDensity δ

/--
The set of local maxima of the sequence `f` on `(a, ∞)`. Each local maximum is recorded by the
first index `m` of a maximal interval `[m, b]` on which `f` is constant, with `f` strictly smaller
at `m - 1` and at `b + 1`.
-/
def localMaxima (f : ℕ → ℝ) (a : ℕ) : Set ℕ :=
  {m | a < m ∧ f (m - 1) < f m ∧ ∃ b, m ≤ b ∧ (∀ j ∈ Set.Icc m b, f j = f m) ∧ f (b + 1) < f m}

set_option linter.style.formal_proof_palomar false in
/--
Let $\delta_1(n,m)$ be the density of the set of integers with exactly one divisor in $(n,m)$.
Is $\delta_1(n,m)$ unimodular for $m>n+1$ (i.e. increases until some $m$ then decreases
thereafter)?

Cambie has calculated that unimodularity fails even for $n=2$ and $n=3$.

This was formalized in Lean by Monticone using Aristotle.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://gist.githubusercontent.com/pitmonticone/96516af9100a37a1da81908dc0b0410c/raw/a1d6ca7f3835c58b257e5e715c8fdf3a224e1bd0/Erdos692.lean"]
theorem erdos_692.parts.i :
    ¬ ∀ δ : ℕ → ℕ → ℝ, (∀ a b, IsDelta₁ a b (δ a b)) → ∀ n, UnimodularOn (δ n) (n + 1) := by
  sorry

def erdos_692.parts.ii.answer (n : ℕ) : ℕ := sorry

/--
Let $\delta_1(n,m)$ be the density of the set of integers with exactly one divisor in $(n,m)$.
For fixed $n$, where does $\delta_1(n,m)$ achieve its maximum?
-/
@[category research open, question value, AMS 11]
theorem erdos_692.parts.ii (n : ℕ) :
    ∀ δ : ℕ → ℕ → ℝ, (∀ a b, IsDelta₁ a b (δ a b)) →
      IsGreatest (δ n '' Set.Ioi (n + 1)) (δ n (erdos_692.parts.ii.answer n)) := by
  sorry

/--
Erdős proved that
$$\delta_1(n,m) \ll \frac{1}{(\log n)^c}$$
for all $m$, for some constant $c>0$.
-/
@[category research solved, AMS 11]
theorem erdos_692.variants.erdos_upper_bound :
    ∀ δ : ℕ → ℕ → ℝ, (∀ a b, IsDelta₁ a b (δ a b)) →
      ∃ c > (0 : ℝ), ∃ C > (0 : ℝ), ∀ᶠ n in atTop, ∀ m, δ n m ≤ C / Real.log n ^ c := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Cambie has calculated that unimodularity fails even for $n=2$ and $n=3$. For example,
$$\delta_1(3,6)= 0.35\quad \delta_1(3,7)\approx 0.33\quad \delta_1(3,8)\approx 0.3619.$$
-/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/linrock/math-proofs/blob/b8e7531a14cbe5c18ea1ae2e9e85b811bc3c7a46/erdos-692/Solution.lean#L26"]
theorem erdos_692.variants.cambie_three :
    ∀ δ : ℕ → ℕ → ℝ, (∀ a b, IsDelta₁ a b (δ a b)) →
      δ 3 7 < δ 3 6 ∧ δ 3 7 < δ 3 8 := by
  sorry

/--
Cambie [Ca25] has shown that, for fixed $n$, the sequence $\delta_1(n,m)$ has superpolynomially
many local maxima $m$. A local maximum is a maximal run of equal values of the sequence that is
strictly larger than the values just before and just after the run.
-/
@[category research solved, AMS 11]
theorem erdos_692.variants.cambie_local_maxima (k : ℕ) :
    ∀ δ : ℕ → ℕ → ℝ, (∀ a b, IsDelta₁ a b (δ a b)) →
      ∀ᶠ n : ℕ in atTop, (n : ℕ∞) ^ k ≤ (localMaxima (δ n) (n + 1)).encard := by
  sorry

end Erdos692

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

nosorry fetch erdos-692
nosorry submit erdos-692 nosorry/erdos-692/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.