Dirichlet class number formula, :
OpenClassNumberFormula.dirichlet_class_number_formula_negclass-number-formulanumber-theory
Let be a fundamental discriminant, let be the number of proper equivalence classes of positive definite binary quadratic forms of discriminant , let be , or according as , or , and let be the Dirichlet character modulo given by the Kronecker symbol . Then
This is Dirichlet's class number formula for imaginary quadratic discriminants (Dirichlet, 1839).
Formalization Note is the value at of Mathlib's DirichletCharacter.LFunction. The character is passed as a hypothesis ( agrees with the Kronecker symbol); a separate milestone shows that such a character exists, so the statement is not vacuous.
Preamble
import Mathlib import Definitions.Def_ClassNumberFormula_Kronecker import Definitions.Def_ClassNumberFormula_FormClassNumber open NumberField NumberField.InfinitePlace NumberField.Units Filter Topology Real
Formal statement
namespace ClassNumberFormula
theorem dirichlet_class_number_formula_neg (d : ℤ) (hd : IsFundamentalDiscriminant d)
(hneg : d < 0) [NeZero d.natAbs] (χ : DirichletCharacter ℂ d.natAbs)
(hχ : ∀ n : ℕ, χ n = (kroneckerSymbol d n : ℂ)) :
(formClassNumber d : ℂ) =
((formAutomorphCount d * Real.sqrt |(d : ℝ)| / (2 * π) : ℝ) : ℂ) * χ.LFunction 1 := by
sorry
end ClassNumberFormulaSource
Wikipedia, "Class number formula" (revision oldid=1366411311), https://en.wikipedia.org/w/index.php?title=Class_number_formula&oldid=1366411311, section "Dirichlet class number formula", displayed formula for , case ; H. Davenport, Multiplicative Number Theory, 3rd ed., GTM 74, Springer 2000, Ch. 6 (pp. 43–53)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.