up previous next
IsLexSegment

checks if an ideal is lex-segment

Syntax
IsLexSegment(I: IDEAL): BOOL

Description
This function tests whether the monomial ideal I is a lex-segment ideal.

Example
/**/  use R ::= QQ[x,y,z];
/**/  I := ideal(x*y^3, y^4, x^3, x^2*y, x^2*z);
/**/  IsLexSegment(I);
false

See Also