Documentation

TauCeti.NumberTheory.Multiquadratic.Quadratic.GenusCharacter.Basic

Genus characters of a quadratic discriminant #

Genus theory attaches to a fundamental discriminant D a family of real quadratic characters, one for each prime discriminant occurring in a factorization D = P₁ ⋯ P_t (IsFundamentalDiscriminant.exists_finset_primeDiscriminant); the products of these over subsets are the genus characters of D. The character primeDiscriminantCharFun P of a single prime discriminant is built in TauCeti.NumberTheory.Multiquadratic.Legendre.PrimeDiscriminant.Character. This file defines the genus characters and proves the arithmetic fact that makes them characters of the class group: an integer coprime to D and represented by the principal form of discriminant D has all its genus characters equal to 1.

The proof splits along the cases of the definition and is elementary. Write D = P * Q. If P = p* is odd and 4n = x² - D y², then x² ≡ 4n (mod p), so n is a nonzero quadratic residue modulo p. If P is even, then Q ≡ 1 (mod 4) — that congruence is exactly what singles out the correct even prime discriminant, 24 = (-8) * (-3) rather than 8 * 3 — and n is odd; dividing x by 2 turns the hypothesis into n = u² - (P / 4) * Q * y², and a congruence modulo 8 pins n down to 1 (mod 4), to ±1 (mod 8), or to 1, 3 (mod 8) respectively, which is precisely the triviality of χ₄, χ₈ or χ₈' at n.

Because 4 * N(z) = A² - D * B² for every algebraic integer z of the quadratic field K = ℚ(√d) with D = fundamentalDiscriminant d (exists_sq_sub_fundamentalDiscriminant_mul_sq_eq_four_mul_norm), the relation says that a genus character of D is trivial at the norm of any algebraic integer of K coprime to the product of the prime discriminants indexing it. That is the first step towards reading the genus characters as characters of the narrow class group of K, whose independence is the lower bound t - 1 in the genus-theoretic 2-rank formula. Contrapositively, norm_ne_of_genusCharFun_eq_neg_one is the classical obstruction: an integer with a nontrivial genus character is not a norm.

The genus characters and this relation are classical; see D. A. Cox, Primes of the Form x² + ny², §3.B, and F. Lemmermeyer, Reciprocity Laws: From Euler to Eisenstein, §2.2.

Main definitions #

Main results #

Values of the character on the principal form #

theorem TauCeti.Multiquadratic.jacobiSym_eq_one_of_dvd_of_four_mul_eq_sq_sub_mul_sq {p : } (hp : Nat.Prime p) (hp2 : p 2) {D n x y : } (hpD : p D) (hpn : ¬p n) (h : 4 * n = x ^ 2 - D * y ^ 2) :
jacobiSym n p = 1

The odd half of the genus-character relation. If an odd prime p divides D but not n, and 4n = x² - D y², then n is a nonzero quadratic residue modulo p: reducing the hypothesis modulo p kills the D y² term and leaves 4n ≡ x², so n is the square of x / 2.

The even half of the genus-character relation. Let P be an even prime discriminant and Q ≡ 1 (mod 4). If an odd integer n satisfies 4n = x² - P * Q * y², then the character of P is trivial at n.

Halving x — which is even, because 4 ∣ P — rewrites the hypothesis as n = u² - (P / 4) * Q * y², and the value of n modulo 8 is then forced into the kernel of the corresponding character.

The genus-character relation for a single prime discriminant. Let P be a prime discriminant and Q an integer, congruent to 1 modulo 4 when P is even. An integer n coprime to P and satisfying 4n = x² - P * Q * y² has trivial character at P. When P * Q is supplied as an actual discriminant factorization, this equation says that n is represented by the principal form of discriminant P * Q.

The genus characters of a fundamental discriminant #

