An integral element in squarefree quadratic coordinates has half-integer coordinates satisfying the norm congruence modulo four.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
universe u
namespace ClassFieldTower.Sawintheorem exists_int_quadratic_coordinates_of_isIntegral
(L : Type u) [Field L] [Algebra ℚ L] [Algebra.IsQuadraticExtension ℚ L]
(d : ℤ) (hd : Squarefree d.natAbs) (a b : ℚ) (α : L)
(hSquare : α ^ 2 = algebraMap ℚ L (d : ℚ))
(hGenerate : IntermediateField.adjoin ℚ ({α} : Set L) = ⊤)
(hx : IsIntegral ℤ (algebraMap ℚ L a + algebraMap ℚ L b * α)) :
∃ m n : ℤ, 2 * a = (m : ℚ) ∧ 2 * b = (n : ℚ) ∧ 4 ∣ m ^ 2 - d * n ^ 2