Left to Solve
Problems / MathOverflow (not formalized)

Prove a parametrization function is surjective

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

As a starting note, I would like to say that I haven't (yet) taken courses in Set Theory, so some higher-level notation may be lost on me (and I may not write everything conventionally), but I'll do my best.

My question is as follows: I have sets of numbers which satisfy a particular Diophantine equation. Take, for example, the Pythagorean Quadruplets:

Wolfram Mathworld gives the following (unscaled) parametrization for this equation:

However, this set of equations is not surjective, as it's missing the solution 362 + 82 + 32 = 372

Wikipedia offers the following (unscaled) solution:

This solves the above identity ({a,b,c,d} = {3,36,8,37}) with {m,n,p,q} = {2,4,-1,4}. This solution also happens to be surjective.

Here's the question: Given a Diophantine equation (e.g. Pythagorean Quadruplets), and a particular parametrization for this equation (e.g. Wikipedia's solution), how do you prove that the parametrization is surjective? That is, how do you prove that every set of integers that …

Posed by Gabriel Benamy · nt.number-theory, diophantine-equations

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-65799.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-65799.lean

import Mathlib

/-!
# Prove a parametrization function is surjective

Source: https://mathoverflow.net/questions/65799
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_65799

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_65799