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 1122

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let f:N→Rf:\mathbb{N}\to \mathbb{R} be an additive function (i.e. f(ab)=f(a)+f(b)f(ab)=f(a)+f(b) whenever (a,b)=1(a,b)=1). Let A={n≥1:f(n+1)<f(n)}.A=\{ n \geq 1: f(n+1)< f(n)\}. If ∣A∩[1,X]∣=o(X)\lvert A\cap [1,X]\rvert =o(X) then must f(n)=clog⁡nf(n)=c\log n for some c∈Rc\in \mathbb{R}?

The condition ∣A∩[1,X]∣=o(X)\lvert A\cap [1,X]\rvert =o(X) says that AA has natural density 00.

Partial progress was made by Mangerel [Ma22], who proved that this is true for completely additive ff if ∣A∩[1,X]∣≪X(log⁡X)2+c\lvert A\cap [1,X]\rvert \ll \frac{X}{(\log X)^{2+c}} for some c>0c>0, and if f(p)f(p) does not have very large values (in a certain technical sense).

See also erdos_491.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.00722 [math.NT] · NS.00722v1 for this version
Declaration:Erdos1122.erdos_1122
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:90f19e116b2cbbd2f33314866a78d15780accb52220e756e353bf8fe6f365f52
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1122.lean

Formal statement

theorem erdos_1122 : ∀ f : ℕ → ℝ,
    (∀ᵉ (a > 0) (b > 0), a.Coprime b → f (a * b) = f a + f b) →
    {n | 1 ≤ n ∧ f (n + 1) < f n}.HasDensity 0 →
    ∃ c : ℝ, ∀ n > 0, f n = c * Real.log n
Show the full Challenge.lean (100 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1122

*References:*
- [erdosproblems.com/1122](https://www.erdosproblems.com/1122)
- [Er46] Erdős, P., *On the distribution function of additive functions*. Annals of Math. (1946),
  1-20.
- [Ma22] Mangerel, Alexander P., *Additive functions in short intervals, gaps and a conjecture of
  Erdős*. Ramanujan J. (2022), 1023--1090.
-/

@[expose] public section

open Filter

open scoped Topology

namespace Erdos1122

/--
Let $f:\mathbb{N}\to \mathbb{R}$ be an additive function (i.e. $f(ab)=f(a)+f(b)$ whenever
$(a,b)=1$). Let
$$A=\{ n \geq 1: f(n+1)< f(n)\}.$$
If $\lvert A\cap [1,X]\rvert =o(X)$ then must $f(n)=c\log n$ for some $c\in \mathbb{R}$?

The condition $\lvert A\cap [1,X]\rvert =o(X)$ says that $A$ has natural density $0$.

Partial progress was made by Mangerel [Ma22], who proved that this is true for completely
additive $f$ if
$$\lvert A\cap [1,X]\rvert \ll \frac{X}{(\log X)^{2+c}}$$
for some $c>0$, and if $f(p)$ does not have very large values (in a certain technical sense).

See also `erdos_491`.
-/
@[category research open, question, AMS 11]
theorem erdos_1122 : ∀ f : ℕ → ℝ,
    (∀ᵉ (a > 0) (b > 0), a.Coprime b → f (a * b) = f a + f b) →
    {n | 1 ≤ n ∧ f (n + 1) < f n}.HasDensity 0 →
    ∃ c : ℝ, ∀ n > 0, f n = c * Real.log n := by
  sorry

/--
Erdős [Er46] proved that $f(n)=c\log n$ for some $c\in\mathbb{R}$ if $A$ is empty, that is, if
$f(n) \leq f(n+1)$ for all $n \geq 1$.
-/
@[category research solved, AMS 11]
theorem erdos_1122.variants.monotone (f : ℕ → ℝ)
    (hf : ∀ᵉ (a > 0) (b > 0), a.Coprime b → f (a * b) = f a + f b)
    (hmono : ∀ n ≥ 1, f n ≤ f (n + 1)) :
    ∃ c : ℝ, ∀ n > 0, f n = c * Real.log n := by
  sorry

/--
Erdős [Er46] proved that $f(n)=c\log n$ for some $c\in\mathbb{R}$ if $f(n+1)-f(n)=o(1)$.
-/
@[category research solved, AMS 11]
theorem erdos_1122.variants.sub_tendsto_zero (f : ℕ → ℝ)
    (hf : ∀ᵉ (a > 0) (b > 0), a.Coprime b → f (a * b) = f a + f b)
    (hdiff : Tendsto (fun n ↦ f (n + 1) - f n) atTop (𝓝 0)) :
    ∃ c : ℝ, ∀ n > 0, f n = c * Real.log n := by
  sorry

/--
For $c \geq 0$ the function $c \log n$ is additive and $A$ is empty, so it satisfies the
hypotheses of `erdos_1122`.
-/
@[category test, AMS 11]
theorem const_mul_log (c : ℝ) (hc : 0 ≤ c) (f : ℕ → ℝ) (hf : ∀ n, f n = c * Real.log n) :
    (∀ᵉ (a > 0) (b > 0), a.Coprime b → f (a * b) = f a + f b) ∧
      {n | 1 ≤ n ∧ f (n + 1) < f n}.HasDensity 0 := by
  refine ⟨fun a ha b hb _ ↦ ?_, ?_⟩
  · simp only [hf, Nat.cast_mul]
    rw [Real.log_mul (by positivity) (by positivity), mul_add]
  · convert Set.HasDensity.empty
    refine Set.eq_empty_of_forall_notMem fun n ⟨hn, hlt⟩ ↦ hlt.not_ge ?_
    simp only [hf]
    gcongr
    simp

end Erdos1122

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

nosorry fetch erdos-1122
nosorry submit erdos-1122 nosorry/erdos-1122/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.