isLocallyFree F
This method determines whether a coherent sheaf $\mathcal F$ on $X$ is locally free; i.e. there is an open cover of $X$ such that $\mathcal F(U)$ for each patch $U\subset X$ is a free $\mathcal O_X(U)$-module.
|
|
|
|
|
Internally, the algorithm uses a computation of fitting ideals.
../../../../Macaulay2/packages/Varieties.m2:697:31-701:64: --source code:
isLocallyFree CoherentSheaf := F -> (
if (d := rank F) == 0 then return F == 0;
if isFreeModule module F then return true;
dim fittingIdeal(d, module F) <= 0
and fittingIdeal(d-1, module F) == ideal 0_(ring variety F))
The object isLocallyFree is a method function.
The source of this document is in Varieties/doc-sheaves.m2:624:0.