For negative discriminant and , also
ProvedClassNumberFormula.BinaryQuadForm.c_pos_of_disc_negalgebraic-number-theorynumber-fieldsnumber-theoryquadratic-forms
If a binary quadratic form has negative discriminant and positive leading coefficient, its last coefficient is positive too: . This is the positive-definiteness of forms of negative discriminant, in coefficient form.
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.c_pos_of_disc_neg (f : BinaryQuadForm) {d : ℤ} (hf : f.disc = d)
(hd : d < 0) (ha : 0 < f.a) : 0 < f.c := 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.