Title:Erdős Problem 694 · variants.inf_unique
Statement:Erdős has proved that if there exists an integer for which has exactly one solution, then there must be infinitely many such .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.02893 [math.NT] · NS.02893v1 for this version |
| Declaration: | Erdos694.erdos_694.variants.inf_unique |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | 064c81ee13f0cdac8a42d4e184dbdf44131d9b9a51491ca76f365b98a5f6e3b9 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/694.lean |
Formal statement
theorem erdos_694.variants.inf_unique (h : ∃ n > 0, ∃! m, Nat.totient m = n) :
{ n | ∃! m, Nat.totient m = n }.InfiniteShow the full Challenge.lean (82 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 694
*Reference:* [erdosproblems.com/694](https://www.erdosproblems.com/694)
-/
@[expose] public section
namespace Erdos694
open Filter Topology Real
/--
Let $f_\max(n)$ be the largest $m$ such that $\phi(m) = n$, and
$f_\min(n)$ be the smallest such $m$, where $\phi$ is Euler's
totient function. Investigate
$$
\max_{n\leq x}\frac{f_\max(n)}{f_\min(n)}.
$$
GPT-5.5 Pro (prompted by Price) has proved (see also the comments for a summary) that
$$
\max_{n\leq x}\frac{f_{\max}(n)}{f_{\min}(n)}=(e^\gamma+o(1))\log\log x.
$$
A Lean formalisation of the reduction exists, conditional on Mertens' product theorem and
Linnik's theorem; see the
[formal proof](https://github.com/Shashi456/erdos-formalizations/blob/main/Erdos/P694/Proof.lean).
The extrema are only required on nonempty fibres of the totient (values such as $3$ have no
preimage), and the identity is asked for sufficiently large $x$: at $x = 1$ the maximum is
$f_\max(1) / f_\min(1) = 2$ while $\log \log 1 = 0$.
-/
@[category research solved, AMS 11]
theorem erdos_694 : ∀ᵉ (fmax : ℕ → ℕ) (fmin : ℕ → ℕ),
(∀ n, (∃ m, Nat.totient m = n) → IsGreatest (Nat.totient ⁻¹' {n}) (fmax n)) →
(∀ n, (∃ m, Nat.totient m = n) → IsLeast (Nat.totient ⁻¹' {n}) (fmin n)) →
∃ o : ℕ → ℝ, Tendsto o atTop (𝓝 0) ∧
∀ᶠ x : ℕ in atTop,
sSup { (fmax n : ℝ) / fmin n | (n : ℕ) (_ : n ≤ x) (_ : ∃ m, Nat.totient m = n) } =
(exp eulerMascheroniConstant + o x) * log (log (x : ℝ)) := by
sorry
/--
Carmichael has asked whether there is an integer $n$ for which $\phi(m) = n$ has
exactly one solution, that is $\frac{f_\max(n)}{f_\min(n)} = 1$.
-/
@[category research open, question, AMS 11]
theorem erdos_694.variants.carmichael :
∃ n > 0, ∃! m, Nat.totient m = n := by
sorry
/--
Erdős has proved that if there exists an integer $n$ for which $\phi(m) = n$ has
exactly one solution, then there must be infinitely many such $n$.
-/
@[category research solved, AMS 11]
theorem erdos_694.variants.inf_unique (h : ∃ n > 0, ∃! m, Nat.totient m = n) :
{ n | ∃! m, Nat.totient m = n }.Infinite := by
sorry
end Erdos694
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos694.erdos_694.variants.inf_unique with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_inf_unique : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-694--erdos-694-variants-inf-unique # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-694--erdos-694-variants-inf-unique nosorry submit erdos-694--erdos-694-variants-inf-unique nosorry/erdos-694--erdos-694-variants-inf-unique/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.