Left to Solve
Problems / MathOverflow (not formalized)

A property of primes congruent to $7\pmod 8$ expressed as sums of four squares.

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

Statement

This question is motivated by question Enumerating representations of an integer as a sum of squares . Consider a prime number congruent to modulo . It can thus be written in exactly ways as a sum of squares of four strictly positive integers.

One way of trying to generate all solutions of with is to start with an arbitrary solution (obtained eg by crystal-ball gazing) , to fix one of the parameters, say , and to decompose differently as a sum of three squares, if possible.

This works seemingly always. Otherwise stated, associate to a prime a graph with vertices indexed by all different decompositions with $a,b,c,d\in \mathbb N(a,b,c,d),(a',b',c',d')$ if the intersection of and is non-empty. Is this graph is always connected? If yes, what is typically the diameter of this graph?

Posed by Roland Bacher · nt.number-theory

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-26916.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-26916.lean

import Mathlib

/-!
# A property of  primes  congruent to $7\pmod 8$ expressed as sums of four squares.

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_26916