The fundamental identity Σ e f = n
ProvedFamousTheorems.fundamental_identity_ramification_inertiaThe fundamental identity . Let be an integral domain, let be a finite flat -algebra, and let be a prime of . Then
where the sum runs over the primes of lying over , and and are the ramification index and inertia degree.
For an extension of number fields with rings of integers this is the classical identity . It describes how a prime splits in an extension and underlies the decomposition and inertia groups of Hilbert's ramification theory and the Chebotarev density theorem.
Formalization note. Mathlib's Ideal.sum_ramification_inertia_eq_finrank, which generalises the Dedekind-domain statement. p.primesOver S is the type of primes of lying over p, assumed finite through a Fintype instance. q.1.ramificationIdx R and q.1.inertiaDeg R are the ramification index and inertia degree over the contraction of , and Module.finrank R S is the rank of as a free -module.
import Mathlib
namespace FamousTheorems
theorem fundamental_identity_ramification_inertia {R S : Type*} [CommRing R] [IsDomain R] [CommRing S] [Algebra R S] [Module.Finite R S] [Module.Flat R S]
(p : Ideal R) [p.IsPrime] [Fintype (p.primesOver S)] :
∑ q : p.primesOver S, q.1.ramificationIdx R * q.1.inertiaDeg R = Module.finrank R S := by sorry
end FamousTheorems