Proper equivalence of binary quadratic forms is an equivalence relation
ProvedClassNumberFormula.BinaryQuadForm.properlyEquivalent_equivalencealgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
Proper equivalence of integral binary quadratic forms — being carried to one another by a determinant- substitution — is an equivalence relation: reflexivity is the identity substitution, symmetry uses the inverse matrix, and transitivity uses the product of matrices. This is the relation whose classes the form class number counts.
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.properlyEquivalent_equivalence :
Equivalence BinaryQuadForm.ProperlyEquivalent := 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.