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 1004 · variants.le_of_isDistinctTotientRun

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

Erdős, Pomerance, and Sárközy [EPS87] proved that if φ(n+k) are all distinct for 1 ≤ k ≤ K then K ≤ n / exp(c (log n)^{1/3}) for some constant c > 0. Here we state the existence of such a constant c.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.00352 [math.NT] · NS.00352v1 for this version
Declaration:Erdos1004.erdos_1004.variants.le_of_isDistinctTotientRun
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:bc692b1a12fdd331926fc43c7bc79cfe9509175872cbbd7c4cd1e2d710a65548
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1004.lean

Formal statement

theorem erdos_1004.variants.le_of_isDistinctTotientRun :
    ∃ (c : ℝ) (hc : c > 0),
      ∀ᶠ n in atTop, ∀ (K : ℕ), IsDistinctTotientRun n K →
        (K : ℝ) ≤ (n : ℝ) / Real.exp (c * (Real.log n) ^ (1/3 : ℝ))
Show the full Challenge.lean (60 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1004

*Reference:* [erdosproblems.com/1004](https://www.erdosproblems.com/1004)
-/

@[expose] public section

open Filter Real Nat

namespace Erdos1004

/-- `IsDistinctTotientRun n K` means that the values `φ(n+1), φ(n+2), ..., φ(n+K)` are all distinct. -/
def IsDistinctTotientRun (n K : ℕ) : Prop :=
  (Set.Icc (n + 1) (n + K)).InjOn totient

/--
For any fixed c > 0, if x is sufficiently large then there exists n ≤ x such that
the values of φ(n+k) are all distinct for 1 ≤ k ≤ (log x)^c.
This is an open problem.
-/
@[category research open, question, AMS 11]
theorem erdos_1004 :
    ∀ c > (0 : ℝ), ∀ᶠ x in atTop, ∃ n ≤ x,
      IsDistinctTotientRun n ⌊(Real.log (x : ℝ)) ^ c⌋₊ := by
  sorry

/--
Erdős, Pomerance, and Sárközy [EPS87] proved that if φ(n+k) are all distinct for 1 ≤ k ≤ K then
K ≤ n / exp(c (log n)^{1/3}) for some constant c > 0.
Here we state the existence of such a constant c.
-/
@[category research solved, question, AMS 11]
theorem erdos_1004.variants.le_of_isDistinctTotientRun :
    ∃ (c : ℝ) (hc : c > 0),
      ∀ᶠ n in atTop, ∀ (K : ℕ), IsDistinctTotientRun n K →
        (K : ℝ) ≤ (n : ℝ) / Real.exp (c * (Real.log n) ^ (1/3 : ℝ)) := by
  sorry

end Erdos1004

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

nosorry desk erdos-1004--erdos-1004-variants-le-of-isdistincttotientrun      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-1004--erdos-1004-variants-le-of-isdistincttotientrun
nosorry submit erdos-1004--erdos-1004-variants-le-of-isdistincttotientrun nosorry/erdos-1004--erdos-1004-variants-le-of-isdistincttotientrun/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.