Documentation

TauCeti.NumberTheory.Multiquadratic.Legendre.EvenPrimeDiscriminant

Legendre symbols of even prime discriminants #

The genus-field layer of the multiquadratic roadmap normalizes the radicands of a quadratic discriminant to prime discriminants. The odd prime discriminants p* = (-1)^((p-1)/2) p are handled in TauCeti.NumberTheory.Multiquadratic.Legendre.PrimeDiscriminant.Basic, where the splitting symbol is governed by quadratic reciprocity. This file records the complementary even list -4, 8, -8 (radicands -1, 2, -2), whose splitting at an odd prime q is governed not by reciprocity but by the supplementary laws: the quadratic characters χ₄, χ₈, and χ₈' on q.

Concretely, for an odd prime q,

Since an even prime discriminant D is four times its radicand and 4 is a square, the Legendre symbol of D itself agrees with that of its radicand at every odd prime; this is what lets the genus field use the prime discriminant D as the splitting character.

Main results #

The Legendre symbol of an even prime-discriminant radicand at an odd prime q is the supplementary character attached to that discriminant: χ₄ q for -4 (radicand -1), χ₈ q for 8 (radicand 2), and χ₈' q for -8 (radicand -2).

An even prime discriminant D and its radicand D / 4 have the same Legendre symbol at every odd prime q: they differ by the square factor 4, which contributes a trivial symbol. This is the form used by the genus-field splitting law, where the prime discriminant D itself is the splitting character.

The radicand -1 of the prime discriminant -4 is a quadratic residue modulo an odd prime q exactly when q ≡ 1 (mod 4); equivalently q splits in ℚ(√-1) = ℚ(i).

The radicand 2 of the prime discriminant 8 is a quadratic residue modulo an odd prime q exactly when q ≡ 1 or 7 (mod 8); equivalently q splits in ℚ(√2).

The radicand -2 of the prime discriminant -8 is a quadratic residue modulo an odd prime q exactly when q ≡ 1 or 3 (mod 8); equivalently q splits in ℚ(√-2).

The radicand of a variable even prime discriminant is a quadratic residue modulo an odd prime q exactly under the corresponding supplementary congruence condition.

theorem TauCeti.Multiquadratic.legendreSym_evenPrimeDiscriminant_eq_one_iff {q : ℕ} [Fact (Nat.Prime q)] {D : ℤ} (hD : IsEvenPrimeDiscriminant D) (hq : q ≠ 2) :
legendreSym q D = 1 ↔ if D = -4 then q % 4 = 1 else if D = 8 then q % 8 = 1 ∨ q % 8 = 7 else q % 8 = 1 ∨ q % 8 = 3

A variable even prime discriminant is a quadratic residue modulo an odd prime q exactly under the corresponding supplementary congruence condition.

@[simp]

The prime discriminant -4 is a quadratic residue modulo an odd prime q exactly when q ≡ 1 (mod 4).

@[simp]

The prime discriminant 8 is a quadratic residue modulo an odd prime q exactly when q ≡ 1 or 7 (mod 8).

@[simp]

The prime discriminant -8 is a quadratic residue modulo an odd prime q exactly when q ≡ 1 or 3 (mod 8).