Prime ideals of rings of integers #
This file records general utilities for the prime ideals of a number field above a rational
prime: packaging them as non-zero-divisors so that their classes can be taken with
ClassGroup.mk0, counting them, and factoring an unramified rational prime into them.
Main results #
NumberField.mem_nonZeroDivisors_of_prime_of_liesOver: a prime ideal above a rational prime is a non-zero-divisor in the ideal monoid.NumberField.exists_primeIdealFamily: a finite set of rational primes admits a family of prime ideals above it, packaged forClassGroup.mk0.TauCeti.NumberField.card_primesOverFinset_le_finrank: at most[K : ℚ]primes of𝓞 Klie over a nonzero prime ofℤ.TauCeti.NumberField.span_natCast_eq_prod_primesOverFinset: a rational prime unramified inKgenerates the squarefree product of the primes of𝓞 Kabove it.TauCeti.NumberField.isPrime_span_natCast_iff_of_eq_prod_primesOverFinset_pow: if a rational prime generates a powereof the product of the primes above it, it stays prime iff a single prime lies above it ande = 1.
An ideal lying over a rational prime is a non-zero-divisor in the ideal monoid, so it can be
passed to ClassGroup.mk0.
A finite set of rational primes admits a family of prime ideals above it, packaged as
non-zero-divisors so their classes can be taken with ClassGroup.mk0. Away from the specified
finite set the family is filled with the unit ideal.
At most [K : ℚ] primes of 𝓞 K lie over a given nonzero prime of ℤ, since each
contributes a positive ramificationIdx * inertiaDeg to the fundamental identity.
An unramified rational prime is the product of the primes above it. If every prime P of
𝓞 K above the rational prime p is unramified, then p generates the squarefree product of
those primes: each occurs with ramification index one.
When a rational prime stays prime. If p 𝓞 K is the product of the primes above the
rational prime p raised to a common power e, then p 𝓞 K is prime iff a single prime lies
above p and e = 1.