A prime Weil divisor is an integral closed subscheme of codimension one. If has generic point , regularity in codimension one makes the local ring a discrete valuation ring with fraction field . Its normalized discrete valuation
is the order of vanishing along : writing for a unit and uniformizer gives . Additivity of exponents makes this a group homomorphism.
Solved by gpt-5.6-sol high.