Principal scaling does not change an ideal's form (negative discriminant)
OpenClassNumberFormula.BinaryQuadForm.ofIdealBasis_smul_principal_negalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
On the negative-discriminant track, scaling an ideal by a principal ideal does not change its form: every norm is multiplied by and the ideal norm by , and in the imaginary case, so the quotients defining the form are unchanged. This is the well-definedness of the form of an ideal 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.ofIdealBasis_smul_principal_neg (m : ℤ) [Fact (Irreducible (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))]
(hm : quadDisc m < 0)
{I : Ideal (𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))))} (hI : I ≠ 0) (e : Module.Basis (Fin 2) ℤ I)
(x : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) (hx : x ≠ 0)
(e' : Module.Basis (Fin 2) ℤ (Ideal.span {x} * I : Ideal (𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))))))
(he' : ∀ i, (e' i : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ)))) = x * (e i : 𝓞 (AdjoinRoot (Polynomial.X ^ 2 - Polynomial.C (m : ℚ))))) :
BinaryQuadForm.ofIdealBasis m e' = BinaryQuadForm.ofIdealBasis m e := 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.