source: git/Tst/Manual/is_bijective.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 577 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "algebra.lib";
3int p = printlevel;  printlevel = 1;
4ring R = 0,(x,y,z),dp;
5ideal i = x, y, x2-y3;
6map phi = R,i;                      // a map from R to itself, z->x2-y3
7is_bijective(phi,R);
8qring Q = std(z-x2+y3);
9is_bijective(ideal(x,y,x2-y3),Q);
10ring S = 0,(a,b,c,d),dp;
11map psi = R,ideal(a,a+b,c-a2+b3,0); // a map from R to S,
12is_bijective(psi,R);                // x->a, y->a+b, z->c-a2+b3
13qring T = std(d,c-a2+b3);
14map chi = Q,a,b,a2-b3;              // amap between two quotient rings
15is_bijective(chi,Q);
16printlevel = p;
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.