Documentation

TauCeti.NumberTheory.NumberField.Frobenius

Frobenius elements of number fields and their action on square roots #

For an extension L/K of number fields and a prime Q of ๐“ž L, an arithmetic Frobenius at Q is an automorphism ฯƒ : L โ‰ƒโ‚[K] L satisfying ฯƒ x โ‰ก x ^ #(๐“ž K โงธ Q โˆฉ ๐“ž K) (mod Q) for every x : ๐“ž L. The exponent is the cardinality of the base residue ring, not the absolute norm of Q.

This file specializes Mathlib's Frobenius API to number fields:

The square-root formulas work in any characteristic-zero field. At an ideal above an odd prime p, a Frobenius sends a square root of an integer d with p โˆค d to legendreSym p d times that root. At an ideal above 2, for d โ‰ก 1 (mod 4), it fixes the root exactly when d โ‰ก 1 (mod 8) and negates it otherwise. These formulas describe Frobenius on every generator of a multiquadratic field.

Main results #

theorem NumberField.exists_isArithFrobAt (K : Type u_1) [Field K] [NumberField K] {L : Type u_2} [Field L] [NumberField L] [Algebra K L] [IsGalois K L] (Q : Ideal (RingOfIntegers L)) [Q.IsPrime] (hQ : Q โ‰  โŠฅ) :
โˆƒ (ฯƒ : Gal(L/K)), IsArithFrobAt (RingOfIntegers K) ฯƒ Q

Relative Frobenius elements exist. For a finite Galois extension L/K of number fields and a nonzero prime Q of ๐“ž L, some ฯƒ โˆˆ Gal(L/K) is an arithmetic Frobenius at Q.

theorem NumberField.exists_isArithFrobAt_int_of_liesOver {K : Type u_1} [Field K] [NumberField K] [IsGalois โ„š K] {p : โ„•} [Fact (Nat.Prime p)] (Q : Ideal (RingOfIntegers K)) [Q.IsPrime] [Q.LiesOver (Ideal.span {โ†‘p})] :
โˆƒ (ฯƒ : Gal(K/โ„š)), IsArithFrobAt โ„ค ฯƒ Q

A Frobenius relative to the base ring โ„ค exists at every prime of ๐“ž K lying over the rational prime (p); its exponent is therefore p. This is distinct from exists_isArithFrobAt โ„š, whose base-ring carrier is ๐“ž โ„š rather than โ„ค.

A Frobenius travels along an isomorphism of extensions. If ฯƒ is an arithmetic Frobenius at Q, then AlgEquiv.autCongr e ฯƒ is one at the prime of ๐“ž L' matching Q.

Uniqueness at unramified primes #

theorem NumberField.isArithFrobAt_eq_of_isUnramifiedAt {K : Type u_1} {L : Type u_2} [Field K] [Field L] [NumberField L] [Algebra K L] {ฯƒ ฯ„ : Gal(L/K)} {Q : Ideal (RingOfIntegers L)} [Q.IsPrime] [Algebra.IsUnramifiedAt (RingOfIntegers K) Q] (hฯƒ : IsArithFrobAt (RingOfIntegers K) ฯƒ Q) (hฯ„ : IsArithFrobAt (RingOfIntegers K) ฯ„ Q) :
ฯƒ = ฯ„

At an unramified prime of ๐“ž L, two arithmetic Frobenius automorphisms of an extension L/K of number fields coincide. No normality hypothesis is needed.

This is a conditional uniqueness statement and makes no existence assertion, so Q need not be assumed nonzero.

The Frobenius elements at an unramified prime form a subsingleton.

theorem NumberField.isArithFrobAt_apply_sqrt {K : Type u_1} [Field K] [CharZero K] {p : โ„•} [Fact (Nat.Prime p)] (hodd : p โ‰  2) {d : โ„ค} (hd : ยฌโ†‘p โˆฃ d) {x : K} (hx : x ^ 2 = (algebraMap โ„ค K) d) (Q : Ideal (RingOfIntegers K)) [Q.LiesOver (Ideal.span {โ†‘p})] {ฯƒ : Gal(K/โ„š)} (hฯƒ : IsArithFrobAt โ„ค ฯƒ Q) :
ฯƒ x = legendreSym p d โ€ข x

