Quad Int eq int Cast of im eq zero
ProvedD1Bound5.quadInt_eq_intCast_of_im_eq_zerodiophantine-tuplesnumber-theory
An element with zero imaginary coordinate is its ordinary integer real coordinate. No sign or discriminant hypothesis is needed.
Preamble
import Mathlib.Algebra.QuadraticAlgebra.Basic import Mathlib.Data.Int.Sqrt import Mathlib.Tactic.Linarith import Definitions.Def_D1Bound5_Coordinates_Definitions
Formal statement
section
namespace D1Bound5
theorem _root_.D1Bound5.quadInt_eq_intCast_of_im_eq_zero {tau nu : ℤ}
(z : QuadInt tau nu) (him : z.im = 0) :
z = (z.re : QuadInt tau nu) := by sorry
end D1Bound5
end
Source
D1Bound5/PairNegativeIntegerObstruction.lean, lines 5-12, SHA-256 099be79d73801fcfb76bdc30024dc74b43ab6bdb2e935fcd75d8e115af902e02. Project: https://github.com/tomislav-math/d1-bound5-lean