The discriminant of a form is invariant under substitution
ProvedClassNumberFormula.BinaryQuadForm.disc_compalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
Substituting variables by a determinant- matrix does not change the discriminant of a binary quadratic form: in general , and .
This is what makes the discriminant — and hence the set of forms of a fixed discriminant — an invariant of a proper equivalence class.
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.disc_comp (f : BinaryQuadForm)
(γ : Matrix.SpecialLinearGroup (Fin 2) ℤ) : (f.comp γ).disc = f.disc := 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.