Substitution of forms is a right action of
ProvedClassNumberFormula.BinaryQuadForm.comp_mulalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
Substituting first by and then by is the same as
substituting by the product : the substitution operation comp
is a right action of on binary quadratic forms. Together with
the identity law this gives symmetry and transitivity of proper equivalence.
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.comp_mul (f : BinaryQuadForm)
(γ δ : Matrix.SpecialLinearGroup (Fin 2) ℤ) : (f.comp γ).comp δ = f.comp (γ * δ) := 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.