Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 50

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:

Schoenberg [Sch38] proved that the asymptotic distribution function of φ(n)/n\varphi(n)/n exists. That is, for any c∈[0,1]c \in [0, 1], the proportion of integers n≤Nn \le N satisfying φ(n)/n<c\varphi(n)/n < c approaches a limit as N→∞N \to \infty. This limit function is the cumulative distribution function of the values of φ(n)/n\varphi(n)/n.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.02302 [math.NT] · NS.02302v1 for this version
Declaration:Erdos50.erdos_50_schoenberg
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:4c33564776585c4d80379a1fdc565b80ec505bb6e9c8350fb5aaa10ea8b413a4
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/50.lean

Formal statement

theorem erdos_50_schoenberg : ∃ f : ℝ → ℝ, IsDistributionOfPhiRatio f
Show the full Challenge.lean (84 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 50

*References:*
* [erdosproblems.com/50](https://www.erdosproblems.com/50)
* [Er95] Erdős, Paul, Some of my favourite problems in number theory, combinatorics, and geometry.
Resenhas (1995), 165-186.
* [Sch38] Schoenberg, I. J. "On asymptotic distributions of arithmetical functions."
Transactions of the American Mathematical Society 39.2 (1936): 315-330.
-/

@[expose] public section

open Filter Set MeasureTheory Topology
open scoped Nat Topology

namespace Erdos50

/--
A function $f : \mathbb{R} \to \mathbb{R}$ is the asymptotic distribution function of the values
of $\varphi(n)/n$ if for all $c \in [0, 1]$, the natural density of $\{n : \varphi(n) < cn\}$
exists and equals $f(c)$.
-/
def IsDistributionOfPhiRatio (f : ℝ → ℝ) : Prop :=
  ∀ c ∈ Icc (0 : ℝ) 1, {n : ℕ | (φ n : ℝ) < c * n}.HasDensity (f c)

/--
A function $f : \mathbb{R} \to \mathbb{R}$ is purely singular (or singular continuous) on a set
$s \subseteq \mathbb{R}$ if it is continuous on $s$ and its derivative within $s$ equals zero
almost everywhere on $s$ with respect to Lebesgue measure.
-/
def IsPurelySingularOn (f : ℝ → ℝ) (s : Set ℝ) : Prop :=
  ContinuousOn f s ∧ ∀ᵐ x ∂(volume.restrict s), derivWithin f s x = 0

/--
Schoenberg [Sch38] proved that the asymptotic distribution function of $\varphi(n)/n$ exists.
That is, for any $c \in [0, 1]$, the proportion of integers $n \le N$ satisfying $\varphi(n)/n < c$
approaches a limit as $N \to \infty$. This limit function is the cumulative distribution function
of the values of $\varphi(n)/n$.
-/
@[category research solved, AMS 11]
theorem erdos_50_schoenberg : ∃ f : ℝ → ℝ, IsDistributionOfPhiRatio f := by
  sorry

/--
Erdős [Er95] proved that the distribution function of $\varphi(n)/n$ is purely singular on
$[0, 1]$: it is continuous there, but its derivative is zero almost everywhere on $[0, 1]$.
-/
@[category research solved, AMS 11]
theorem erdos_50_singular (f : ℝ → ℝ) (hf : IsDistributionOfPhiRatio f) :
    IsPurelySingularOn f (Icc 0 1) := by
  sorry

/--
Let $f$ be the asymptotic distribution function of $\varphi(n)/n$, so that for each $c \in [0,1]$,
$f(c)$ is the natural density of $\{n : \varphi(n) < cn\}$. Is it true that there is no $x$ such
that the derivative $f'(x)$ exists and is positive?
-/
@[category research open, question, AMS 11]
theorem erdos_50 : ∀ᵉ (f : ℝ → ℝ) (hf : IsDistributionOfPhiRatio f),
    ¬∃ x ∈ Icc (0 : ℝ) 1, ∃ y > 0, HasDerivWithinAt f y (Icc 0 1) x := by
  sorry

end Erdos50

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

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