spielwiese
Last change
on this file since bf8015 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:
422 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | |
---|
5 | ring S = 0,(a,b,c),lp; |
---|
6 | ring R = 0,(x,y,z),dp; |
---|
7 | ideal i = x, y, x2-y3; |
---|
8 | map phi = S,i; |
---|
9 | LIB "algebra.lib"; |
---|
10 | |
---|
11 | is_injective(phi,S); |
---|
12 | |
---|
13 | ideal j = x, x+y, z-x2+y3; |
---|
14 | map psi = S,j; |
---|
15 | is_injective(psi,S); |
---|
16 | |
---|
17 | alg_kernel(phi,S); |
---|
18 | |
---|
19 | alg_kernel(psi,S); |
---|
20 | |
---|
21 | ideal Z; |
---|
22 | setring S; |
---|
23 | preimage(R,phi,Z); |
---|
24 | |
---|
25 | setring R; |
---|
26 | is_surjective(psi,S); |
---|
27 | |
---|
28 | is_bijective(psi,S); |
---|
29 | |
---|
30 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.