Dirichlet: form class number equals class number (negative discriminant)
OpenClassNumberFormula.formClassNumber_eq_classNumber_negalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
For a fundamental discriminant and the quadratic number field of discriminant , the number of proper equivalence classes of binary quadratic forms of discriminant equals the ideal class number of :
This is the algebraic half of Dirichlet's class number formula for imaginary quadratic fields: combined with the residue formula for it gives in terms of . The proof passes through the model for the squarefree kernel of , where forms and ideal classes are in explicit bijection, and transports along the isomorphism between and the model that the discriminant determines.
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 formClassNumber_eq_classNumber_neg (d : ℤ) (hd : IsFundamentalDiscriminant d)
(hneg : d < 0) (K : Type*) [Field K] [NumberField K]
(hK : Module.finrank ℚ K = 2) (hdK : discr K = d) :
formClassNumber d = NumberField.classNumber K := 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.