Does this variant of a theorem of Hasse (really due to Gauss) have an "elementary" proof?
Statement
BACKGROUND
Here are 3 theorems of varying difficulty. Let be the subspace of spanned by , with the and odd, and . For in , let consist of the primes, , for which the coefficient of in is 1. Note that each in is congruent to mod 8.
T1.----- If , consists of the that are mod 8
T2.----- consists of the that are 7 mod 16
T3.----- If , then consists of the that are or mod 32.
To prove T1 when , we write as and use the fact that if is 3 mod 8, then is uniquely the sum of a square and twice a square. When we argue similarly using Fermat's two square theorem.
As I indicated in a comment on a recent MO question of Joel Bellaiche, "Primes and x^2+2y^2+4z^2" ,T2 follows from a result of Hasse on the class number of , using Gauss' theorem that the number of representations of as a sum of 3 squares is 12*(this class number). Hasse's proof is an application of the Gauss theory of genera and ambiguous forms.
T3 is thornier. Because is …
Posed by paul Monsky · nt.number-theory, quadratic-forms, modular-forms, power-series
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-106267.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-106267.lean
import Mathlib /-! # Does this variant of a theorem of Hasse (really due to Gauss) have an "elementary" proof? Source: https://mathoverflow.net/questions/106267 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_106267 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_106267