source: git/Tst/Buch/Example_4_3_3.tst @ 107aac

spielwiese
Last change on this file since 107aac was 891438c, checked in by Gerhard Pfister <pfister@…>, 23 years ago
*GP: initial release git-svn-id: file:///usr/local/Singular/svn/trunk@5579 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 870 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4option(redSB);         
5ring R=0,(x,y),lp;           
6ideal a1=x;             
7ideal a2=y2+2y+1,x-1;
8ideal a3=y2-2y+1,x-1;
9ideal I=intersect(a1,a2,a3);
10poly h=y4-2y2+1;   
11
12ideal I2=std(I,h);
13
14indepSet(I2);
15
16list fac=factorize(I2[1]);
17fac;
18
19ideal J1=std(I2,(y+1)^2);     
20ideal J2=std(I2,(y-1)^2);     
21
22J1;
23J2;
24
25map phi=R,x,x+y;
26map psi=R,x,-x+y;             
27
28ideal K1=std(phi(J1));
29ideal K2=std(phi(J2));
30factorize(K1[1]);
31
32ideal K11=std(K1,(y+1)^2);     
33                                 
34ideal K12=std(K1,(y+2)^2);       
35factorize(K2[1]);
36
37ideal K21=std(K2,(y-1)^2);       
38                               
39ideal K22=std(K2,y2);           
40K11=std(psi(K11));               
41                                   
42K12=std(psi(K12));
43K21=std(psi(K21));
44K22=std(psi(K22));
45K11;                           
46K12;
47K21;
48K22;
49
50tst_status(1);$
Note: See TracBrowser for help on using the repository browser.