theorem TauCeti.Multiquadratic.primeDiscriminantCharFun_eq_one_of_mem_of_four_mul_eq_sq_sub_mul_sq {s : Finset } (hs : Ps, IsPrimeDiscriminant P) (heven : Ps, P's, IsEvenPrimeDiscriminant PIsEvenPrimeDiscriminant P'P = P') {P : } (hP : P s) {n x y : } (hcop : IsCoprime n P) (h : 4 * n = x ^ 2 - (∏ Ps, P) * y ^ 2) :

The genus-character relation. Let D = ∏ P ∈ s, P be a factorization of a discriminant into prime discriminants, at most one of them even, as produced by IsFundamentalDiscriminant.exists_finset_primeDiscriminant. For each P ∈ s, every integer n coprime to P and represented by the principal form of discriminant D, 4n = x² - D y², has trivial character at P.

The hypothesis that at most one member of s is even is what makes the complementary factor ∏ P' ∈ s.erase P, P' congruent to 1 modulo 4 when P is the even one.

The genus character indexed by a finite set s of prime discriminants: the product of the characters they carry. The genus characters of a fundamental discriminant D are those indexed by the subsets of a prime-discriminant factorization of D.

Equations
Instances For

    A genus character is the product of its prime-discriminant characters.

    @[simp]

    The genus character indexed by the empty set is trivial.

    @[simp]

    A singleton genus character is its prime-discriminant character.

    @[simp]

    Inserting a fresh prime discriminant multiplies its character into the genus character.

    @[simp]

    A genus character is completely multiplicative.

    @[simp]

    A genus character takes the value 1 at 1.

    theorem TauCeti.Multiquadratic.genusCharFun_mod_right' {s : Finset } {m n : } (h : m % (∏ Ps, P).natAbs = n % (∏ Ps, P).natAbs) :

    A genus character depends only on the residue class modulo the absolute value of the product of its prime-discriminant indices: each factor is a character modulo |P| (primeDiscriminantCharFun_mod_right'), and P divides that product.

    @[simp]
    theorem TauCeti.Multiquadratic.genusCharFun_eq_zero_iff {s : Finset } (hs : Ps, IsPrimeDiscriminant P) {n : } :
    genusCharFun s n = 0 ¬IsCoprime n (∏ Ps, P)

    A genus character vanishes exactly when its argument is not coprime to the product of its prime-discriminant indices.

    theorem TauCeti.Multiquadratic.genusCharFun_eq_one_or_eq_neg_one {s : Finset } (hs : Ps, IsPrimeDiscriminant P) {n : } (hcop : IsCoprime n (∏ Ps, P)) :

    A genus character takes the values ±1 on integers coprime to the product of its prime-discriminant indices.

    theorem TauCeti.Multiquadratic.genusCharFun_eq_one_of_four_mul_eq_sq_sub_mul_sq {s t : Finset } (hs : Ps, IsPrimeDiscriminant P) (heven : Ps, P's, IsEvenPrimeDiscriminant PIsEvenPrimeDiscriminant P'P = P') (hts : ts) {n x y : } (hcop : IsCoprime n (∏ Pt, P)) (h : 4 * n = x ^ 2 - (∏ Ps, P) * y ^ 2) :

    The genus characters are trivial on the values of the principal form. For a prime-discriminant factorization D = ∏ P ∈ s, P and any subset t ⊆ s, the genus character indexed by t is trivial at every integer coprime to the product of the factors in t that the principal form of discriminant D represents. This is the arithmetic input for a future proof that the genus characters descend to the class group.

    Values at an odd prime #

    theorem TauCeti.Multiquadratic.genusCharFun_natCast_eq_legendreSym_prod {s : Finset } (hs : Ps, IsPrimeDiscriminant P) {q : } [Fact (Nat.Prime q)] (hq : q 2) :
    genusCharFun s q = legendreSym q (∏ Ps, P)

    A genus character evaluates at an odd prime as a Legendre symbol. For a set s of prime discriminants, genusCharFun s q = legendreSym q (∏ P ∈ s, P) at every odd prime q, since each prime-discriminant character is the Legendre symbol of its prime discriminant.

    theorem TauCeti.Multiquadratic.genusCharFun_natCast_eq_legendreSym {s : Finset } {d : } (hs : Ps, IsPrimeDiscriminant P) (hprod : Ps, P = fundamentalDiscriminant d) {q : } [Fact (Nat.Prime q)] (hq : q 2) :

    The genus character of a quadratic discriminant is its splitting symbol. For K = ℚ(√d) with discriminant D = ∏ P ∈ s, P, the genus character indexed by the whole factorization agrees at an odd prime q with legendreSym q d: the fundamental discriminant differs from d by the square of 1 or 2, which the symbol does not see.

    Genus characters on the norms of a quadratic field #

    theorem TauCeti.Multiquadratic.genusCharFun_norm_eq_one {K : Type u_1} [Field K] [NumberField K] {θ : NumberField.RingOfIntegers K} {d : } {s t : Finset } (hs : Ps, IsPrimeDiscriminant P) (heven : Ps, P's, IsEvenPrimeDiscriminant PIsEvenPrimeDiscriminant P'P = P') (hprod : Ps, P = fundamentalDiscriminant d) (hmin : minpoly θ = Polynomial.X ^ 2 - Polynomial.C d) (hgen : [θ] = ) (hsf : Squarefree d) (hts : ts) (z : NumberField.RingOfIntegers K) (hcop : IsCoprime ((Algebra.norm ) z) (∏ Pt, P)) :

    The genus characters of a quadratic field are trivial on the norms of its integers. Let K = ℚ(√d) with d squarefree and let D = fundamentalDiscriminant d factor as ∏ P ∈ s, P into prime discriminants, at most one even. For a subset t ⊆ s, if the norm of an algebraic integer z of K is coprime to ∏ P ∈ t, P, then the genus character indexed by t is trivial at it.

    This theorem handles element norms. Applying genus characters to ideal-class representatives will require a further argument comparing representatives through principal ideals.

    theorem TauCeti.Multiquadratic.primeDiscriminantCharFun_norm_eq_one {K : Type u_1} [Field K] [NumberField K] {θ : NumberField.RingOfIntegers K} {d : } {s : Finset } (hs : Ps, IsPrimeDiscriminant P) (heven : Ps, P's, IsEvenPrimeDiscriminant PIsEvenPrimeDiscriminant P'P = P') (hprod : Ps, P = fundamentalDiscriminant d) (hmin : minpoly θ = Polynomial.X ^ 2 - Polynomial.C d) (hgen : [θ] = ) (hsf : Squarefree d) {P : } (hP : P s) (z : NumberField.RingOfIntegers K) (hcop : IsCoprime ((Algebra.norm ) z) P) :

    The single-index case of genusCharFun_norm_eq_one: the character at a prime discriminant P ∈ s is trivial at the norms of the algebraic integers of ℚ(√d) that are coprime to P.

    theorem TauCeti.Multiquadratic.norm_ne_of_genusCharFun_eq_neg_one {K : Type u_1} [Field K] [NumberField K] {θ : NumberField.RingOfIntegers K} {d : } {s t : Finset } (hs : Ps, IsPrimeDiscriminant P) (heven : Ps, P's, IsEvenPrimeDiscriminant PIsEvenPrimeDiscriminant P'P = P') (hprod : Ps, P = fundamentalDiscriminant d) (hmin : minpoly θ = Polynomial.X ^ 2 - Polynomial.C d) (hgen : [θ] = ) (hsf : Squarefree d) (hts : ts) {n : } (hchar : genusCharFun t n = -1) (z : NumberField.RingOfIntegers K) :

    Genus characters obstruct norms. If a genus character of the quadratic field K = ℚ(√d), indexed by a subset t of a prime-discriminant factorization of its fundamental discriminant, takes the value -1 at an integer n, then n is not the norm of any algebraic integer of K. This is the form in which genus theory rules out representations.

    theorem TauCeti.Multiquadratic.norm_ne_of_primeDiscriminantCharFun_eq_neg_one {K : Type u_1} [Field K] [NumberField K] {θ : NumberField.RingOfIntegers K} {d : } {s : Finset } (hs : Ps, IsPrimeDiscriminant P) (heven : Ps, P's, IsEvenPrimeDiscriminant PIsEvenPrimeDiscriminant P'P = P') (hprod : Ps, P = fundamentalDiscriminant d) (hmin : minpoly θ = Polynomial.X ^ 2 - Polynomial.C d) (hgen : [θ] = ) (hsf : Squarefree d) {P n : } (hP : P s) (hchar : primeDiscriminantCharFun P n = -1) (z : NumberField.RingOfIntegers K) :

    The single-index case of norm_ne_of_genusCharFun_eq_neg_one: an integer at which the character of a prime discriminant P ∈ s takes the value -1 is not the norm of an algebraic integer of ℚ(√d).