(m,J) = torsionOrder(n, I)Given an ideal $I$ in a normal (or G1 + S2) domain, this computes the local torsion order of the class of $I$. In other words, this computes the smallest integer $m$ such that $I^{m}$ is locally principal up to reflexification (that is, $(I^{m})^{**}$ is locally principal).
This function returns a pair $(m, (I^{m})^{**})$ if such an $m$ is found. If no $m$ is found, this returns $(0, ideal 0)$.
|
|
|
|
As we are computing the reflexive hull, this function does not distinguish between the ideal $I$ and the ideal made up of the height-one components of a primary decomposition of $I$.
|
|
The object torsionOrder is a method function with options.
The source of this document is in NonPrincipalTestIdeals.m2:1243:0.