Synopsis:
No computation is done. This routine simply detects whether the given description of M is such a quotient.
i1 : R = ZZ/101[a,b,c]; |
i2 : M = R^1/(a^2,b^2,c^2) |
i3 : isQuotientModule M |
i4 : f = M_{0} |
i5 : N = image f |
Recall (Module _ {...}) that f is a map to the first generator of M so that the module N is the same as M but its description is now as a submodule of M so isQuotientModule returns false. However, these two modules are equal:
i6 : isQuotientModule N |
i7 : M == N |
Code:
-- ../../../Macaulay2/m2/modules.m2:41 isQuotientModule Module := M -> not M.?generators