The norm form of the ideal of a form recovers the form
ProvedClassNumberFormula.BinaryQuadForm.norm_formIdealalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
For integers , the norm of in is , where is the form and : expanding with and gives . So the norm form of the ideal , in its basis , is times the form itself — the identity at the heart of the forms–classes correspondence.
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 BinaryQuadForm.norm_formIdeal (m : ℤ) [Fact (Irreducible (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))]
(f : BinaryQuadForm) (hf : f.disc = quadDisc m) (x y : ℤ) :
Algebra.norm ℤ (x • (f.a : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) + y • f.betaSub m hf) =
f.a * f.eval x y := 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.