Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

There is no Diophantine quintuple

Open
no_diophantine_quintuple

by xuanji · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

diophantine-equationsnumber-theory

A Diophantine mmm-tuple is a set of mmm distinct positive integers such that the product of any two different elements, increased by one, is a perfect square. There is no Diophantine quintuple: there do not exist five distinct positive integers a1,…,a5a_1,\ldots,a_5a1​,…,a5​ satisfying

aiaj+1 is a perfect square for every 1≤i<j≤5.a_i a_j+1\text{ is a perfect square for every }1\le i<j\le5.ai​aj​+1 is a perfect square for every 1≤i<j≤5.

This is Theorem 1 of Bo He, Alain Togbé, and Volker Ziegler, There is no Diophantine quintuple. It settles the Diophantine quintuple conjecture. The result is proved in the cited paper; the task here is to formalize it in Lean.

Preamble
import Init
set_option autoImplicit false
Formal statement
theorem no_diophantine_quintuple :
    ¬ ∃ a : Fin 5 → Nat,
      (∀ i, 0 < a i) ∧
      (∀ i j, i ≠ j → a i ≠ a j) ∧
      (∀ i j, i ≠ j → ∃ r : Nat, a i * a j + 1 = r ^ 2) := by sorry
Source
Bo He, Alain Togbé, and Volker Ziegler, There is no Diophantine quintuple, arXiv:1610.04020v2 (26 March 2018), Section 1, Theorem 1. https://arxiv.org/abs/1610.04020v2
Human review
  • Endorsed by marwahaha · Sep 7, 2026

  • Endorsed by xuanji · Sep 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me