Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Carmichael's totient function conjecture

Source:Wikipedia lists of open problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Carmichael's totient function conjecture: For every positive natural number nn, there exists a natural number mm with m≠nm ≠ n, such that φ(n)=φ(m)φ(n) = φ(m).

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07723 [math.NT] · NS.07723v1 for this version
Declaration:CarmichaelTotient.charmichaelTotient
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:d821ac4fd6dd735edd31a0d020161b9ab795a843043905c50ff765b6f430160b
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/CarmichaelTotient.lean

Formal statement

theorem charmichaelTotient :
    ∀ ⦃n : ℕ⦄, 0 < n → CarmichaelTotientFor n
Show the full Challenge.lean (71 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Carmichael's totient function conjecture

For every positive natural number $n$, there exists a natural number $m$ with $m ≠ n$, such that
$φ(n) = φ(m)$ where $φ$ is the Euler totient function.

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Carmichael%27s_totient_function_conjecture)
- [F1998] Kevin Ford. The distribution of totients. https://arxiv.org/abs/1104.3264
-/

@[expose] public section

universe u v

open Nat

namespace CarmichaelTotient

/-- Natural number $n$ for which there exists a $m ≠ n$ with $φ(m) = φ(n)$ -/
def CarmichaelTotientFor (n : ℕ) : Prop := ∃ m : ℕ, m ≠ n ∧ φ m = φ n

/-- $n = 0 ↔ φ(n) = 0$ -/
@[category test, AMS 11]
theorem carchimichealTotientFor_zero : ¬ CarmichaelTotientFor 0 := by
  simp [CarmichaelTotientFor]

-- TODO: Version of this ↓ lemma to mathlib?

/-- For every odd number $n$, $φ(2n) = φ(n)$ -/
@[category textbook, AMS 11]
theorem carmichealTotientFor_odd {n : ℕ} (hn : Odd n) : CarmichaelTotientFor n := by
  use 2 * n
  refine ⟨(Nat.ne_of_lt (lt_two_mul_self (Odd.pos hn))).symm, ?_⟩
  rw [totient_mul (coprime_two_left.mpr hn), totient_two, one_mul]

/-- *Carmichael's totient function conjecture*: For every positive natural number $n$,
there exists a natural number $m$ with $m ≠ n$, such that $φ(n) = φ(m)$. -/
@[category research open, AMS 11]
theorem charmichaelTotient :
    ∀ ⦃n : ℕ⦄, 0 < n → CarmichaelTotientFor n := by
  sorry

/-- In Theorem 6 in [F1998], Kevin Ford proves that the smallest counterexample to
Carmichael's totient function conjecture must be $≥ 10 ^ (10 ^ 10)$ -/
@[category research solved, AMS 11]
theorem carchimaelTotient_bound {n : ℕ} (hn : 0 < n) (hn' : n < 10 ^ (10 ^ 10)) :
    CarmichaelTotientFor n := by
  sorry

end CarmichaelTotient

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

nosorry desk wikipedia-carmichaeltotient      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-carmichaeltotient
nosorry submit wikipedia-carmichaeltotient nosorry/wikipedia-carmichaeltotient/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.