The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.RamificationInertia.Unramified

8 declarations and 2 deprecated aliases. Mathlib docs · Source

Unramified and ramification index

We connect Ideal.ramificationIdx to the commutative algebra notion predicate of IsUnramifiedAt.

Main result

  • Algebra.isUnramifiedAt_iff_of_isDedekindDomain: Let R be a domain of characteristic 0, finite rank over ℤ, S ⊇ R be a Dedekind domain that is a finite R-algebra. Let p be a prime of S, then p is unramified iff e(p) = 1.

theorem Ideal.ramificationIdx_eq_one_of_isUnramifiedAt E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {p : Ideal S}
  [inst_3 : p.IsPrime] [Algebra.IsUnramifiedAt R p] [Algebra.EssFiniteType R S], p.ramificationIdx R = 1

theorem Algebra.IsUnramifiedAt.of_liesOver E1 #

∀ (R : Type u_1) {S : Type u_2} {T : Type u_3} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  [inst_3 : Algebra R S] [inst_4 : Algebra S T] [inst_5 : Algebra R T] [IsScalarTower R S T] (p : Ideal S) (P : Ideal T)
  [P.LiesOver p] [inst_8 : p.IsPrime] [inst_9 : P.IsPrime] [Algebra.IsUnramifiedAt R P] [Algebra.EssFiniteType R S]
  [Algebra.EssFiniteType R T] [Module.Flat S T], Algebra.IsUnramifiedAt R p

Up to technical conditions, If T/S/R is a tower of algebras, P is a prime of T unramified in R, then P ∩ S (as a prime of S) is also unramified in R.

theorem Algebra.isUnramifiedAt_bot E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [IsDomain R]
  [inst_4 : IsDomain S] [Module.IsTorsionFree R S] [CharZero R] [Algebra.IsIntegral R S], Algebra.IsUnramifiedAt R ⊥

In characteristic zero the generic point is unramified: if S is a domain that is integral over a characteristic-zero domain R and R → S is injective, then S is unramified at the zero ideal.

theorem Algebra.isUnramifiedIn_bot E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [IsDomain R]
  [IsDomain S] [FaithfulSMul R S] [CharZero R] [Algebra.IsIntegral R S], Algebra.IsUnramifiedIn S ⊥

In characteristic zero, the zero ideal is unramified in an integral domain extension.

theorem Algebra.isUnramifiedIn_iff_forall_of_isDedekindDomain' E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [IsDomain R]
  [IsDedekindDomain S] [Module.IsTorsionFree R S] {p : Ideal R},
  p ≠ ⊥ → (Algebra.IsUnramifiedIn S p ↔ ∀ (P : Ideal S) (x : P.IsMaximal), P.LiesOver p → Algebra.IsUnramifiedAt R P)

Let S be a Dedekind domain that is torsion-free over a domain R, and let p ≠ ⊥ be an ideal of R. Then p is unramified in S if and only if S is unramified at every maximal ideal P of S lying over p.

See Algebra.isUnramifiedIn_iff_forall_of_isDedekindDomain if R is of characteristic zero.

theorem Algebra.isUnramifiedIn_iff_forall_of_isDedekindDomain E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [IsDomain R]
  [IsDedekindDomain S] [Module.IsTorsionFree R S] [CharZero R] [Algebra.IsIntegral R S] {p : Ideal R},
  Algebra.IsUnramifiedIn S p ↔ ∀ (P : Ideal S) (x : P.IsMaximal), P.LiesOver p → Algebra.IsUnramifiedAt R P

Let S be a Dedekind domain that is integral and torsion-free over a characteristic-zero domain R. Then an ideal p of R is unramified in S if and only if S is unramified at every maximal ideal P of S lying over p.

theorem Algebra.IsUnramifiedIn.ramificationIdx_eq_one E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.EssFiniteType R S] {𝔭 : Ideal R},
  Algebra.IsUnramifiedIn S 𝔭 → ∀ {𝔓 : Ideal S} [𝔓.IsPrime], 𝔓.LiesOver 𝔭 → 𝔓.ramificationIdx R = 1

For a prime 𝔓 of S lying over an unramified prime 𝔭 of R, the ramification index e(𝔓 ∣ 𝔭) equals 1.

theorem Algebra.isUnramifiedIn_iff_forall_ramificationIdx_eq_one E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [IsDomain R]
  [Module.Finite ℤ R] [CharZero R] [Algebra.EssFiniteType R S] [Algebra.IsIntegral R S] {𝔭 : Ideal R},
  Algebra.IsUnramifiedIn S 𝔭 ↔ ∀ (𝔓 : Ideal S) [𝔓.IsPrime], 𝔓.LiesOver 𝔭 → 𝔓.ramificationIdx R = 1

A nonzero ideal of R is unramified in S if and only if every prime ideal of S lying over it has ramification index 1.

Deprecated aliases

NameNew nameSince
Algebra.isUnramifiedAt_iff_of_isDedekindDomain2026-06-30
IsUnramifiedAt.of_liesOver_of_ne_bot2026-08-18