ramificationDivisor( f )
Compute the ramification (relative canonical) divisor corresponding the finite inclusion of normal domains. If you pass it a non-finite map, it will compute the divisorial part of the locus where the map is not smooth. If IsGraded is set to false (the default value), then the coefficient ring of both the source and target of $f$ must be equal.
|
|
|
|
The next example is a Veronese which is étale in codimension 1.
|
|
|
|
|
|
Here is an example with wild ramification.
|
|
|
|
If the option IsGraded is set to true, then the function will assume that the source of f is affine, and the target is projective over the source. In this case, the coefficient ring of the target must be equal to the source ring. This can be useful when computing things like relative canonical divisors over regular bases (it may not give the expected answer over non-regular bases). For example, this is useful if you want to compute the relative canonical divisor of a blowup.
|
|
|
|
The object ramificationDivisor is a method function with options.