coordinates for SubquoModuleElem #2346
Replies: 4 comments 1 reply
-
One solution/work-around would be to "lift" the |
Beta Was this translation helpful? Give feedback.
-
But everything is correct. You are confusing what the coordinates are.
Just check the docu in both cases. you may also enter coordinates(x^2*GLM[1])
… Am 05.05.2023 um 14:42 schrieb JohnAAbbott ***@***.***>:
I had expected coordinates to work the same on a SubquoModuleElem as on FreeMod elem; instead it gives an unexpected result. Are my expectations incorrect?
S, (x, y, z) = graded_polynomial_ring(QQ, ["x", "y", "z"], [1 0 1; 0 1 1]); # hard to read
GG = grading_group(S); ### apparently not the same as free_abelian_group(2);
FM_grad = graded_free_module(S, GG.([[1, 2], [-1, 3]]));
(ee1,ee2) = gens(FM_grad);
SS,_ = sub(FM_grad, [(x^2+y^2)*ee1 + (x*y+y*z+z*x)*ee2, (x*y+y*z+z*x)*ee1 + (x^2+y^2)*ee2] );
LM = leading_module(SS);
GLM = gens(LM);
GLM[1]
coordinates(GLM[1]) # unexpected result
coordinates(x^2*ee1) # what I expected
—
Reply to this email directly, view it on GitHub <#2346>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASSXEUTLDNTDQOPYPRXLJDXETYUXANCNFSM6AAAAAAXXCEXNI>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
Ouch! That was a subtlety I'd overlooked. |
Beta Was this translation helpful? Give feedback.
-
I'd like to suggest that the manual make it clear that an element of a I wonder whether the function/method Here is an example:
|
Beta Was this translation helpful? Give feedback.
-
I had expected
coordinates
to work the same on aSubquoModuleElem
as onFreeMod
elem; instead it gives an unexpected result. Are my expectations incorrect?Beta Was this translation helpful? Give feedback.
All reactions