The ring of integers of a cyclotomic field is ℤ[ζ]
ProvedFamousTheorems.cyclotomic_ring_of_integers_7bThe ring of integers of a cyclotomic field is . Let , let be the -th cyclotomic field and let be a primitive -th root of unity. Then the ring of integers of is .
It follows that the powers form an integral basis of . This is the basic structural result about cyclotomic fields. Kummer's work on Fermat's Last Theorem and much of Iwasawa theory rely on it. The proof first treats prime powers, using that generates a totally ramified prime, and then combines coprime conductors using the discriminants.
Formalization note. Mathlib's IsCyclotomicExtension.Rat.isIntegralClosure_adjoin_singleton. IsIntegralClosure (Algebra.adjoin ℤ {ζ}) ℤ K says that the subring of is exactly the set of elements of integral over . IsCyclotomicExtension {n} ℚ K says that is generated over by a primitive -th root of unity.
import Mathlib
namespace FamousTheorems
theorem cyclotomic_ring_of_integers_7b {n : ℕ} [NeZero n] {K : Type*} [Field K] [CharZero K] [IsCyclotomicExtension {n} ℚ K] {ζ : K}
(hζ : IsPrimitiveRoot ζ n) : IsIntegralClosure (Algebra.adjoin ℤ ({ζ} : Set K)) ℤ K := by sorry
end FamousTheoremsConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.