source: git/Tst/Old/m6ex.tst @ a6382c

fieker-DuValspielwiese
Last change on this file since a6382c was 97d5bb, checked in by Olaf Bachmann <obachman@…>, 24 years ago
* cleaned up tst stuff git-svn-id: file:///usr/local/Singular/svn/trunk@3893 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.0 KB
Line 
1  LIB "deform.lib";
2  ring R=32003,(x,y,z),ds;
3  //----------------------------------------------------
4  // hypersurface case (from series T[p,q,r]):
5  int p,q,r = 3,3,4;
6  poly f = x^p+y^q+z^r+xyz;
7  print(deform(f));
8  // the miniversal deformation of f=0 is the projection from the
9  // miniversal total space to the miniversal base space:
10  // { (A,B,C,D,E,F,G,H,x,y,z) | x3+y3+xyz+z4+A+Bx+Cxz+Dy+Eyz+Fz+Gz2+Hz3 =0 }
11  //  --> { (A,B,C,D,E,F,G,H) }
12  //----------------------------------------------------
13  // complete intersection case (from series P[k,l]):
14  int k,l =3,2;
15  ideal j=xy,x^k+y^l+z2;
16  print(deform(j));
17  versal(j);                  // using default names
18  setring Px;
19  show(Px);                   // show is a procedure from inout.lib
20  listvar(ideal);
21  // ___ Equations of miniversal base space ___:
22  Js;
23  // ___ Equations of miniversal total space ___:
24  Fs;
25  // the miniversal deformation of V(j) is the projection from the
26  // miniversal total space to the miniversal base space:
27  // { (A,B,C,D,E,F,x,y,z) | xy+A+Bz=0, y2+z2+x3+C+Dx+Ex2+Fy=0 }
28  //  --> { (A,B,C,D,E,F) }
29  //----------------------------------------------------
30  // general case (cone over rational normal curve of degree 4):
31  ring r1=0,(x,y,z,u,v),ds;
32  matrix m[2][4]=x,y,z,u,y,z,u,v;
33  ideal i=minor(m,2);                 // 2x2 minors of matrix m
34  // Def_r will be the name of the miniversal base space with
35  // parameters A(1),...,A(4)
36  versal(i,0,"Def_r","A(");
37  // the miniversal deformation of V(i) is the projection from the
38  // miniversal total space to the miniversal base space:
39  // { (A(1..4),x,y,z,u,v) |
40  //         -y^2+x*z+A(2)*x-A(3)*y=0, -y*z+x*u-A(1)*x-A(3)*z=0,
41  //         -y*u+x*v-A(3)*u-A(4)*z=0, -z^2+y*u-A(1)*y-A(2)*z=0,
42  //         -z*u+y*v-A(2)*u-A(4)*u=0, -u^2+z*v+A(1)*u-A(4)*v=0 }
43  //  --> { A(1..4) |
44  //         -A(1)*A(4) = A(3)*A(4) = -A(2)*A(4)-A(4)^2 = 0 }
45  //----------------------------------------------------
46  killall(); // proc from general.lib, kills all user-defined variables
47LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.