Documentation

TauCeti.NumberTheory.Multiquadratic.Legendre.PrimeDiscriminant.Basic

Legendre symbols of odd prime discriminants #

The genus-field layer of the multiquadratic roadmap uses the odd prime discriminant p* = (-1)^((p-1)/2) p rather than the bare prime radicand p. This file records the small Legendre-symbol API that makes that normalization usable in the prime-splitting law.

For odd primes p and q, the classical identity (p* / q) = (q / p) is exactly legendreSym q (oddPrimeDiscriminant p) = legendreSym p q. This file packages that result in the shape downstream multiquadratic splitting statements need.

Main results #

Expanding the Legendre symbol of the odd prime discriminant p*. This version does not assume q is odd: in the negative case it leaves the factor legendreSym q (-1) explicit.

Expanding the Legendre symbol of p* at an odd prime q, using the supplementary law legendreSym q (-1) = χ₄ q.

@[simp]

For odd primes p and q, the Legendre symbol of the odd prime discriminant p* at q is the reciprocal symbol (q / p). This is the prime-discriminant form of quadratic reciprocity used by genus-field splitting criteria.

The quadratic-residue condition for the odd prime discriminant p* can be read as the reciprocal Legendre symbol (q / p) = 1. This is the form consumed by the multiquadratic prime-splitting law after the genus-field radicands have been normalized to prime discriminants.

theorem TauCeti.Multiquadratic.forall_legendreSym_oddPrimeDiscriminant_eq_one_iff {ι : Type u_1} (p : ι) {q : } [Fact (Nat.Prime q)] (hpprime : ∀ (i : ι), Nat.Prime (p i)) (hpodd : ∀ (i : ι), p i 2) (hq : q 2) :
(∀ (i : ι), legendreSym q (oddPrimeDiscriminant (p i)) = 1) ∀ (i : ι), legendreSym (p i) q = 1

Family form of legendreSym_oddPrimeDiscriminant_eq_one_iff: for a family of odd primes p i, the conditions that all odd prime discriminants p i* are quadratic residues modulo an odd prime q are exactly the reciprocal conditions (q / p i) = 1.