Quadratic fields: the ideal-counting function equals
ProvedClassNumberFormula.quadratic_ideal_count_eq_sum_chiclass-number-formulanumber-theory
Let be a quadratic number field, its discriminant, and the Dirichlet character modulo given by the Kronecker symbol. For every positive integer , the number of ideals of of absolute norm equals the Dirichlet convolution of the constant function with :
This is the coefficient form of the Euler-factor identity : both sides are multiplicative, and at a prime power the count of ideals of norm is , , or according as , , or (split, inert, or ramified), matching .
Formalization Note The left-hand side is the cardinality of the subtype of ideals with Ideal.absNorm I = n, coerced to so that it can be compared with the -series coefficients of .
Preamble
import Mathlib import Definitions.Def_ClassNumberFormula_Kronecker open NumberField NumberField.InfinitePlace NumberField.Units Filter Topology Real
Formal statement
namespace ClassNumberFormula
theorem quadratic_ideal_count_eq_sum_chi (K : Type*) [Field K] [NumberField K]
(hK : Module.finrank ℚ K = 2) [NeZero (discr K).natAbs]
(χ : DirichletCharacter ℂ (discr K).natAbs)
(hχ : ∀ n : ℕ, χ n = (kroneckerSymbol (discr K) n : ℂ))
{n : ℕ} (hn : n ≠ 0) :
(Nat.card {I : Ideal (𝓞 K) // Ideal.absNorm I = n} : ℂ) =
∑ d ∈ n.divisors, χ d := by sorry
end ClassNumberFormulaSource
Mission 'Class Number Formula' (cc969585), milestone b3130a32 quadratic_dedekindZeta_eq_zeta_mul_L; Davenport, Multiplicative Number Theory, Ch. 6; Wikipedia 'Class number formula' rev 1366411311; hexagon:2611.01108v1 Euler Transport for the Quadratic Dedekind Zeta Function