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 821

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:on aiXiv: claimed solved — Claimed proved in aiXiv:2610.00565 (2026-10-06); no independent check recorded on aiXiv. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves For every ε>0\varepsilon>0 there are infinitely many nn with #{m:φ(m)=n}>n1−ε\#\{m:\varphi(m)=n\}>n^{1-\varepsilon}; equivalently the largest-fiber exponent of Euler's totient function is C=1C=1, which is optimal. — aiXiv:2610.00565, 2026-10-06 · 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:

Is it true that, for every ϵ>0\epsilon>0, there exist infinitely many nn such that g(n)>n1−ϵg(n) > n^{1-\epsilon}?

This was proved in [OpenAI26]; see the linked formal proof for more explanations.

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

Formal statement

theorem erdos_821 :
    ∀ ε > (0 : ℝ), { n : ℕ | (g n : ℝ) > (n : ℝ) ^ (1 - ε) }.Infinite
Show the full Challenge.lean (94 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 821

*References:*
- [erdosproblems.com/821](https://www.erdosproblems.com/821)
- [BaHa98] Baker, R. C. and Harman, G., Shifted primes without large prime factors. Acta Arith.
  (1998), 331--361.
- [Er35b] Erdős, P., On the normal number of prime factors of $p-1$ and some related problems
  concerning Euler's $\varphi$-function. Quart. J. Math. (1935), 205-213.
- [Er74b] Erdős, P., Remarks on some problems in number theory. Math. Balkanica (1974), 197-202.
- [Li22] J. D. Lichtman, Primes in arithmetic progressions to large moduli and shifted primes
  without large prime factors. arXiv:2211.09641 (2022).
- [LuPo11] Luca, Florian and Pollack, Paul, An arithmetic function arising from {C}armichael's
  conjecture. J. Théor. Nombres Bordeaux (2011), 697--714.
- [OpenAI26] OpenAI, *Weighted dilation graphs, smooth shifted primes and totient fibers*.
  OpenAI Math Release preprint (September 2026).
  [github.com/openai/math](https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Weighted-Dilation-Graphs-Smooth-Shifted-Primes-and-Totient-Fibers-September-24-2026/paper.pdf)
-/

@[expose] public section

open Nat Filter

namespace Erdos821

/--
Let $g(n)$ count the number of $m$ such that $\phi(m)=n$.
-/
noncomputable def g (n : ℕ) : ℕ :=
  { m : ℕ | totient m = n }.ncard

set_option linter.style.formal_proof_palomar false in
/--
Is it true that, for every $\epsilon>0$, there exist infinitely many $n$ such that
$g(n) > n^{1-\epsilon}$?

This was proved in [OpenAI26]; see the linked formal proof for more explanations.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at "https://github.com/cadamcat/totient-fibers-lean4/blob/dfce35707a67fce7362cb2bd95af8b80a0b0373e/Erdos821/Theorem.lean#L18"]
theorem erdos_821 :
    ∀ ε > (0 : ℝ), { n : ℕ | (g n : ℝ) > (n : ℝ) ^ (1 - ε) }.Infinite := by
  sorry

/--
Pillai proved that $\limsup g(n)=\infty$.
-/
@[category research solved, AMS 11]
theorem erdos_821.variants.pillai :
    atTop.limsup (fun n : ℕ ↦ (g n : EReal)) = ⊤ := by
  sorry

/--
Erdős [Er35b] proved that there exists some constant $c>0$ such that $g(n) > n^c$ for infinitely
many $n$.
-/
@[category research solved, AMS 11]
theorem erdos_821.variants.erdos :
    ∃ c > (0 : ℝ), { n : ℕ | (n : ℝ) ^ c < (g n : ℝ) }.Infinite := by
  sorry

/--
The best known bound is that there are infinitely many $n$ such that $g(n) > n^{0.71568\cdots}$,
obtained by Lichtman [Li22] as a consequence of proving that there are
$\geq \frac{x}{(\log x)^{O(1)}}$ many primes $p\leq x$ such that all prime factors of $p-1$ are
$\leq x^{0.2843\cdots}$ (which improves a number of previous exponents, most recently Baker and
Harman [BaHa98]).
-/
@[category research solved, AMS 11]
theorem erdos_821.variants.lichtman :
    ∃ c > (0.71568 : ℝ), { n : ℕ | (n : ℝ) ^ c < (g n : ℝ) }.Infinite := by
  sorry

end Erdos821

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

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