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 1214

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:

Let x,y≥1x,y\geq 1 be integers such that, for all n≥1n\geq 1, the set of primes dividing xn−1x^{n}-1 is equal to the set of primes dividing yn−1y^n-1. Must x=yx=y?

Erdős asked this at a 1988 number theory conference in Banff.

A positive answer was given by Corrales-Rodrigáñez and Schoof [CoSc97].

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

Formal statement

theorem erdos_1214 :
    ∀ x y : ℕ, x ≥ 1 → y ≥ 1 →
      (∀ n : ℕ, n ≥ 1 → { p : ℕ | p.Prime ∧ p ∣ x ^ n - 1 } = { p : ℕ | p.Prime ∧ p ∣ y ^ n - 1 }) →
      x = y
Show the full Challenge.lean (51 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1214

*References:*
- [erdosproblems.com/1214](https://www.erdosproblems.com/1214)
- [CoSc97] Corrales-Rodrigáñez, Capi and Schoof, René, The support problem and its
  elliptic analogue. J. Number Theory (1997) [Volume 64, Issue 2], 276--290.
-/

@[expose] public section

namespace Erdos1214

set_option linter.style.formal_proof_palomar false in
/--
Let $x,y\geq 1$ be integers such that, for all $n\geq 1$, the set of primes dividing $x^{n}-1$ is
equal to the set of primes dividing $y^n-1$. Must $x=y$?

Erdős asked this at a 1988 number theory conference in Banff.

A positive answer was given by Corrales-Rodrigáñez and Schoof [CoSc97].
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1214.lean#L948"]
theorem erdos_1214 :
    ∀ x y : ℕ, x ≥ 1 → y ≥ 1 →
      (∀ n : ℕ, n ≥ 1 → { p : ℕ | p.Prime ∧ p ∣ x ^ n - 1 } = { p : ℕ | p.Prime ∧ p ∣ y ^ n - 1 }) →
      x = y := by
  sorry

end Erdos1214

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

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