source: git/Tst/Short/deform_s.tst @ f1cfef

spielwiese
Last change on this file since f1cfef was 6fe3a0, checked in by Hans Schönemann <hannes@…>, 19 years ago
*hannes/lossen: new libs, new tests git-svn-id: file:///usr/local/Singular/svn/trunk@7891 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.5 KB
Line 
1//deform_s.tst
2//short tests for deform.lib
3//---------------------------
4LIB "tst.lib";
5tst_init();
6LIB "deform.lib";
7example versal;
8// rest of what used to be in that example
9   int p = printlevel;
10   ring  r2       = 0,(x,y,z),ds;
11   ideal Fo       = x2,xy,yz,zx;
12   printlevel     = 2;
13   def L=versal(Fo);
14   def Px=L[1];def So=L[3];
15   setring(So);
16   ideal Js=imap(Px,Js);
17   hilb(std(Js));
18   printlevel     = p;
19   kill L,Px,So;
20example mod_versal;
21example lift_rel_kb;
22// rest of what used to be in that example
23  "2nd EXAMPLE";
24  ring   r = 100,(x,y),dp;
25  ideal  I = x2+y2,x2y;
26  module M = jacob(I)+I*freemodule(2);
27  module N = [x+y,1+x2+xy];
28  matrix A = lift_rel_kb(N,M);
29  print(A);
30  print(kbase(std(M))*A);
31  print(reduce(N,std(M)));
32example lift_kbase;
33   printlevel =  2;
34ring  r1  = 0,(x,y,z,u),dp;
35 ideal i3 = xy,xz,xu,yz,yu,zu;       
36 list L=versal(i3);
37 def Px=L[1]; def So=L[3];
38 setring Px;
39 listvar(Px);
40 size(reduce(Fs*Rs,std(ideal(Js))));
41 setring So;
42 ideal Js=imap(Px,Js);
43 hilb(std(Js));
44 kill L,Px,So;
45ring   Po = 0,(x,y),dp;
46ideal  Io = std(x^4+y^3);
47matrix Mo;
48//============= rk 1 ======================================
49module k =[x],[y];
50module m(0)=k;
51module m(1)=[x,y],[-y2,x3];
52module m(2)=[x3,y],[-y2,x];
53int i';
54for (i'=0;i'<3;i'=i'+1)
55{
56  Mo=m(i');
57  list L=mod_versal(Mo,Io);
58  def Px=L[1]; def Qx=L[2]; def So=L[3];
59  setring Px;
60  listvar(Px);
61  setring(So);
62  ideal Js=imap(Qx,Js);
63  hilb(std(Js));
64  setring(Po);
65  kill L,Px,Qx,So;
66}
67tst_status(1);$
Note: See TracBrowser for help on using the repository browser.