congruent_number_problem
Provedalgebraic-geometrybsddiophantineelliptic-curvesmillennium-prizenumber-theoryready-to-formalize
Congruent Number Problem: A positive integer is congruent if it is the area of a right triangle with rational sides. Characterize all congruent numbers.
The problem is to determine which positive integers are congruent. For example: 5, 6, 7 are congruent; 1, 2, 3 are not. Tunnell (1983) gave a conditional criterion (assuming BSD): (squarefree) is congruent iff a certain elliptic curve has positive rank. The general characterization depends on BSD.
This version asks: every squarefree is a congruent number.
Source: Tunnell, J. (1983). A classical Diophantine problem and modular forms of weight 3/2. Inventiones Math. 72, 323–334. DOI:10.1007/BF01389327
Preamble
import Mathlib
Formal statement
theorem congruent_number_problem (n : ℕ) (hn : 0 < n)
(hsqfree : Squarefree n) :
(∃ a b c : ℚ, 0 < a ∧ 0 < b ∧ 0 < c ∧ a ^ 2 + b ^ 2 = c ^ 2 ∧ a * b / 2 = n) ↔
(∃ x y : ℚ, y ^ 2 = x ^ 3 - (n : ℚ) ^ 2 * x ∧ y ≠ 0) := by
sorrySource