Changeset 4caa6c in git


Ignore:
Timestamp:
May 18, 2005, 10:51:16 PM (19 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
cc5e38df80c917c52275aa45b1835bb4f86a0f7f
Parents:
46f327b10496ff7eead18a5eb83a82f2d90e6904
Message:
*levandov: renamed functions and dependencies


git-svn-id: file:///usr/local/Singular/svn/trunk@8239 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular/LIB
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/ncalg.lib

    r46f327b r4caa6c  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: ncalg.lib,v 1.13 2005-05-18 18:09:11 levandov Exp $";
     2version="$Id: ncalg.lib,v 1.14 2005-05-18 20:51:15 levandov Exp $";
    33category="Noncommutative";
    44info="
    55LIBRARY:  ncalg.lib      Definitions of important GR-algebras
    66AUTHORS:  Viktor Levandovskyy,     levandov@mathematik.uni-kl.de,
    7           Oleksandr Motsak,        motsak@mathematik.uni-kl.de.
     7@*          Oleksandr Motsak,        motsak@mathematik.uni-kl.de.
     8
     9CONVENTIONS: This library provides pre-defined important noncommutative algebras.
     10@* For universal enveloping algebras of finite dimensional Lie algebras sl_n, gl_n and g_2 there are functions @code{makeUsl}, @code{makeUgl} and @code{makeUg2}.
     11@* There are quantized enveloping algebras U_q(sl_2) and U_q(sl_3) (via functions @code{makeQsl2}, @code{makeQsl3})
     12@* and non-standard quantum deformation of so_3, accessible via @code{makeQso3} function.
    813
    914PROCEDURES:
    10 sl(n[,p]);   returns U(sl_n) in char p, if an integer p is given,
    11 sl2([p]);    returns U(sl_2) in the (e,f,h) presentation; in char p, if an integer p is given,
    12 g2([p]);     returns U(g_2) in the (x(i),y(i),Ha,Hb) presentation; in char p, if an integer p is given,
    13 gl(n,[p]);    returns U(gl_n) in the (e_ij (1<i,j<n)) presentation; in char p, if an integer p is given,
    14 Qso3([n]);   returns U_q(so_3) in the presentation of Klimyk, if integer n is given, the quantum parameter will be specialized at the (2n)-th root of unity,
    15 Qso3Casimir(n [,m]); returns a list with the (optionally normalized) Casimir elements of U_q(so_3) for the quantum parameter specialized at the n-th root of unity,
    16 Qsl2([n]); returns ring, corresponding to the V_q(sl_2) and the ideal Qideal in it, such that U_q(sl_2) = V_q(sl_2) / Qideal; if n is specified, the quantum parameter q will be specialized at the n-th root of unity
    17 Qsl3([n]); returns ring, corresponding to the V_q(sl_3) and the ideal Qideal in it, such that U_q(sl_3) = V_q(sl_3) / Qideal; if n is specified, the quantum parameter q will be specialized at the n-th root of unity
    18 GKZsystem(A, sord, alg [,v]);  returns a ring and an ideal, describing
    19 Gelfand-Kapranov-Zelevinsky system of differential equations
     15makeUsl(n[,p]);   create U(sl_n) in char p>=0
     16makeUsl2([p]);    create U(sl_2) in the variables (e,f,h) in char p>=0
     17makeUg2([p]);     create U(g_2) in the variables (x(i),y(i),Ha,Hb) in char p>=0
     18makeUgl(n,[p]);   create U(gl_n) in the variables (e_ij (1<i,j<n)) in char p>=0
     19makeQso3([n]);    create U_q(so_3) in the presentation of Klimyk (if int n is given, the quantum parameter will be specialized at the 2n-th root of unity)
     20Qso3Casimir(n [,m]); returns a list with the (optionally normalized) Casimir elements of U_q(so_3) for the quantum parameter specialized at the 2n-th root of unity
     21makeQsl2([n]);    preparation for U_q(sl_2) as factor-algebra; if n is specified, the quantum parameter q will be specialized at the n-th root of unity
     22makeQsl3([n]);    preparation for U_q(sl_3) as factor-algebra; if n is specified, the quantum parameter q will be specialized at the n-th root of unity
     23GKZsystem(A, sord, alg [,v]);  define a ring and a Gelfand-Kapranov-Zelevinsky system of differential equations
    2024";
    2125
     
    4044
    4145///////////////////////////////////////////////////////////////////////////////
    42 proc sl2(list #)
    43 "USAGE:   sl2([p]), p an optional integer (field characteristic)
    44 PURPOSE: set up the U(sl_2) in the (e,f,h) presentation over the field of char p
     46proc makeUsl2(list #)
     47"USAGE:   makeUsl2([p]), p an optional integer (field characteristic)
    4548RETURN:  ring
    46 NOTE:    you have to activate this ring with the 'setring' command
    47 SEE ALSO: sl, g2, gl
    48 EXAMPLE: example sl2; shows examples
     49PURPOSE: set up the U(sl_2) in the variables e,f,h over the field of char p
     50NOTE:    activate this ring with the @code{setring} command
     51SEE ALSO: makeUsl, makeUg2, makeUgl
     52EXAMPLE: example makeUsl2; shows examples
    4953"{
    5054   int @p = defInt(#);
     
    5963example
    6064{ "EXAMPLE:"; echo = 2;
    61    def a=sl2();
     65   def a=makeUsl2();
    6266   setring a;
    6367   a;
     
    6569
    6670///////////////////////////////////////////////////////////////////////////////
    67 proc sl(int n, list #)
    68 "USAGE:   sl(n,[p]); n an integer, n>1; p an optional integer (field characteristic)
    69 PURPOSE: set up the U(sl_n) in x(i),y(i),h(i) presentation over the field of char p
    70 RETURN:  ring, describing
    71 NOTE:    You have to activate this ring with the 'setring' command.
    72 @*       The presentation of U(sl_n) is derived from the standard presentation of sl_n,
    73 @*       where positive resp. negative roots are denoted by x(i) resp. y(i) and
    74 @*       Cartan elements are denoted by h(i).
    75 SEE ALSO: sl2, g2, gl, Qsl3, Qso3
    76 EXAMPLE: example sl; shows examples
     71proc makeUsl(int n, list #)
     72"USAGE:   makeUsl(n,[p]); n an integer, n>1; p an optional integer (field characteristic)
     73RETURN:  ring
     74PURPOSE: set up the U(sl_n) in the variables ( x(i),y(i),h(i) | i=1..n+1) over the field of char p
     75NOTE:    activate this ring with the @code{setring} command
     76@*       This presentation of U(sl_n) is the standard one, i.e. positive resp. negative roots are denoted by x(i) resp. y(i) and the Cartan elements are denoted by h(i).
     77@* The variables are ordered as x(1),...x(n),y(1),...,y(n),h(1),...h(n).
     78SEE ALSO: makeUsl2, makeUg2, makeUgl, makeQsl3, makeQso3
     79EXAMPLE: example makeUsl; shows examples
    7780"{
    7881  if (n<2)
     
    8386  if (n==2)
    8487  {
    85     def @@@a=sl2(#);
     88    def @@@a=makeUsl2(#);
    8689    setring @@@a;
    8790    return(@@@a);
     
    159162example
    160163{ "EXAMPLE:"; echo = 2;
    161    def a=sl(3);
     164   def a=makeUsl(3);
    162165   setring a;
    163166   a;
     
    165168
    166169///////////////////////////////////////////////////////////////////////////////
    167 proc g2(list #)
    168 "USAGE:  g2([p]), p an optional integer (field characteristic)
    169 PURPOSE: set up the U(g_2) in (x(i),y(i),Ha,Hb) presentation over the field of char p
     170proc makeUg2(list #)
     171"USAGE:  makeUg2([p]), p an optional int (field characteristic)
    170172RETURN:  ring
    171 NOTE:    you have to activate this ring with the 'setring' command
    172 SEE ALSO: sl, gl
    173 EXAMPLE: example g2; shows examples
     173PURPOSE: set up the U(g_2) in variables (x(i),y(i),Ha,Hb) for i=1..6 over the field of char p
     174NOTE:    activate this ring with the @code{setring} command
     175@* the variables are ordered as x(1),...x(6),y(1),...,y(6),Ha,Hb.
     176SEE ALSO: makeUsl, makeUgl
     177EXAMPLE: example makeUg2; shows examples
    174178"{
    175179  int @p = defInt(#);
     
    238242example
    239243{ "EXAMPLE:"; echo = 2;
    240    def a = g2();
     244   def a = makeUg2();
    241245   setring a;  a;
    242246}
    243247
    244248///////////////////////////////////////////////////////////////////////////////
    245 proc gl(int n, list #)
    246 "
    247 USAGE:   gl(n,[p]); n an integer, n>1;  p an optional integer (field characteristic)
    248 PURPOSE: set up the U(gl_n) in the (e_ij (1<i,j<n)) presentation over the field of char p
     249proc makeUgl(int n, list #)
     250"USAGE:   makeUgl(n,[p]); n an int, n>1;  p an optional int (field characteristic)
    249251RETURN:  ring
    250 NOTE:    You have to activate this ring with the 'setring' command.
    251 SEE ALSO: sl, g2
    252 EXAMPLE: example gl; shows examples
     252PURPOSE: set up the U(gl_n) in the (e_ij (1<i,j<n)) presentation (where e_ij corresponds to a matrix with 1 at i,j only) over the field of char p
     253NOTE:    activate this ring with the @code{setring} command
     254@* the variables are ordered as e_12,e_13,...,e_1n,e_21,...,e_nn.
     255SEE ALSO: makeUsl, makeUg2
     256EXAMPLE: example makeUgl; shows examples
    253257"{
    254258  if (n<2)
     
    271275        };
    272276  };
    273   string strRING = "ring RING_GL=(" + string (@p) + "), (" + vs + "),dp;";
     277  string strRING = "ring RING_MAKEUGL=(" + string (@p) + "), (" + vs + "),dp;";
    274278  execute( strRING );
    275   int N = nvars( RING_GL ); // n*n
     279  int N = nvars( RING_MAKEUGL ); // n*n
    276280  matrix D[N][N]=0;
    277281  int k, l;
     
    300304  };
    301305  ncalgebra(1,D);
    302   return(RING_GL);
    303 }
    304 example
    305 { "EXAMPLE:"; echo = 2;
    306    def a=gl(3);
     306  return(RING_MAKEUGL);
     307}
     308example
     309{ "EXAMPLE:"; echo = 2;
     310   def a=makeUgl(3);
    307311   setring a; a;
    308312};
    309313
    310314///////////////////////////////////////////////////////////////////////////////
    311 proc Qso3(list #)
    312 "USAGE:   Qso3([n]), n an optional integers
    313 PURPOSE: set up the U_q(so_3) in the presentation of Klimyk; if n is specified, the quantum parameter Q will be specialized at the (2*n)-th root of unity
     315proc makeQso3(list #)
     316"USAGE:   makeQso3([n]), n an optional int
     317PURPOSE: set up the U_q(so_3) in the presentation of Klimyk; if n is specified, the quantum parameter Q will be specialized at the (2n)-th root of unity
    314318RETURN:  ring
    315 NOTE:    you have to activate this ring with the 'setring' command
    316 SEE ALSO: sl, g2, gl, Qsl2, Qsl3, Qso3Casimir
    317 EXAMPLE: example Qso3; shows examples
     319NOTE:    activate this ring with the @code{setring} command
     320SEE ALSO: makeUsl, makeUg2, makeUgl, makeQsl2, makeQsl3, Qso3Casimir
     321EXAMPLE: example makeQso3; shows examples
    318322"{
    319323  int @p = 2*defInt(#);
     
    333337example
    334338{ "EXAMPLE:"; echo = 2;
    335    def K = Qso3(3);
     339   def K = makeQso3(3);
    336340   setring K;
    337341   K;
     
    341345proc Qso3Casimir(int n, list #)
    342346"USAGE:   Qso3Casimir(n [,m]), n an integer, m an optional integer
    343 PURPOSE: compute the Casimir elements of U_q(so_3) for the quantum parameter specialized at the n-th root of unity; if m!=0 is given, polynomials will be normalized
    344347RETURN:  list (of polynomials)
    345 NOTE:    the result of the procedure makes sense only when the basering is U_q(so_3)
    346 SEE ALSO: Qso3
     348PURPOSE: compute the Casimir (central) elements of U_q(so_3) for the quantum parameter specialized at the n-th root of unity; if m!=0 is given, polynomials will be normalized
     349ASSUME:    the basering must be U_q(so_3)
     350SEE ALSO: makeQso3
    347351EXAMPLE: example Qso3Casimir; shows examples
    348352"{
     
    389393example
    390394{ "EXAMPLE:"; echo = 2;
    391    def R = Qso3(5);
     395   def R = makeQso3(5);
    392396   setring R;
    393397   list C = Qso3Casimir(5);
     
    398402
    399403///////////////////////////////////////////////////////////////////////////////
    400 proc Qsl2(list #)
    401 "USAGE:   Qsl2([n]), n an optional integer
    402 PURPOSE: set up the U_q(sl_2) = V_q(sl_2) / Qideal via the ring V_q(sl_2) and the ideal 'Qideal' in it;
    403 @*       if n is specified, the quantum parameter q will be specialized at the n-th root of unity
    404 RETURN:  ring (V_q(sl_2))
    405 NOTE:    you have to activate this ring with the 'setring' command.
    406 @*       In order to create the U_q(sl_2) from the output, you have to call the command like 'qring Usl2q = Qideal;'
    407 SEE ALSO: sl, Qsl3, Qso3
    408 EXAMPLE: example Qsl2; shows examples
    409 "
    410 {
     404proc makeQsl2(list #)
     405"USAGE:   makeQsl2([n]), n an optional int
     406RETURN:   ring
     407PURPOSE:  define the U_q(sl_2) as a factor-ring of a ring V_q(sl_2) modulo the ideal @code{Qideal}
     408NOTE:   the output consists of a ring, presenting V_q(sl_2) together with the ideal called @code{Qideal} in this ring
     409@* activate this ring with the @code{setring} command
     410@* in order to create the U_q(sl_2) from the output, execute the command like @code{qring Usl2q = Qideal;}
     411@* If n is specified, the quantum parameter q will be specialized at the n-th root of unity
     412SEE ALSO: makeUsl, makeQsl3, makeQso3
     413EXAMPLE: example makeQsl2; shows examples
     414"{
    411415  ring r=(0,q),(E,F,Ke,Kf),dp;
    412416  int @p = defInt(#);
     
    430434example
    431435{ "EXAMPLE:"; echo = 2;
    432    def A = Qsl2(3);
     436   def A = makeQsl2(3);
    433437   setring A;
    434438   Qideal;
     
    438442
    439443///////////////////////////////////////////////////////////////////////////////
    440 proc Qsl3(list #)
    441 "USAGE:   Qsl3([n]), n an optional integer
    442 PURPOSE: set up the U_q(sl_3) = V_q(sl_3) / Qideal via the ring V_q(sl_3) and the ideal 'Qideal' in it;
    443 @*       if n is specified, the quantum parameter q will be specialized at the n-th root of unity
    444 RETURN:  ring (V_q(sl_3))
    445 NOTE:    you have to activate this ring with the 'setring' command.
    446 @*       In order to create the U_q(sl_3) from the output, you have to call the command like 'qring Usl3q = Qideal;'
    447 SEE ALSO: sl, Qsl2, Qso3
    448 EXAMPLE: example Qsl3; shows examples
     444proc makeQsl3(list #)
     445"USAGE:   makeQsl3([n]), n an optional int
     446RETURN:   ring
     447PURPOSE:  define the U_q(sl_3) as a factor-ring of a ring V_q(sl_3) modulo the ideal @code{Qideal}
     448NOTE:   the output consists of a ring, presenting V_q(sl_3) together with the ideal called @code{Qideal} in this ring
     449@* activate this ring with the @code{setring} command
     450@* in order to create the U_q(sl_3) from the output, execute the command like @code{qring Usl3q = Qideal;}
     451@* If n is specified, the quantum parameter q will be specialized at the n-th root of unity
     452SEE ALSO: makeUsl, makeQsl2, makeQso3
     453EXAMPLE: example makeQsl3; shows examples
    449454"{
    450455  int @p = defInt(#);
     
    513518  C[ 2, 7 ]= q;
    514519  C[ 3, 7 ]= Q;
    515   ncalgebra(C,D); // the V_q(sl3) is done
     520  ncalgebra(C,D); // the V_q(makeUsl3) is done
    516521  ideal Qideal = k1*l1-1,  k2*l2-1;
    517522  Qideal = twostd(Qideal);
     
    521526example
    522527{ "EXAMPLE:"; echo = 2;
    523    def B = Qsl3(5);
     528   def B = makeQsl3(5);
    524529   setring B;
    525530   qring Usl3q = Qideal;
     
    536541@*        @code{v}    is an optional intvec.
    537542@* In addition, the ideal called @code{GKZid} containing actual equations is calculated and exported to the ring.
    538 NOTE:    activate the ring with the \"setring\" command. This procedure is elaborated by Oleksandr Yena
     543NOTE:    activate the ring with the @code{setring} command. This procedure is elaborated by Oleksandr Yena
    539544ASSUME: This procedure uses toric_lib and therefore inherits its input requirements:
    540545@*        possible values for input variable @code{alg} are: \"ect\",\"pt\",\"blr\", \"hs\", \"du\".
  • Singular/LIB/ncdecomp.lib

    r46f327b r4caa6c  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: ncdecomp.lib,v 1.10 2005-05-18 18:09:12 levandov Exp $";
     2version="$Id: ncdecomp.lib,v 1.11 2005-05-18 20:51:15 levandov Exp $";
    33category="Noncommutative";
    44info="
     
    128128{ "EXAMPLE:"; echo = 2;
    129129   option(returnSB);
    130    def a = sl2();
     130   def a = makeUsl2();
    131131   setring a;
    132132   ideal I = e3,f3,h3-4*h;
     
    167167{ "EXAMPLE:"; echo = 2;
    168168   option(returnSB);
    169    def a = sl2();
     169   def a = makeUsl2();
    170170   setring a;
    171171   ideal I = e3,f3,h3-4*h;
     
    318318{ "EXAMPLE:"; echo = 2;
    319319   option(returnSB);
    320    def a = sl2(); // U(sl_2) in characteristic 0
     320   def a = makeUsl2(); // U(sl_2) in characteristic 0
    321321   setring a;
    322322   ideal I = e3,f3,h3-4*h;
  • Singular/LIB/nctools.lib

    r46f327b r4caa6c  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: nctools.lib,v 1.14 2005-05-18 18:09:12 levandov Exp $";
     2version="$Id: nctools.lib,v 1.15 2005-05-18 20:51:16 levandov Exp $";
    33category="Noncommutative";
    44info="
     
    665665"USAGE:  makeHeisenberg(n, [p,d]); int n (setting 2n+1 variables), optional int p (field characteristic), optional int d (power of h in the commutator)
    666666RETURN: nothing
    667 PURPOSE: create an n-th Heisenberg algebra in the variables
    668 x(1),y(1),...,x(n),y(n),h
     667PURPOSE: create an n-th Heisenberg algebra in the variables x(1),y(1),...,x(n),y(n),h
    669668SEE ALSO: makeWeyl
    670669NOTE: activate this ring with the \"setring\" command
     
    714713PURPOSE:  create the exterior algebra of a basering
    715714NOTE:  activate this qring with the \"setring\" command
    716 THEORY: given a basering, this procedure introduces the anticommutative relations x(j)x(i)=-x(i)x(j) for all j>i and, moreover, creates a factor algebra modulo the two-sided ideal, generated by x(i)^2 for all i
     715THEORY: given a basering, this procedure introduces the anticommutative relations x(j)x(i)=-x(i)x(j) for all j>i,
     716@* moreover, creates a factor algebra modulo the two-sided ideal, generated by x(i)^2 for all i
    717717EXAMPLE: example Exterior; shows examples
    718718"
Note: See TracChangeset for help on using the changeset viewer.