Singular Manual: lpIsPrime

| ##### 7.7.8.0. lpIsPrime Procedure from library `fpaprops.lib` (see fpaprops_lib). Usage: lpIsPrime(G); G an ideal in a Letterplace ring Return: boolean Purpose: Check whether R/<G> is prime, where R is the basering Assume: - basering is a Letterplace ring - G is a Groebner basis Example:
    LIB "fpaprops.lib";
    ring r = 0,(x,y),dp;
    def R = makeLetterplaceRing(5);
    setring R;
    ideal G = x(1)*x(2), y(1)*y(2); // K<x,y>/<xx,yy> is prime
    lpIsPrime(G);
    ==> 1

User manual for Singular version 4-1-1, 2018, generated by texi2html.