Full ring positive integer square
ProvedD1Bound5.full_ring_positive_integer_squarediophantine-tuplesnumber-theory
A positive rational integer square in the full number ring is an ordinary integer square, uniformly over all imaginary quadratic fields.
Preamble
import Mathlib.Algebra.Polynomial.Monic import Mathlib.Algebra.QuadraticAlgebra.Basic import Mathlib.Algebra.Ring.Basic import Mathlib.Algebra.Ring.Equiv import Mathlib.Algebra.Squarefree.Basic import Mathlib.Analysis.Complex.Norm import Mathlib.Data.Finset.Card import Mathlib.Data.Int.GCD import Mathlib.Data.Int.Sqrt import Mathlib.LinearAlgebra.Dimension.Free import Mathlib.NumberTheory.NumberField.InfinitePlace.TotallyRealComplex import Mathlib.NumberTheory.NumberField.Norm import Mathlib.Tactic.Linarith import Mathlib.Tactic.LinearCombination
Formal statement
section
open scoped NumberField
open Module
namespace D1Bound5
theorem _root_.D1Bound5.full_ring_positive_integer_square {K : Type*} [Field K]
[NumberField K] [NumberField.IsTotallyComplex K]
(hK : finrank ℚ K = 2) {m : ℤ} (hm : 0 < m)
(hs : ∃ r : 𝓞 K, r*r = (m : 𝓞 K)) :
∃ n : ℤ, m = n^2 := by sorry
end D1Bound5
end
Source
D1Bound5/FullRingRationalSquares.lean, lines 19-27, SHA-256 5e6a9ffe5db3306b6d3f7e27d41771f8b8cc8d19bc56609362cb3ac1f5ebd2ab. Project: https://github.com/tomislav-math/d1-bound5-lean