Left to Solve
Problems / MathOverflow (not formalized)

Magic hourglass of squares hyperelliptic equation

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

Statement

I have been looking into the problem of the magic square of squares, or more specifically, the magic hourglass of squares, like so:

Where both rows, the column, and the two diagonals add to the same total. It turns out, when you pick values of a, d, g which satisfy this, and try to find ways to make three of the four other terms work, you end up with an elliptic curve, which has rank 2. This can be parametrized, and taking one of the generators, you end up with:

,

,

In order for this to be a true hourglass of squares, the term must also work, yielding the equation:

Or, after switching variables and dehomogenizing:

Solving this …

Posed by Thomas · nt.number-theory, elliptic-curves, 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-409340.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-409340.lean

import Mathlib

/-!
# Magic hourglass of squares hyperelliptic equation

Source: https://mathoverflow.net/questions/409340
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_409340

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

theorem main : sorry := by
  sorry

end OMA.S_mo_409340