The coefficients of the form of an ideal basis are honest integers
ProvedClassNumberFormula.BinaryQuadForm.ofIdealBasis_coeffsalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
For a -basis of an ideal , the ideal norm divides the norms of the basis vectors and their sum — since divides the norm of every element of . These are exactly the divisibilities that make the three coefficients of the form of an ideal basis integers rather than formal integer divisions.
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.ofIdealBasis_coeffs (m : ℤ) [Fact (Irreducible (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))]
(b : Module.Basis (Fin 2) ℤ (𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))))
{I : Ideal (𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))))} (e : Module.Basis (Fin 2) ℤ I) :
(I.absNorm : ℤ) ∣ Algebra.norm ℤ (e 0 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) ∧
(I.absNorm : ℤ) ∣ Algebra.norm ℤ ((e 0 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) + (e 1 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))))
- Algebra.norm ℤ (e 0 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) - Algebra.norm ℤ (e 1 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) ∧
(I.absNorm : ℤ) ∣ Algebra.norm ℤ (e 1 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) := 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.