Index: Singular/LIB/schreyer.lib
===================================================================
--- Singular/LIB/schreyer.lib	(revision daa4e53f3b95f4242ea851541c7e3e0470446fa4)
+++ Singular/LIB/schreyer.lib	(revision da9d522d025bd8d8edf9686d84441705b53f89bd)
@@ -556,5 +556,5 @@
 static proc SSinit(def M)
 {
-  rtimer, "***TIMESNAP0 for SSinit: on level: [",-1,"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP0 for SSinit: on level: [",-1,"] :: t: ", timer, ", r: ", rtimer;
   if( (typeof(M) != "module") && (typeof(M) != "ideal") )
   {
@@ -800,5 +800,5 @@
   export TRES;
 
-  rtimer, "***TIMESNAP1 for SSinit: on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP1 for SSinit: on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
   
   return (S);
@@ -1578,5 +1578,5 @@
 proc SSComputeSyzygy(def L, def T)
 {
-  rtimer, "***TIMESNAP0 for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP0 for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
   int @DEBUG = attrib(basering, "DEBUG");
   int @KERCHECK = attrib(basering, "KERCHECK");
@@ -1595,7 +1595,7 @@
 
 //  option(prot); 
-  rtimer, "***TIME for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIME for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
   list @res=ComputeSyzygy(L,T);
-  rtimer, "***TIME for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIME for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
 //  option(noprot); // TODO: restore!
 
@@ -1767,5 +1767,5 @@
   }
 
-  rtimer, "***TIMESNAP1 for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP1 for ComputeSyzygy(L,T): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
   return (@SYZ, @LL, @TT);
 }
@@ -1774,5 +1774,5 @@
 static proc SSstep()
 {
-  rtimer, "***TIMESNAP0 for SSstep(): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP0 for SSstep(): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
   
   int @DEBUG = attrib(basering, "DEBUG");
@@ -1902,5 +1902,5 @@
   attrib(basering, "SYZNUMBER", ss + 1 );
 
-  rtimer, "***TIMESNAP1 for SSstep(): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP1 for SSstep(): on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
 }
 
@@ -1914,5 +1914,5 @@
 "
 {
-  rtimer, "***TIMESNAP0 for SScontinue: on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP0 for SScontinue: on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
 
   /// TODO!
@@ -1928,5 +1928,5 @@
   }
   
-  rtimer, "***TIMESNAP1 for SScontinue: on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
+//  rtimer, "***TIMESNAP1 for SScontinue: on level: [",attrib(basering,"SYZNUMBER"),"] :: t: ", timer, ", r: ", rtimer;
 
 }
@@ -2020,5 +2020,5 @@
     ERROR("Sorry: need an ideal or a module for input");
   }
-
+/*
   "KERCHECK: ", attrib(SSinit, "KERCHECK");
   "SYZCHECK: ", attrib(SSinit, "SYZCHECK");
@@ -2027,7 +2027,8 @@
   "TAILREDSYZ: ", attrib(SSinit, "TAILREDSYZ");
   "LEAD2SYZ: ", attrib(SSinit, "LEAD2SYZ");
-
+*/
   
   def SS = SSinit(M); setring SS;
+/*  
   "KERCHECK: ", attrib(SS, "KERCHECK");
   "SYZCHECK: ", attrib(SS, "SYZCHECK");
@@ -2039,5 +2040,5 @@
   "IGNORETAILS: ", attrib(SS, "IGNORETAILS");
   "SYZNUMBER: ", attrib(SS, "SYZNUMBER");
-
+*/
   if (l == 0)
   {
@@ -2048,5 +2049,5 @@
 
   SScontinue(l);
-
+/*
   "KERCHECK: ", attrib(SS, "KERCHECK");
   "SYZCHECK: ", attrib(SS, "SYZCHECK");
@@ -2058,5 +2059,5 @@
   "IGNORETAILS: ", attrib(SS, "IGNORETAILS");
   "SYZNUMBER: ", attrib(SS, "SYZNUMBER");
-  
+*/  
   return (SS);
 }
@@ -2255,16 +2256,18 @@
   { ERROR("Sorry: existing global variable @save_res_list - run StopAddResTesting before another Start!!!"); }
   
