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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Congruent Number · Tunnell_odd_converse

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
Variant of:Congruent Number
Statement:

Tunnell's theorem (sufficient condition assuming BSD) for odd squarefree congruent numbers.

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

Formal statement

theorem Tunnell_odd_converse (n : ℕ) (hsqf : Squarefree n) (hodd : Odd n) :
    2 * (A n).ncard = (B n).ncard → congruentNumber n
Show the full Challenge.lean (129 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Congruent Number

A natural number $n$ is called a congruent number if there exists a right triangle with rational
sides $a$, $b$, and hypotenuse $c$ such that the area of the triangle is $\frac{1}{2}ab = n$.

*References:*
- [Wikipedia (Congruent number)](https://en.wikipedia.org/wiki/Congruent_number)
- [Wikipedia (Tunnell's theorem)](https://en.wikipedia.org/wiki/Tunnell%27s_theorem)
- [Keith Conrad's note](https://kconrad.math.uconn.edu/blurbs/ugradnumthy/congnumber.pdf)
-/

@[expose] public section

namespace CongruentNumber

def congruentNumber (n : ℕ) : Prop :=
  ∃ (a b c : ℚ), a ^ 2 + b ^ 2 = c ^ 2 ∧ n = (2⁻¹ : ℚ) * a * b

/-- 1 is not a congruent number, as proved by Fermat via infinite descent. -/
@[category textbook, AMS 11]
theorem not_congruentNumber_1 : ¬ congruentNumber 1 := by
  sorry

/--
The rational right triangle with side lengths $\frac{3}{2}$, $\frac{20}{3}$, and
$\frac{41}{6}$ witnesses that $5$ is a congruent number.
-/
@[category test, AMS 11]
theorem congruentNumber_5 : congruentNumber 5 := by
  use 3 / 2, 20 / 3, 41 / 6
  norm_num

/--
The $3$-$4$-$5$ right triangle witnesses that $6$ is a congruent number.
-/
@[category test, AMS 11]
theorem congruentNumber_6 : congruentNumber 6 := by
  use 3, 4, 5
  norm_num

/--
The rational right triangle with side lengths $\frac{35}{12}$, $\frac{24}{5}$, and
$\frac{337}{60}$ witnesses that $7$ is a congruent number.
-/
@[category test, AMS 11]
theorem congruentNumber_7 : congruentNumber 7 := by
  use 35 / 12, 24 / 5, 337 / 60
  norm_num

/--
Zagier's rational right triangle witnesses that $157$ is a congruent number.
-/
@[category test, AMS 11]
theorem congruentNumber_157_zagier : congruentNumber 157 := by
  use 411340519227716149383203 / 21666555693714761309610,
    6803298487826435051217540 / 411340519227716149383203,
    224403517704336969924557513090674863160948472041 /
      8912332268928859588025535178967163570016480830
  norm_num
/-
Tunnell's theorem:
Let $A_n$, $B_n$, $C_n$, and $D_n$ be the sets defined as follows:
- $A_n = \{(x, y, z) \in \mathbb{Z}^3 : n = 2x^2 + y^2 + 32z^2\}$
- $B_n = \{(x, y, z) \in \mathbb{Z}^3 : n = 2x^2 + y^2 + 8z^2\}$
- $C_n = \{(x, y, z) \in \mathbb{Z}^3 : n = 8x^2 + 2y^2 + 64z^2\}$
- $D_n = \{(x, y, z) \in \mathbb{Z}^3 : n = 8x^2 + 2y^2 + 16z^2\}$

If $n$ is a squarefree congruent number, then:
- If $n$ is odd, then $2 |A_n| = |B_n|$.
- If $n$ is even, then $2 |C_n| = |D_n|$.

Converse is true under the BSD conjecture.
-/

def A (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 2 * x ^ 2 + y ^ 2 + 32 * z ^ 2}
def B (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 2 * x ^ 2 + y ^ 2 + 8 * z ^ 2}
def C (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 8 * x ^ 2 + 2 * y ^ 2 + 64 * z ^ 2}
def D (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 8 * x ^ 2 + 2 * y ^ 2 + 16 * z ^ 2}

/-  Tunnell's theorem. -/

/-- Tunnell's theorem (necessary condition) for odd squarefree congruent numbers. -/
@[category research solved, AMS 11]
theorem Tunnell_odd (n : ℕ) (hsqf : Squarefree n) (hodd : Odd n) :
    congruentNumber n → 2 * (A n).ncard = (B n).ncard := by
  sorry

/-- Tunnell's theorem (necessary condition) for even squarefree congruent numbers. -/
@[category research solved, AMS 11]
theorem Tunnell_even (n : ℕ) (hsqf : Squarefree n) (heven : Even n) :
    congruentNumber n → 2 * (C n).ncard = (D n).ncard := by
  sorry

/-  Converse of Tunnell's theorem. -/

/-- Tunnell's theorem (sufficient condition assuming BSD) for odd squarefree congruent numbers. -/
@[category research open, AMS 11]
theorem Tunnell_odd_converse (n : ℕ) (hsqf : Squarefree n) (hodd : Odd n) :
    2 * (A n).ncard = (B n).ncard → congruentNumber n := by
  sorry

/-- Tunnell's theorem (sufficient condition assuming BSD) for even squarefree congruent numbers. -/
@[category research open, AMS 11]
theorem Tunnell_even_converse (n : ℕ) (hsqf : Squarefree n) (heven : Even n) :
    2 * (C n).ncard = (D n).ncard → congruentNumber n := by
  sorry

end CongruentNumber

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

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