A Frobenius acts on square roots by the Legendre symbol. Let K be a characteristic-zero field, p an odd prime, and ฯƒ : K โ‰ƒโ‚[โ„š] K an arithmetic Frobenius at an ideal Q of ๐“ž K above p. If x โˆˆ K satisfies xยฒ = d for an integer d with p โˆค d, then

ฯƒ x = legendreSym p d โ€ข x:

the Frobenius fixes โˆšd when d is a quadratic residue mod p and negates it otherwise.

theorem NumberField.isArithFrobAt_apply_sqrt_eq_self_iff {K : Type u_1} [Field K] [CharZero K] {p : โ„•} [Fact (Nat.Prime p)] (hodd : p โ‰  2) {d : โ„ค} (hd : ยฌโ†‘p โˆฃ d) {x : K} (hx : x ^ 2 = (algebraMap โ„ค K) d) (Q : Ideal (RingOfIntegers K)) [Q.LiesOver (Ideal.span {โ†‘p})] {ฯƒ : Gal(K/โ„š)} (hฯƒ : IsArithFrobAt โ„ค ฯƒ Q) :
ฯƒ x = x โ†” legendreSym p d = 1

A Frobenius fixes โˆšd iff d is a quadratic residue mod p. Under the hypotheses of NumberField.isArithFrobAt_apply_sqrt, ฯƒ x = x exactly when legendreSym p d = 1 (the other case being ฯƒ x = -x, legendreSym p d = -1). The ambient field only needs characteristic zero.

Frobenius on square roots at 2 #

For d โ‰ก 1 (mod 4), an arithmetic Frobenius at a prime above 2 fixes a square root of d exactly when d โ‰ก 1 (mod 8), and negates it when d โ‰ก 5 (mod 8). The ambient field need not be quadratic, so the result applies to each generator of a multiquadratic field.

The two roots have identical reductions in characteristic two. Instead one uses the algebraic integer (1 + โˆšd) / 2, whose conjugate is 1 - (1 + โˆšd) / 2; their difference has odd square and hence is nonzero modulo the prime. This is the dyadic counterpart of the Legendre-symbol formula for Frobenius at odd primes, and supplies its missing local input at an odd discriminant.

The classical quadratic splitting criterion is described in D. A. Cox, Primes of the Form xยฒ + nyยฒ, ยง5.A.

theorem TauCeti.isArithFrobAt_apply_sqrt_eq_self_iff_mod_eight {K : Type u_1} [Field K] [CharZero K] {d : โ„ค} {x : K} (hx : x ^ 2 = (algebraMap โ„ค K) d) (hd : d % 4 = 1) (Q : Ideal (NumberField.RingOfIntegers K)) [Q.LiesOver (Ideal.span {2})] {ฯƒ : Gal(K/โ„š)} (hฯƒ : IsArithFrobAt โ„ค ฯƒ Q) :
ฯƒ x = x โ†” d % 8 = 1

At a prime above 2, Frobenius fixes โˆšd exactly when d โ‰ก 1 (mod 8), provided d โ‰ก 1 (mod 4). This works in any characteristic-zero field containing the chosen square root.

theorem TauCeti.isArithFrobAt_apply_sqrt_two {K : Type u_1} [Field K] [CharZero K] {d : โ„ค} {x : K} (hx : x ^ 2 = (algebraMap โ„ค K) d) (hd : d % 4 = 1) (Q : Ideal (NumberField.RingOfIntegers K)) [Q.LiesOver (Ideal.span {2})] {ฯƒ : Gal(K/โ„š)} (hฯƒ : IsArithFrobAt โ„ค ฯƒ Q) :
ฯƒ x = if d % 8 = 1 then x else -x

At a prime above 2, Frobenius fixes square roots of integers congruent to 1 modulo 8 and negates square roots of integers congruent to 5 modulo 8.