Fundamental discriminants #
A fundamental discriminant is an integer D ≡ 0, 1 mod 4 that is primitive, i.e. not a proper
square multiple of a smaller discriminant. These are exactly the discriminants of quadratic fields.
The definition and the results below are elementary arithmetic on ℤ, so this file is kept
independent of the theory of quadratic fields.
Main definitions #
Int.IsFundamentalDiscr:Dis a fundamental discriminant.
Main results #
Int.isFundamentalDiscr_iff_squarefree: the concrete squarefree characterization,D ≡ 1 mod 4squarefree orD = 4mwithmsquarefree andm ≡ 2, 3 mod 4.Int.isFundamentalDiscr_four_mul_add_one:4m + 1is a fundamental discriminant if and only if it is squarefree.Int.isFundamentalDiscr_four_mul:4mis a fundamental discriminant if and only ifmis squarefree andm ≡ 2, 3 mod 4.Int.isFundamentalDiscr_iff_forall_prime: the characterization uniform in the primep, where the clause singling outp = 2in the definition disappears.
D is a fundamental discriminant: it is a discriminant (D ≡ 0, 1 mod 4) and primitive,
i.e. D / 4 ≢ 0, 1 mod 4 when 4 ∣ D, and no odd prime square divides D.
Equations
Instances For
D is a fundamental discriminant if and only if either D ≡ 1 mod 4 and D is squarefree,
or D = 4 * d with d squarefree and d ≡ 2, 3 mod 4.
Prime-by-prime characterisation of fundamental discriminants, uniform in p. Unlike the
definition, which singles out p = 2, the second clause is the same for every prime.