The prime ideal factorization of is
which defines the ramification index of a prime ideal . The residue-field degree is
Localizing at makes a free -module of rank , so has dimension over the residue field . The Chinese remainder theorem and the filtration by powers of each decompose this vector space into successive quotients isomorphic to , each of dimension . Therefore the fundamental identity for prime decomposition gives