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 674

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:

Are there any integer solutions to xxyy=zzx^xy^y=z^z with x,y,z>1x,y,z>1?

Ko [Ko40] proved there are none if (x,y)=1(x,y)=1, but there are in fact infinitely many solutions in general - for example, x=21236x=2^{12}3^6, y=2838y = 2^83^8, and z=21137z = 2^{11}3^7.

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

Formal statement

theorem erdos_674 : solutionSet.Nonempty
Show the full Challenge.lean (57 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 674

*References:*
- [erdosproblems.com/674](https://www.erdosproblems.com/674)
- [Ko40] Ko, Chao, *Note on the Diophantine equation $x^xy^y=z^z$*. J. Chinese Math. Soc.
  (1940), 31-39.
-/

@[expose] public section

namespace Erdos674

/-- The set of integer solutions to $x^x y^y = z^z$ with $x, y, z > 1$. -/
def solutionSet : Set (ℕ × ℕ × ℕ) :=
  {(x, y, z) | 1 < x ∧ 1 < y ∧ 1 < z ∧ x ^ x * y ^ y = z ^ z}

set_option linter.style.formal_proof_palomar false in
/--
Are there any integer solutions to $x^xy^y=z^z$ with $x,y,z>1$?

Ko [Ko40] proved there are none if $(x,y)=1$, but there are in fact infinitely many solutions in
general - for example, $x=2^{12}3^6$, $y = 2^83^8$, and $z = 2^{11}3^7$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos674.lean"]
theorem erdos_674 : solutionSet.Nonempty := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
There are in fact infinitely many integer solutions to $x^xy^y=z^z$ with $x,y,z>1$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos674.lean"]
theorem erdos_674.variants.infinite : solutionSet.Infinite := by
  sorry

end Erdos674

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

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