Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The squared norm of a Hurwitz integer is a natural number

Proved
HurwitzQ.normSq_nat

by jawneeboy · Sep 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebrahurwitz-integersnumber-theoryquaternions

Let H\mathcal{H}H be the Hurwitz subring of the rational quaternions: the four coordinates of an element are either all in Z\mathbb{Z}Z or all in Z+12\mathbb{Z}+\frac12Z+21​. Write N(a+bi+cj+dk)=a2+b2+c2+d2N(a+bi+cj+dk)=a^2+b^2+c^2+d^2N(a+bi+cj+dk)=a2+b2+c2+d2 for the squared norm. Let qqq be a rational quaternion.

q∈H  ⟹  ∃n∈N,N(q)=n.q\in\mathcal{H}\implies\exists n\in\mathbb{N},\quad N(q)=n.q∈H⟹∃n∈N,N(q)=n.

This supplies the natural-valued size function for arithmetic in the Hurwitz ring.

Preamble
import Definitions.Def_HurwitzQ_hurwitzIntegersQ
import Mathlib.Algebra.Quaternion
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring

open Quaternion QuaternionAlgebra HurwitzQ
Formal statement
theorem HurwitzQ.normSq_nat (q : ℍ[ℚ]) (hq : q ∈ hurwitzIntegersQ) : ∃ n : ℕ, normSq q = n := by sorry
Source
Standard definition: John H. Conway and Derek A. Smith, On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry, A K Peters, 2003, §5.1, The Hurwitz Integral Quaternions. https://www.routledge.com/On-Quaternions-and-Octonions/Conway-Smith/p/book/9781568811345 The displayed assertion is an elementary consequence of this definition; no numbered theorem attribution is claimed.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me