The norm in coordinates:
ProvedClassNumberFormula.adjoinRoot_norm_coordalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
In the model , the norm of is . This coordinate formula feeds both the norm-form computation for ideals of forms and the positivity of norms in the imaginary case.
Preamble
import Mathlib import Definitions.Def_ClassNumberFormula_Kronecker import Definitions.Def_ClassNumberFormula_FormClassNumber import Definitions.Def_ClassNumberFormula_FormIdeal open NumberField NumberField.InfinitePlace
Formal statement
namespace ClassNumberFormula
theorem adjoinRoot_norm_coord (m : ℤ) [Fact (Irreducible (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))] (u v : ℚ) :
Algebra.norm ℚ ((u : AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))) + (v : AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))) * AdjoinRoot.root (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))) = u ^ 2 - m * v ^ 2 := by sorry
end ClassNumberFormulaSource
Gauss correspondence between binary quadratic forms and ideal classes of quadratic fields; see e.g. Cox, Primes of the Form x^2 + ny^2, Ch. 2-3, or Davenport, Multiplicative Number Theory, Ch. 6. Part of the Gap B (forms = classes) tree for Dirichlet's class number formula.