is a -basis of the ideal of a form
OpenClassNumberFormula.BinaryQuadForm.formIdeal_basisalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
The ideal of a form of discriminant has as a -basis: the span is closed under multiplication by because the multiplication table of the model expresses and as integral combinations of and , and the pair is linearly independent since it is triangular relative to the integral basis. This basis is the bridge between the form side and the ideal side of the 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.formIdeal_basis (m : ℤ) [Fact (Irreducible (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))]
(f : BinaryQuadForm) (hf : f.disc = quadDisc m) :
∃ e : Module.Basis (Fin 2) ℤ (f.formIdeal m hf),
((e 0 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) : AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))) = (f.a : AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))) ∧ ((e 1 : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) : AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))) = f.beta 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.