Documentation

TauCeti.NumberTheory.LocalField.Padic

Normalization of the p-adic absolute value #

These comparison lemmas let the generic normalized-valuation API interoperate with Mathlib's concrete p-adic norm and valuation APIs.

Main results #

The Padic and residue-field constructions used here are part of Mathlib's upstream NumberTheory/Padics development.

@[simp]

The zero-preserving normalized valuation on ℚ_[p] is the inverse of Mathlib's p-adic valuation.

@[simp]

The additive normalized valuation on ℚ_[p] is Mathlib's p-adic valuation.

The ring of integers of ℚ_[p] for its valuative relation is Mathlib's subring of elements of norm at most 1.

The ring of integers of ℚ_[p] for its valuative relation is ℤ_[p].

Equations
Instances For
    @[simp]

    The identification of the ring of integers of ℚ_[p] with ℤ_[p] is the identity on the underlying p-adic numbers.

    @[simp]

    The inverse identification of ℤ_[p] with the ring of integers of ℚ_[p] is the identity on the underlying p-adic numbers.

    @[simp]

    The residue field of ℚ_[p] has cardinality p.

    @[simp]

    The normalized absolute value on ℚ_[p] agrees with Mathlib's norm.

    @[simp]

    The normalized valuation of a natural number in ℚ_[p] is its p-adic valuation.

    The normalized valuation of the residue prime p in ℚ_[p] is 1; equivalently, ℚ_[p] is absolutely unramified.

    The normalized valuation of 2 in ℚ_[p] vanishes for every odd p.

    If p ≡ 3 (mod 4), then -1 is not a square in ℚ_[p]. Combined with TauCeti.anisotropic_binary_one_one_iff, this shows that the binary form ⟨1, 1⟩ is anisotropic over ℚ_[p] for such primes.

    A square root in ℚ_[p] of an integer is a p-adic integer, so an integer that is not a square modulo some power of p is not a square in ℚ_[p].

    5 is not a square in ℚ_[2], since no square is 5 modulo 8.

    The prime 5, as a Fact, so that ℚ_[5] can be written.

    -3 is not a square in ℚ_[5], since its residue 2 is not a square modulo 5.

    X² + X + 1 is irreducible over ℚ_[5]: a root r would make (2r + 1)² = −3 a square.

    The residue prime p is a uniformizer of the integer ring of ℚ_[p].