Documentation

TauCeti.NumberTheory.LocalField.QuadraticForm.OddResidue.Padic

Hilbert symbols over ℚ_p for odd p #

Let p be an odd prime. The prime p is a uniformizer of ℚ_p and the residue field of ℚ_p is 𝔽_p, so the odd-residue formulas for the Hilbert symbol become formulas in terms of residues modulo p.

Main results #

References #

The residue sign over ℚ_p is the Legendre character. For a unit u of ℤ_p, the residue sign of u, read in the integer ring of ℚ_p, is the quadratic character of the reduction of u modulo p; for u the image of an integer n, this is legendreSym p n.

theorem TauCeti.Padic.hilbertSymbol_formula_of_ne_two {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) {a b : ℚ_[p]ˣ} {α β : ℤ} {u v : ℤ_[p]ˣ} (ha : ↑a = ↑p ^ α * ↑↑u) (hb : ↑b = ↑p ^ β * ↑↑v) :
hilbertSymbol a b = ((-1) ^ ((p - 1) / 2)) ^ (α * β) * (quadraticChar (ZMod p)).toUnitHom ((Units.map ↑PadicInt.toZMod) u) ^ β * (quadraticChar (ZMod p)).toUnitHom ((Units.map ↑PadicInt.toZMod) v) ^ α

Serre's formula for the Hilbert symbol over ℚ_p, for p odd. For a = p ^ α u and b = p ^ β v with u, v units of ℤ_p,

(a, b) = ((-1) ^ ((p - 1)/2)) ^ (α β) · (u / p) ^ β · (v / p) ^ α,

where (u / p) is the quadratic character of the reduction of u modulo p, as a sign.

theorem TauCeti.Padic.coe_hilbertSymbol_pow_mul_intCast_pow_mul_intCast {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) (α β : ℕ) {m n : ℤ} (hm : ¬↑p ∣ m) (hn : ¬↑p ∣ n) :
↑(hilbertSymbol (Units.mk0 (↑p ^ α * ↑m) ⋯) (Units.mk0 (↑p ^ β * ↑n) ⋯)) = (-1) ^ (α * β * ((p - 1) / 2)) * legendreSym p m ^ β * legendreSym p n ^ α

Serre's formula over ℚ_p for integers, with Legendre symbols. For an odd prime p, integers m, n prime to p and natural numbers α, β,

(p ^ α m, p ^ β n) = (-1) ^ (α β (p - 1)/2) · (m / p) ^ β · (n / p) ^ α.

theorem TauCeti.Padic.hilbertSymbol_intCast_intCast_eq_one {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) {m n : ℤ} (hm : ¬↑p ∣ m) (hn : ¬↑p ∣ n) :
hilbertSymbol (Units.mk0 ↑m ⋯) (Units.mk0 ↑n ⋯) = 1

The Hilbert symbol of two p-adic units. For an odd prime p and integers m and n prime to p, the Hilbert symbol (m, n) over ℚ_p is 1.

theorem TauCeti.Padic.hilbertSymbol_intCast_self_eq_legendreSym {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) {n : ℤ} (hn : ¬↑p ∣ n) :
↑(hilbertSymbol (Units.mk0 ↑n ⋯) (Units.mk0 ↑p ⋯)) = legendreSym p n

The Hilbert symbol (n, p) over ℚ_p is the Legendre symbol (n / p), for an odd prime p and an integer n prime to p: the integral unit n pairs with the uniformizer p to 1 exactly when its residue is a square in 𝔽_p.

theorem TauCeti.Padic.isSquare_intCast_iff_legendreSym_eq_one {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) {n : ℤ} (hn : ¬↑p ∣ n) :

Squares in ℚ_p of integers prime to p. For an odd prime p and an integer n prime to p, the image of n in ℚ_p is a square exactly when n is a square modulo p, that is (n / p) = 1.

If p ≡ 3 (mod 4), then the Hilbert symbol (-1, p) over ℚ_p is -1: the prime p is not a sum of two squares in ℚ_p.