-  ">>>>>>>>> {{{{{{{{{ STARTING TESTING ('" + string(#) + "') :::::::::::: ";
+  string @save_res_desc = string(#);
+  ">>>>>>>>> {{{{{{{{{ STARTING TESTING ('" + @save_res_desc + "') :::::::::::: ";
   
   list @save_res_list = list(); 
   export @save_res_list;
-}
-
-/*static*/ proc  StopResTesting(list #)
+  export @save_res_desc;
+}
+
+/*static*/ proc  StopResTesting()
 {
   if( defined(@save_opts) || defined(@save_method) || defined(@save_desc) )
   { ERROR("Sorry: existing global variables - run StopAddResTest before another Start!!!"); }
 
-  if( !defined(@save_res_list) ) 
+  if( !defined(@save_res_list) || !defined(@save_res_desc) ) 
   { ERROR("Sorry: no global variable - run StartResTesting beforehand!!!"); }
   
@@ -2304,5 +2307,5 @@
   {
     print(@save_res_list);
-    "<<<<<<<<< }}}}}}}}}  STOP TESTING (", string(#),  ") !!!!!!!!!!!! ";
+    "<<<<<<<<< }}}}}}}}}  STOP TESTING (", @save_res_desc,  ") !!!!!!!!!!!! ";
     
     "ERROR: There were some wrong betti numbers... ";
@@ -2314,6 +2317,7 @@
 
   kill @save_res_list;
-  
-  "<<<<<<<<< }}}}}}}}}  STOP TESTING (", string(#),  ") !!!!!!!!!!!! ";  
+    
+  "<<<<<<<<< }}}}}}}}}  STOP TESTING (", @save_res_desc,  ") !!!!!!!!!!!! ";
+  kill @save_res_desc;
 }
 
@@ -2410,14 +2414,19 @@
 {
   def save = basering;
-  int @t,@m,r,rr,i; 
+  int @t,@m,r,rr,i;
+  string name = 
+    "LEAD2SYZ:"  +string(attrib(SSinit,"LEAD2SYZ")) +
+    ",TAILREDSYZ:"+string(attrib(SSinit,"TAILREDSYZ")) +
+    ",HYBRIDNF:"  +string(attrib(SSinit,"HYBRIDNF"));
+
+
   StartAddResTest(
    "SSres",
-   "minres + betti(,1) + mods: " + 
-    "{LEAD2SYZ:"  +string(attrib(SSinit,"LEAD2SYZ")) +
-    ";TAILREDSYZ:"+string(attrib(SSinit,"TAILREDSYZ")) +
-    ";HYBRIDNF:"  +string(attrib(SSinit,"HYBRIDNF")) + "}"
+   "minres + betti(,1) + mods: {" + name + "}"
   );
-  option(redSB); option(redTail);  
-  timer=0;rtimer=0;def R=SSres(I,0);@m=rtimer;setring R;module M;list @l=list();@l[size(RES)-1]=list();r=nrows(RES[1]);for(i=2;i<=size(RES);i++){M=RES[i];rr=nrows(M);if((r>0)&&(size(M)>0)&&(r<rr)){M=transpose(M);M=M[(r+1)..ncols(M)];M=transpose(M);RES[i]=M;};r=rr;@l[i-1] = M;};resolution RR=@l;RR=minres(RR);def S=betti(RR,1);@t=rtimer;
+  
+  option(redSB); option(redTail);
+  timer=0;rtimer=0;def R=SSres(I,0);@m=rtimer;
+  setring R;module M;list @l=list();@l[size(RES)-1]=list();r=nrows(RES[1]);for(i=2;i<=size(RES);i++){M=RES[i];rr=nrows(M);if((r>0)&&(size(M)>0)&&(r<rr)){M=transpose(M);M=M[(r+1)..ncols(M)];M=transpose(M);RES[i]=M;};r=rr;@l[i-1] = M;};resolution RR=@l;RR=minres(RR);def S=betti(RR,1);@t=rtimer;
   SCheck(R);
   StopAddResTest(RR, S, @t,@m); 
@@ -2506,5 +2515,5 @@
 //  attrib(SSinit, "LEAD2SYZ", 0); attrib(SSinit, "TAILREDSYZ", 0); attrib(SSinit, "HYBRIDNF", 1); TestSSres(M);
 
-  StopResTesting(#);
+  StopResTesting();
 
 }
@@ -2529,5 +2538,5 @@
 //  TestSres(M); // too long for the last medium test :(
 
-  StopResTesting(#);
+  StopResTesting();
 }
 
@@ -2548,19 +2557,23 @@
   attrib(SSinit, "KERCHECK", 1); 
 
-  ring r; r; ideal M = maxideal(1); M;
+  ring r; r; ideal M = maxideal(1); 
+//  M;
   TestSSresAttribs(M, "<" + string(M) + "> in " + string(basering));
   kill r;
 
-  ring r = 0, (a, b, c, d), lp; r; ideal M = maxideal(1); M;
+  ring r = 0, (a, b, c, d), lp; r; ideal M = maxideal(1); 
+//  M;
   TestSSresAttribs(M, "<" + string(M) + "> in " + string(basering));
   kill r;
 
   ring R = 0, (w, x, y, z), dp; R;
-  ideal M = w^2 - x*z,  w*x - y*z,  x^2 - w*y, x*y - z^2, y^2 - w*z; M;
+  ideal M = w^2 - x*z,  w*x - y*z,  x^2 - w*y, x*y - z^2, y^2 - w*z; 
+//  M;
   TestSSresAttribs(M, "<" + string(M) + "> in " + string(basering));
   kill R;
 
 
-  ring r = 0, (a, b, c, d, e, f), dp; r; ideal M = maxideal(1); M;
+  ring r = 0, (a, b, c, d, e, f), dp; r; ideal M = maxideal(1); 
+//  M;
   TestSSresAttribs(M, "<" + string(M) + "> in " + string(basering));
   kill r;  
@@ -2569,10 +2582,10 @@
   // simple: AGR@101n3d002s004%1:
   ideal M = c*d, b*d, a*d, c^2-d^2, b*c, a*c, b^2-d^2, a*b, a^2-d^2;
-  M;
+//  M;
   TestSSresAttribs(M, "simple: AGR@101n3d002s004%1");
 
   // medium: AGR@101n3d004s009%1;
   M = a*b+7*a*c-16*b*c-27*a*d+37*b*d-2*c*d, d^3, c*d^2, b*d^2, a*d^2, c^2*d, b*c*d, a*c*d, b^2*d, a^2*d, c^3, b*c^2, a*c^2, b^2*c, a^2*c, b^3, a^3;
-  M;
+//  M;
   TestSSresAttribs(M, "medium: AGR@101n3d004s009%1");
 }
@@ -2595,11 +2608,11 @@
   // lengthy: AGR@101n3d008s058%3, kernel only!
   ideal M = c^4*d^2+4*a^3*d^3+29*a^2*b*d^3-2*a*b^2*d^3+2*b^3*d^3-21*a^2*c*d^3+46*a*b*c*d^3+2*b^2*c*d^3-13*a*c^2*d^3+32*b*c^2*d^3+46*c^3*d^3-28*a^2*d^4+4*a*b*d^4+29*b^2*d^4-8*a*c*d^4+33*b*c*d^4-16*c^2*d^4+17*a*d^5-3*b*d^5-42*c*d^5+47*d^6,b*c^3*d^2+35*a^3*d^3+24*a^2*b*d^3+46*a*b^2*d^3-22*b^3*d^3-48*a^2*c*d^3+20*a*b*c*d^3-28*b^2*c*d^3-40*a*c^2*d^3-4*b*c^2*d^3+35*c^3*d^3-21*a^2*d^4+3*a*b*d^4+8*b^2*d^4-2*a*c*d^4-22*b*c*d^4+24*c^2*d^4+44*a*d^5+33*b*d^5+31*c*d^5+26*d^6,a*c^3*d^2-42*a^3*d^3+34*a^2*b*d^3-10*a*b^2*d^3+30*b^3*d^3-6*a^2*c*d^3-30*a*b*c*d^3-34*b^2*c*d^3+29*a*c^2*d^3+35*b*c^2*d^3+13*c^3*d^3+8*a^2*d^4+23*a*b*d^4-29*b^2*d^4+12*a*c*d^4-22*b*c*d^4-50*c^2*d^4-4*b*d^5+9*c*d^5+13*d^6,b^2*c^2*d^2+a^3*d^3-49*a^2*b*d^3+26*a*b^2*d^3+20*b^3*d^3+24*a^2*c*d^3-2*a*b*c*d^3+31*b^2*c*d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^3-41*a^2*c*d^3+14*a*b*c*d^3-34*b^2*c*d^3+7*a*c^2*d^3-6*b*c^2*d^3+31*c^3*d^3+30*a^2*d^4+12*a*b*d^4-17*b^2*d^4-7*a*c*d^4-45*b*c*d^4+10*c^2*d^4+29*a*d^5-28*b*d^5+34*c*d^5-15*d^6,a^6-33*a^3*d^3-45*a^2*b*d^3+19*a*b^2*d^3+39*b^3*d^3-5*a^2*c*d^3-46*a*b*c*d^3+9*b^2*c*d^3+15*a*c^2*d^3-21*b*c^2*d^3+46*c^3*d^3-39*a^2*d^4-9*a*b*d^4+50*b^2*d^4-45*a*c*d^4-39*b*c*d^4-18*c^2*d^4-4*a*d^5-19*b*d^5+12*c*d^5+39*d^6,d^7,c*d^6,b*d^6,a*d^6,c^2*d^5,b*c*d^5,a*c*d^5,b^2*d^5,a*b*d^5,a^2*d^5,c^3*d^4,b*c^2*d^4,a*c^2*d^4,b^2*c*d^4,a*b*c*d^4,a^2*c*d^4,b^3*d^4,a*b^2*d^4,a^2*b*d^4,a^3*d^4;
-  M;
-  TestSSresAttribs2tr(M, "lengthy: AGR@101n3d008s058%3");
+//  M;
+  TestSSresAttribs2tr(M, "AGR@101n3d008s058%3");
 
   // AGR@101n3d010s010%3, a bit slower...
   M = a^2*b^5-50*a*b^6-26*a^6*c+15*a^5*b*c-42*a^4*b^2*c-2*a^3*b^3*c+40*a^2*b^4*c-20*a*b^5*c+11*b^6*c-17*a^5*c^2-4*a^4*b*c^2+13*a^3*b^2*c^2-7*a^2*b^3*c^2+13*a*b^4*c^2-46*b^5*c^2+38*a^4*c^3+32*a^3*b*c^3-49*a^2*b^2*c^3-41*a*b^3*c^3+9*b^4*c^3+17*a^3*c^4-23*a^2*b*c^4+46*a*b^2*c^4+9*b^3*c^4-20*a^2*c^5-34*a*b*c^5-46*b^2*c^5-3*a*c^6+11*b*c^6-22*a^6*d-5*a^5*b*d-21*a^4*b^2*d-43*a^3*b^3*d-29*a^2*b^4*d+43*a*b^5*d-2*b^6*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d^7+13*d^8,d^9,c*d^8,b*d^8,a*d^8,c^2*d^7;
-  M;
-  TestSSresAttribs2tr(M, "AGR@101n3d010s010%3, a bit slower...");  
+//  M;
+  TestSSresAttribs2tr(M, "AGR@101n3d010s010%3");  
   kill AGR;
 
@@ -2609,6 +2622,6 @@
 f*h-g*h,e*h-g*h,d*h-g*h,c*h-g*h,b*h-g*h,a*h-g*h,e*g+48*f*g-49*g*h,d*g+5*f*g-6*g*h,c*g+49*f*g-50*g*h,b*g-7*f*g+6*g*h,a*g-50*f*g+49*g*h,e*f-20*f*g+19*g*h,d*f+40*f*g-41*g*h,c*f-12*f*g+11*g*h,b*f+45*f*g-46*g*h,a*f+4*f*g-5*g*h,d*e-f*g,c*e-30*f*g+29*g*h,b*e-39*f*g+38*g*h,a*e+10*f*g-11*g*h,c*d-41*f*g+40*g*h,b*d-23*f*g+22*g*h,a*d-20*f*g+19*g*h,b*c+17*f*g-18*g*h,a*c+6*f*g-7*g*h,a*b+28*f*g-29*g*h,g^2*h-g*h^2,f^2*g-8*f*g^2+7*g*h^2,g*h^4+50*h^5,g^5+41*h^5,f*g^4-18*h^5,f^5+29*h^5,e^5+6*h^5,d^5-23*h^5,c^5-32*h^5,
 b^5+17*h^5,a^5+17*h^5,h^6;
-  M;
-  TestSSresAttribs2tr(M, "AGR@101n7d005s010%2, medium");
+//  M;
+  TestSSresAttribs2tr(M, "AGR@101n7d005s010%2");
 /*
 options:  1 1 0 :  Time:  3/10
@@ -2664,5 +2677,5 @@
 b^3*d*e^2, a*b^2*d*e^2, a^2*b*d*e^2, a^3*d*e^2, c^4*e^2, b*c^3*e^2, a*c^3*e^2,
 b^2*c^2*e^2, a*b*c^2*e^2;
-  M;
+//  M;
   TestSSresAttribs2tr(M, "AGR101n4d007s021%4");
 /*
@@ -2742,6 +2755,6 @@
 b^2*d^3*e^2, a*b*d^3*e^2, a^2*d^3*e^2, c^3*d^2*e^2, b*c^2*d^2*e^2,
 a*c^2*d^2*e^2, b^2*c*d^2*e^2, a*b*c*d^2*e^2;
-  M;
-  TestSSresAttribs2tr(M, "AGR101n4d008s020%1, too big?");
+//  M;
+  TestSSresAttribs2tr(M, "AGR101n4d008s020%1_big");
 /*
 options:  1 1 0 :  Time:  29/32/73/92 (316 without LCM)
@@ -2760,7 +2773,7 @@
   ideal M = 
 b*d-13*c*d+7*a*e-32*b*e+31*c*e+3*d*e+46*a*f-13*b*f+22*c*f-19*d*f-33*e*f, a*d+2*c*d-42*a*e+46*b*e+7*c*e-38*d*e+31*a*f+9*b*f+27*c*f-19*d*f-24*e*f, b*c-35*c*d-34*a*e+4*b*e+33*c*e+23*d*e+4*a*f-43*b*f+43*c*f+17*d*f-13*e*f, a*c+49*c*d-28*a*e+18*b*e-23*c*e+3*d*e-5*a*f-23*b*f+2*c*f+46*d*f-40*e*f, a*b-38*c*d+a*e-49*b*e-20*c*e+32*d*e+13*a*f+25*b*f+37*c*f-27*d*f+25*e*f, f^4, e*f^3, d*f^3, c*f^3, b*f^3, a*f^3, e^2*f^2, d*e*f^2, c*e*f^2, b*e*f^2, a*e*f^2, d^2*f^2, c*d*f^2, c^2*f^2, b^2*f^2, a^2*f^2, e^3*f, d*e^2*f, c*e^2*f, b*e^2*f, a*e^2*f, d^2*e*f, d^3*f, c^3*f, b^3*f, a^3*f, e^4, d^4, c^4, b^4, a^4;
-M;
-
-  TestSSresAttribs(M, "AGR@101n5d005s016%1, new, medium difficulty?");
+// M;
+
+  TestSSresAttribs(M, "AGR@101n5d005s016%1");
 /*
  * ?
@@ -2788,5 +2801,5 @@
   ideal M = 
 b*d+47*c*d-27*a*e+37*b*e+21*c*e+31*d*e-31*a*f+23*b*f+47*c*f+42*d*f+11*e*f, a*d+7*c*d+19*a*e+28*b*e-33*c*e-28*d*e+15*a*f+28*b*f+47*c*f+3*d*f+14*e*f, b*c+29*c*d-25*a*e+12*b*e+23*c*e-50*d*e-17*a*f+30*b*f-37*c*f+35*d*f-e*f, a*c+46*c*d+12*a*e+27*b*e+39*c*e+23*d*e-45*a*f+39*b*f-35*c*f+4*d*f-10*e*f, a*b+38*c*d-18*a*e-34*b*e-30*c*e+38*d*e+22*a*f+34*b*f+39*c*f+30*d*f-19*e*f, f^5, e*f^4, d*f^4, c*f^4, b*f^4, a*f^4, e^2*f^3, d*e*f^3, c*e*f^3, b*e*f^3, a*e*f^3, d^2*f^3, c*d*f^3, c^2*f^3, b^2*f^3, a^2*f^3, e^3*f^2, d*e^2*f^2, c*e^2*f^2, b*e^2*f^2, a*e^2*f^2, d^2*e*f^2, d^3*f^2, c^3*f^2, b^3*f^2, a^3*f^2, e^4*f, e^5, d^5, c^5, b^5, a^5;
-  TestSSresAttribs(M, "AGR@101n5d006s016%1, new, hard!?");
+  TestSSresAttribs(M, "AGR@101n5d006s016%1_hard");
 /*
  * ?
@@ -2797,5 +2810,5 @@
 
 
-
+/*
 proc testAGRFrame()
 {
@@ -2811,27 +2824,26 @@
 
   ring AGR = (101), (a, b, c, d), dp; AGR;
-  // lengthy: AGR@101n3d008s058%3, kernel only!
+  "lengthy: AGR@101n3d008s058%3, kernel only!";
   ideal M = c^4*d^2+4*a^3*d^3+29*a^2*b*d^3-2*a*b^2*d^3+2*b^3*d^3-21*a^2*c*d^3+46*a*b*c*d^3+2*b^2*c*d^3-13*a*c^2*d^3+32*b*c^2*d^3+46*c^3*d^3-28*a^2*d^4+4*a*b*d^4+29*b^2*d^4-8*a*c*d^4+33*b*c*d^4-16*c^2*d^4+17*a*d^5-3*b*d^5-42*c*d^5+47*d^6,b*c^3*d^2+35*a^3*d^3+24*a^2*b*d^3+46*a*b^2*d^3-22*b^3*d^3-48*a^2*c*d^3+20*a*b*c*d^3-28*b^2*c*d^3-40*a*c^2*d^3-4*b*c^2*d^3+35*c^3*d^3-21*a^2*d^4+3*a*b*d^4+8*b^2*d^4-2*a*c*d^4-22*b*c*d^4+24*c^2*d^4+44*a*d^5+33*b*d^5+31*c*d^5+26*d^6,a*c^3*d^2-42*a^3*d^3+34*a^2*b*d^3-10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*c*d^5+30*d^6,a^4*b^2+36*a^3*d^3+9*a^2*b*d^3-31*b^3*d^3+50*a^2*c*d^3+41*a*b*c*d^3+40*b^2*c*d^3+48*a*c^2*d^3-41*b*c^2*d^3-17*c^3*d^3+33*a^2*d^4+47*a*b*d^4+22*b^2*d^4+2*a*c*d^4+23*b*c*d^4-47*c^2*d^4+34*a*d^5-15*b*d^5-33*c*d^5-38*d^6,a^5*b-12*a^3*d^3-38*a^2*b*d^3+46*a*b^2*d^3-32*b^3*d^3-41*a^2*c*d^3+14*a*b*c*d^3-34*b^2*c*d^3+7*a*c^2*d^3-6*b*c^2*d^3+31*c^3*d^3+30*a^2*d^4+12*a*b*d^4-17*b^2*d^4-7*a*c*d^4-45*b*c*d^4+10*c^2*d^4+29*a*d^5-28*b*d^5+34*c*d^5-15*d^6,a^6-33*a^3*d^3-45*a^2*b*d^3+19*a*b^2*d^3+39*b^3*d^3-5*a^2*c*d^3-46*a*b*c*d^3+9*b^2*c*d^3+15*a*c^2*d^3-21*b*c^2*d^3+46*c^3*d^3-39*a^2*d^4-9*a*b*d^4+50*b^2*d^4-45*a*c*d^4-39*b*c*d^4-18*c^2*d^4-4*a*d^5-19*b*d^5+12*c*d^5+39*d^6,d^7,c*d^6,b*d^6,a*d^6,c^2*d^5,b*c*d^5,a*c*d^5,b^2*d^5,a*b*d^5,a^2*d^5,c^3*d^4,b*c^2*d^4,a*c^2*d^4,b^2*c*d^4,a*b*c*d^4,a^2*c*d^4,b^3*d^4,a*b^2*d^4,a^2*b*d^4,a^3*d^4;
-  M;
+//  M;
   TestSSresAttribs(M);  
 
-  // AGR@101n3d010s010%3, a bit slower...
+  "AGR@101n3d010s010%3, a bit slower...";
   M = a^2*b^5-50*a*b^6-26*a^6*c+15*a^5*b*c-42*a^4*b^2*c-2*a^3*b^3*c+40*a^2*b^4*c-20*a*b^5*c+11*b^6*c-17*a^5*c^2-4*a^4*b*c^2+13*a^3*b^2*c^2-7*a^2*b^3*c^2+13*a*b^4*c^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7+26*d^8,a^6*c^2+47*c^2*d^6-41*a*d^7+32*b*d^7+6*c*d^7+42*d^8,b^7*c+44*c^2*d^6-6*a*d^7+5*b*d^7+20*c*d^7+50*d^8,a*b^6*c+29*c^2*d^6-16*a*d^7+45*b*d^7-3*c*d^7+14*d^8,b^8+48*c^2*d^6-40*a*d^7-44*b*d^7-10*c*d^7-23*d^8,a*b^7-32*c^2*d^6-41*a*d^7-11*b*d^7+50*c*d^7+13*d^8,d^9,c*d^8,b*d^8,a*d^8,c^2*d^7;
-  M;
+//  M;
   TestSSresAttribs(M);  
   kill AGR;
 
   ring AGR = (101), (a,b,c,d,e,f,g,h), dp; AGR;
-  // AGR@101n7d005s010%2) medium: <= 2
+  "AGR@101n7d005s010%2_medium";
   ideal M = 
 f*h-g*h,e*h-g*h,d*h-g*h,c*h-g*h,b*h-g*h,a*h-g*h,e*g+48*f*g-49*g*h,d*g+5*f*g-6*g*h,c*g+49*f*g-50*g*h,b*g-7*f*g+6*g*h,a*g-50*f*g+49*g*h,e*f-20*f*g+19*g*h,d*f+40*f*g-41*g*h,c*f-12*f*g+11*g*h,b*f+45*f*g-46*g*h,a*f+4*f*g-5*g*h,d*e-f*g,c*e-30*f*g+29*g*h,b*e-39*f*g+38*g*h,a*e+10*f*g-11*g*h,c*d-41*f*g+40*g*h,b*d-23*f*g+22*g*h,a*d-20*f*g+19*g*h,b*c+17*f*g-18*g*h,a*c+6*f*g-7*g*h,a*b+28*f*g-29*g*h,g^2*h-g*h^2,f^2*g-8*f*g^2+7*g*h^2,g*h^4+50*h^5,g^5+41*h^5,f*g^4-18*h^5,f^5+29*h^5,e^5+6*h^5,d^5-23*h^5,c^5-32*h^5,
 b^5+17*h^5,a^5+17*h^5,h^6;
-  M;
+//  M;
   TestSSresAttribs(M);  
-/*
-with tails:
-options:  1 1 0 :  Time:  3/10
-options:  1 1 1 :  Time:  2/6
-*/
+// with tails:
+// options:  1 1 0 :  Time:  3/10
+// options:  1 1 1 :  Time:  2/6
+
   kill AGR;
 
@@ -2840,5 +2852,6 @@
   ring AGR = (101), (a,b,c,d,e), dp; AGR;
 
-  // AGR101n4d007s021%4
+  "AGR101n4d007s021%4... too hard?";
+  
   ideal M = b^3*c*d-44*a*b*c^2*d-23*b^2*c^2*d-17*a*c^3*d+25*b*c^3*d-28*c^4*d+21*a^3*d^2+28*a^2*b*d^2+45*a*b^2*d^2-45*b^3*d^2+39*a^2*c*d^2+50*a*b*c*d^2-31*b^2*c*d^2+25*a*c^2*d^2-42*b*c^2*d^2-6*c^3*d^2+10*a^2*d^3-18*a*b*d^3-21*b^2*d^3-9*a*c*d^3+37*b*c*d^3-18*c^2*d^3+5*a*d^4+b*d^4-18*c*d^4+23*d^5-5*a^4*e+6*a^3*b*e-21*a^2*b^2*e-28*a*b^3*e+11*b^4*e+19*a^3*c*e+29*a^2*b*c*e-25*a*b^2*c*e-8*b^3*c*e+17*a^2*c^2*e+45*a*b*c^2*e-28*b^2*c^2*e+22*a*c^3*e+33*b*c^3*e+27*c^4*e-50*a^3*d*e+11*a^2*b*d*e-45*a*b^2*d*e-5*b^3*d*e-2*a^2*c*d*e-30*a*b*c*d*e-17*b^2*c*d*e-45*a*c^2*d*e+12*b*c^2*d*e-8*c^3*d*e+12*a^2*d^2*e+a*b*d^2*e-13*b^2*d^2*e-20*a*c*d^2*e+47*b*c*d^2*e-10*c^2*d^2*e+8*a*d^3*e+32*b*d^3*e-8*c*d^3*e+47*d^4*e+43*a^3*e^2+23*a^2*b*e^2+12*a*b^2*e^2+25*b^3*e^2-23*a^2*c*e^2-12*a*b*c*e^2+5*b^2*c*e^2-25*a*c^2*e^2-8*b*c^2*e^2-48*c^3*e^2+22*a^2*d*e^2+27*a*b*d*e^2-21*b^2*d*e^2+35*a*c*d*e^2-5*b*c*d*e^2+14*c^2*d*e^2+3*a*d^2*e^2-35*b*d^2*e^2+24*c*d^2*e^2-12*d^3*e^2-30*a^2*e^3+5*a*b*e^3-29*b^2*e^3-17*a*c*e^3-41*b*c*e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+37*a*d*e^3-18*b*d*e^3+32*c*d*e^3-2*d^2*e^3-31*a*e^4+18*b*e^4-35*c*e^4+9*d*e^4-49*e^5,
@@ -2880,11 +2893,9 @@
 b^3*d*e^2, a*b^2*d*e^2, a^2*b*d*e^2, a^3*d*e^2, c^4*e^2, b*c^3*e^2, a*c^3*e^2,
 b^2*c^2*e^2, a*b*c^2*e^2;
-  M;
+//  M;
   TestSSresAttribs(M);  
-/*
-with tails:
-options:  1 1 0 :  Time:  5/9/10 (35 without LCM)
-options:  1 1 1 :  Time:  6/8/25
-*/
+// with tails:
+// options:  1 1 0 :  Time:  5/9/10 (35 without LCM)
+// options:  1 1 1 :  Time:  6/8/25
 
   kill M;
@@ -2959,9 +2970,7 @@
   M;
   TestSSresAttribs(M);  
-/*
-with tails
-options:  1 1 0 :  Time:  34/73/92 (316 without LCM)
-options:  1 1 1 :  Time:  35/43/202
-*/
+// with tails
+// options:  1 1 0 :  Time:  34/73/92 (316 without LCM)
+// options:  1 1 1 :  Time:  35/43/202
   kill M;
 
@@ -2973,9 +2982,7 @@
 
   TestSSresAttribs(M);  
-/*
- * ?
- */
  kill M;
 }
-
-// TODO: betti!!!
+*/
+
+// TODO: faster betties!!!
Index: dyn_modules/syzextra/syzextra.cc
===================================================================
--- dyn_modules/syzextra/syzextra.cc	(revision daa4e53f3b95f4242ea851541c7e3e0470446fa4)
+++ dyn_modules/syzextra/syzextra.cc	(revision da9d522d025bd8d8edf9686d84441705b53f89bd)
@@ -294,4 +294,5 @@
         if( (p_GetExp(p, var, r) != 0) && (p_GetExp(t, var, r) != 0) )
         {       
+#ifndef NDEBUG
           if( __DEBUG__ || 0)
           {         
@@ -299,4 +300,5 @@
             dPrint(p, r, r, 1);
           }
+#endif	   
           coprime = false; // t not coprime with p!
           break;
@@ -312,4 +314,5 @@
         coprime = ( syzChecker.IsDivisible(ss) );
 
+#ifndef NDEBUG
         if( __DEBUG__ && !coprime)
         {         
@@ -317,5 +320,6 @@
           dPrint(ss, r, r, 1);
         }
-
+#endif
+	 
         p_LmDelete(&ss, r); // deletes coeff as well???
       }
@@ -323,7 +327,9 @@
     }
 
+#ifndef NDEBUG
     if( __DEBUG__ && coprime )
       PrintS("CReducerFinder::PreProcessTerm, the following 't' is 'co-prime' with all of leading terms! \n");
-
+#endif
+     
     return coprime? 3: 0; // t was coprime with all of leading terms!!! 
 
@@ -342,4 +348,5 @@
   const ring r = m_rBaseRing;
 
+#ifndef NDEBUG
   if( __DEBUG__ || 0)
   {
@@ -349,4 +356,5 @@
 
   unsigned long pp[4] = {0,0,0,0}; // count preprocessed terms...
+#endif
 
   for( int p = IDELEMS(idTails) - 1; p >= 0; --p )
@@ -356,7 +364,12 @@
       const int k = m_div.PreProcessTerm(t, m_checker); // 0..3
       assume( 0 <= k && k <= 3 );
+
+#ifndef NDEBUG
       pp[k]++;
+#endif
+       
       if( k )
       {
+#ifndef NDEBUG
         if( __DEBUG__)
         {         
@@ -364,4 +377,5 @@
           dPrint(t, r, r, 1);
         }
+#endif
 
         (*tt) = p_LmDeleteAndNext(t, r); // delete the lead and next...
@@ -372,7 +386,10 @@
     }
 
+#ifndef NDEBUG
   if( TEST_OPT_PROT || 1)
     Print("      **!!**      SchreyerSyzygyComputation::SetUpTailTerms()::PreProcessing(): X: {c: %lu, C: %lu, P: %lu} + %lu\n", pp[1], pp[2], pp[3], pp[0]);
-
+#endif
+   
+#ifndef NDEBUG
   if( __DEBUG__ || 0)
   {
@@ -380,4 +397,6 @@
     dPrint(idTails, r, r, 0);
   }
+#endif
+   
 }
 /*  
@@ -722,8 +741,11 @@
 
   assume( IDELEMS(L) == IDELEMS(T) );
+#ifndef NDEBUG
   int t, r; 
-
+#endif
+   
   if( m_syzLeads == NULL )
   {   
+#ifndef NDEBUG
     if( TEST_OPT_PROT || 1)
     {
@@ -731,5 +753,7 @@
       Print("%5d **!TIME4!** SchreyerSyzygyComputation::ComputeSyzygy::ComputeLeadingSyzygyTerms: t: %d, r: %d\n", r, t, r);
     }
+#endif     
     ComputeLeadingSyzygyTerms( __LEAD2SYZ__ && !__IGNORETAILS__ ); // 2 terms OR 1 term!
+#ifndef NDEBUG
     if( TEST_OPT_PROT || 1)
     {
@@ -737,5 +761,6 @@
       Print("%5d **!TIME4!** SchreyerSyzygyComputation::ComputeSyzygy::ComputeLeadingSyzygyTerms: dt: %d, dr: %d\n", getRTimer(), t, r);
     }
-
+#endif
+     
   }
 
@@ -756,4 +781,5 @@
     if( T != NULL )
     {
+#ifndef NDEBUG
       if( TEST_OPT_PROT || 1 )
       {
@@ -761,7 +787,8 @@
         Print("%5d **!TIME4!** SchreyerSyzygyComputation::ComputeSyzygy::SetUpTailTerms(): t: %d, r: %d\n", r, t, r);
       }
-
+#endif
+       
       SetUpTailTerms();
-
+#ifndef NDEBUG
       if( TEST_OPT_PROT || 1)
       {
@@ -769,7 +796,9 @@
         Print("%5d **!TIME4!** SchreyerSyzygyComputation::ComputeSyzygy::SetUpTailTerms(): dt: %d, dr: %d\n", getRTimer(), t, r);
       }
+#endif
     }     
   }
 
+#ifndef NDEBUG
   if( TEST_OPT_PROT || 1)
   {
@@ -777,5 +806,6 @@
     Print("%5d **!TIME4!** SchreyerSyzygyComputation::ComputeSyzygy::SyzygyLift: t: %d, r: %d\n", r, t, r);
   }
-
+#endif
+   
   for( int k = size - 1; k >= 0; k-- )
   {
@@ -808,4 +838,5 @@
   }
 
+#ifndef NDEBUG
   if( TEST_OPT_PROT || 1)
   {
@@ -813,4 +844,5 @@
     Print("%5d **!TIME4!** SchreyerSyzygyComputation::ComputeSyzygy::SyzygyLift: dt: %d, dr: %d\n", getRTimer(), t, r);
   }
+#endif   
 
   TT->rank = id_RankFreeModule(TT, R);  
@@ -1084,4 +1116,5 @@
     m_rBaseRing( rootRingHdl->data.uring )
 {    
+#ifndef NDEBUG
   if( __DEBUG__ )
   {
@@ -1092,7 +1125,7 @@
     Print("   TAILREDSYZ: \t%d\n", __TAILREDSYZ__);
     Print("  IGNORETAILS: \t%d\n", __IGNORETAILS__);
-    
-  }
-
+  }
+#endif
+   
   // TODO: just current setting!
   assume( rootRingHdl == currRingHdl );
@@ -1317,4 +1350,5 @@
         if( Current().DivisibilityCheck(m_product, m_not_sev, m_rBaseRing) )
         {
+#ifndef NDEBUG
           if( __DEBUG__ )
           {
@@ -1322,5 +1356,5 @@
             dPrint(Current().m_lt, m_rBaseRing, m_rBaseRing, 1);
           }
-
+#endif
 //          m_active = true;
           return true;
@@ -1408,5 +1442,5 @@
       assume( p_sev == p_GetShortExpVector(p, r) );
 
-      Print("L[%d]: ", k); dPrint(p, r, r, 0); Print("SEV: %dl\n", p_sev);      
+      Print("L[%d]: ", k); dPrint(p, r, r, 0); Print("SEV: %dl\n", p_sev);
     }
   }
@@ -1490,4 +1524,5 @@
         if( Current().DivisibilityCheck(m_multiplier, m_term, m_not_sev, m_rBaseRing) )
         {
+#ifndef NDEBUG
           if( __DEBUG__ )
           {
@@ -1495,5 +1530,5 @@
             dPrint(Current().m_lt, m_rBaseRing, m_rBaseRing, 1);
           }
-
+#endif
 //          m_active = true;
           return true;
@@ -1565,4 +1600,88 @@
      
     p_ExpVectorSum(q, multiplier, t, r); // q == product == multiplier * t // TODO: do it once?
+    p_ExpVectorDiff(q, q, p, r); // (LM(product) / LM(L[k]))
+    
+    p_SetComp(q, k + 1, r);
+    p_Setm(q, r);
+
+    // cannot allow something like: a*gen(i) - a*gen(i)
+    if (syzterm != NULL && (k == c))
+      if (p_ExpVectorEqual(syzterm, q, r))
+      {
+#ifndef NDEBUG
+        if( __DEBUG__ )
+        {
+          Print("_FindReducer::Test SYZTERM: q == syzterm !:((, syzterm is: ");
+          dPrint(syzterm, r, r, 1);
+        }    
+#endif
+        continue;
+      }
+
+    // while the complement (the fraction) is not reducible by leading syzygies 
+    if( to_check && syz_checker.IsDivisible(q) ) 
+    {
+#ifndef NDEBUG
+      if( __DEBUG__ )
+      {
+        PrintS("_FindReducer::Test LS: q is divisible by LS[?] !:((: ");
+      }
+#endif
+      continue;
+    }
+
+    number n = n_Mult( p_GetCoeff(multiplier, r), p_GetCoeff(t, r), r);
+    p_SetCoeff0(q, n_Neg( n_Div(n, p_GetCoeff(p, r), r), r), r);
+    n_Delete(&n, r);
+    
+    return q;
+  }
+   
+/*
+  const long comp = p_GetComp(t, r); assume( comp >= 0 );
+  const unsigned long not_sev = ~p_GetShortExpVector(multiplier, t, r); // !
+
+//   for( int k = IDELEMS(L)-1; k>= 0; k-- )
+//   {
+//     const poly p = L->m[k];
+// 
+//     if ( p_GetComp(p, r) != comp )
+//       continue;
+// 
+//     const unsigned long p_sev = p_GetShortExpVector(p, r); // to be stored in m_hash!!!
+
+   // looking for an appropriate diviser p = L[k]...
+  CReducersHash::const_iterator it = m_hash.find(comp); // same module component
+
+  if( it == m_hash.end() )
+    return NULL;
+
+  assume( m_L != NULL );
+
+  const TReducers& reducers = it->second;
+
+  for(TReducers::const_iterator vit = reducers.begin(); vit != reducers.end(); vit++ )
+  {
+
+    const poly p = (*vit)->m_lt;
+    const int k = (*vit)->m_label;
+
+    assume( L->m[k] == p );
+
+//    const unsigned long p_sev = (*vit)->m_sev;
+//    assume( p_sev == p_GetShortExpVector(p, r) );     
+
+//    if( !p_LmShortDivisibleByNoComp(p, p_sev, product, not_sev, r) )
+//      continue;     
+
+    if( !(*vit)->DivisibilityCheck(multiplier, t, not_sev, r) )
+      continue;
+    
+    
+//    if (p_sev & not_sev) continue;
+//    if( !_p_LmDivisibleByNoComp(p, multiplier, t, r) ) continue;     
+
+
+    p_ExpVectorSum(q, multiplier, t, r); // q == product == multiplier * t        
     p_ExpVectorDiff(q, q, p, r); // (LM(product) / LM(L[k]))
     
@@ -1600,86 +1719,4 @@
     return q;
   }
-   
-/*
-  const long comp = p_GetComp(t, r); assume( comp >= 0 );
-  const unsigned long not_sev = ~p_GetShortExpVector(multiplier, t, r); // !
-
-//   for( int k = IDELEMS(L)-1; k>= 0; k-- )
-//   {
-//     const poly p = L->m[k];
-// 
-//     if ( p_GetComp(p, r) != comp )
-//       continue;
-// 
-//     const unsigned long p_sev = p_GetShortExpVector(p, r); // to be stored in m_hash!!!
-
-   // looking for an appropriate diviser p = L[k]...
-  CReducersHash::const_iterator it = m_hash.find(comp); // same module component
-
-  if( it == m_hash.end() )
-    return NULL;
-
-  assume( m_L != NULL );
-
-  const TReducers& reducers = it->second;
-
-  for(TReducers::const_iterator vit = reducers.begin(); vit != reducers.end(); vit++ )
-  {
-
-    const poly p = (*vit)->m_lt;
-    const int k = (*vit)->m_label;
-
-    assume( L->m[k] == p );
-
-//    const unsigned long p_sev = (*vit)->m_sev;
-//    assume( p_sev == p_GetShortExpVector(p, r) );     
-
-//    if( !p_LmShortDivisibleByNoComp(p, p_sev, product, not_sev, r) )
-//      continue;     
-
-    if( !(*vit)->DivisibilityCheck(multiplier, t, not_sev, r) )
-      continue;
-    
-    
-//    if (p_sev & not_sev) continue;
-//    if( !_p_LmDivisibleByNoComp(p, multiplier, t, r) ) continue;     
-
-
-    p_ExpVectorSum(q, multiplier, t, r); // q == product == multiplier * t        
-    p_ExpVectorDiff(q, q, p, r); // (LM(product) / LM(L[k]))
-    
-    p_SetComp(q, k + 1, r);
-    p_Setm(q, r);
-
-    // cannot allow something like: a*gen(i) - a*gen(i)
-    if (syzterm != NULL && (k == c))
-      if (p_ExpVectorEqual(syzterm, q, r))
-      {
-        if( __DEBUG__ )
-        {
-          Print("_FindReducer::Test SYZTERM: q == syzterm !:((, syzterm is: ");
-          dPrint(syzterm, r, r, 1);
-        }    
-
-        continue;
-      }
-
-    // while the complement (the fraction) is not reducible by leading syzygies 
-    if( to_check && syz_checker.IsDivisible(q) ) 
-    {
-      if( __DEBUG__ )
-      {
-        PrintS("_FindReducer::Test LS: q is divisible by LS[?] !:((: ");
-      }
-
-      continue;
-    }
-
-    number n = n_Mult( p_GetCoeff(multiplier, r), p_GetCoeff(t, r), r);
-    p_SetCoeff0(q, n_Neg( n_Div(n, p_GetCoeff(p, r), r), r), r);
-    n_Delete(&n, r);
-    
-    return q;
-  }
 */ 
 
@@ -1747,4 +1784,5 @@
       if (p_ExpVectorEqual(syzterm, q, r))
       {
+#ifndef NDEBUG
         if( __DEBUG__ )
         {
@@ -1752,5 +1790,5 @@
           dPrint(syzterm, r, r, 1);
         }    
-
+#endif
         continue;
       }
@@ -1759,9 +1797,10 @@
     if( to_check && syz_checker.IsDivisible(q) ) 
     {
+#ifndef NDEBUG
       if( __DEBUG__ )
       {
         PrintS("_FindReducer::Test LS: q is divisible by LS[?] !:((: ");
       }
-
+#endif
       continue;
     }
