Serre's sign functions on ℤ_2ˣ and the square classes of 2-adic units #
For a unit u of ℤ_2, Serre (A Course in Arithmetic, Chapter I, §3.2) puts
ε(u) = (u − 1)/2 mod 2, andω(u) = (u² − 1)/8 mod 2.
Both depend only on u mod 8: on the odd residues 1, 3, 5, 7 they take the values
ε = 0, 1, 0, 1 and ω = 0, 1, 1, 0. They are the ZMod 2-valued logarithms of the characters
ZMod.χ₄ and ZMod.χ₈ of Mathlib, and they are the exponents in Serre's closed formula for the
Hilbert symbol over ℚ_2.
The point of ε and ω is that together they classify 2-adic units up to squares. A unit is
the square of a unit exactly when it is 1 mod 8, and every unit u satisfies
u = (-1) ^ ε(u) · 5 ^ ω(u) · w²
for some unit w. Read in ℚ_2, a unit of ℤ_2 is a square of ℚ_2 exactly when it is
1 mod 8.
Main definitions #
TauCeti.serreEps: Serre'sε : ℤ_2ˣ → ZMod 2.TauCeti.serreOmega: Serre'sω : ℤ_2ˣ → ZMod 2.
Main results #
TauCeti.serreEps_eq_one_iff,TauCeti.serreOmega_eq_one_iff(and the_eq_zero_iffvariants): the values ofεandωin terms ofu mod 8.TauCeti.serreEps_eq_natCast_div_two_of_coe_eq_natCast:ε(m) = (m − 1)/2 mod 2for a natural numbermthat is a unit ofℤ_2.TauCeti.serreEps_mul,TauCeti.serreOmega_mul:εandωare homomorphisms to the additive groupZMod 2;TauCeti.serreEps_pow,TauCeti.serreOmega_poware the power forms.TauCeti.coe_neg_one_uzpow_serreEps,TauCeti.coe_neg_one_uzpow_serreOmega:(-1) ^ ε(u)isχ₄(u mod 4)and(-1) ^ ω(u)isχ₈(u mod 8).TauCeti.serreEps_eq_zero_and_serreOmega_eq_zero_iff:ε(u) = ω(u) = 0exactly whenu ≡ 1 mod 8.TauCeti.exists_eq_neg_one_pow_mul_five_pow_mul_sq:u = (-1) ^ ε(u) · 5 ^ ω(u) · w².TauCeti.isSquare_coe_iff_mem_unitsPrincipal_three: a unit ofℤ_2is a square inℚ_2exactly when it lies inU^(3) = 1 + 8ℤ_2, andTauCeti.isSquare_iff_serreEps_eq_zero_and_serreOmega_eq_zeroexactly whenε(u) = ω(u) = 0. For instance,-15is a square inℚ_2(TauCeti.isSquare_neg_fifteen_padicTwo).
References #
- J.-P. Serre, A Course in Arithmetic, Chapter I, §3.2, Chapter II, §3.3, and Chapter III, §1.2.
ω is a homomorphism from ℤ_2ˣ to the additive group ZMod 2.
ε(u) = 1 exactly when u is 3 or 7 modulo 8.
ε(u) = 0 exactly when u is 1 or 5 modulo 8.
ω(u) = 1 exactly when u is 3 or 5 modulo 8.
ω(u) = 0 exactly when u is 1 or 7 modulo 8.
ω(5) = 1, for the unit 5 of ℤ_2.
ω(u ^ n) = n ω(u).
The sign (-1) ^ ε(u) is Mathlib's character χ₄ of u mod 4.
The sign (-1) ^ ω(u) is Mathlib's character χ₈ of u mod 8.
ε and ω both vanish exactly on the units U^(3) that are 1 mod 8, which are the squares
of ℤ_2ˣ by TauCeti.unitsPrincipal_three_eq_range_powMonoidHom_two.
Squares of 2-adic units in ℚ_2. A unit of ℤ_2 is a square in ℚ_2 exactly when it is
1 mod 8.
-15 is a square in ℚ_2, since it is 1 mod 8.