Changeset 597297 in git
- Timestamp:
- Jun 20, 2018, 6:07:22 PM (6 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 7756c1c7b3ea290dd236ed5d51b3e9824aa561ff
- Parents:
- 8a2e90b00e1ed64bd7704f30dcacfb262f98d370
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/chern.lib
r8a2e90 r597297 1 1 //////////////////////////////////////////////////////////////// 2 version = "version chern.lib 4.1.1.0 Dec_2017 ";//$Id$2 version = "version chern.lib 0.706 Jun_2018 "; //$Id$ 3 3 category = "Chern classes"; 4 4 info=" … … 6 6 Computation of Chern classes 7 7 8 AUTHOR: Oleksandr Iena, o.g.yena@gmail.com , yena@mathematik.uni-kl.de8 AUTHOR: Oleksandr Iena, o.g.yena@gmail.com 9 9 10 10 OVERVIEW: … … 688 688 def br@=basering; // remember the base ring 689 689 // add additional variables c@, a@(1..n) to the base ring 690 execute("ring r@= (" + charstr(basering) + "),(c@,"+varstr(basering)+", a@(1..n)), dp;" );690 execute("ring r@= (" + charstr(basering) + "),(c@,"+varstr(basering)+", a@(1..n)), lp;" ); 691 691 execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 692 list c=F(c); // embed dc in the bigger ring692 list c=F(c); // embed c in the bigger ring 693 693 poly rez; 694 694 list A=a@(1..n); … … 702 702 } 703 703 I=I, c@-sum_of_powers(n, A); 704 I= elim(I, E);704 I=simplify(elim(I, E),1); 705 705 rez = -subst(I[1], c@, 0); 706 706 setring br@; // come back to the initial base ring … … 1018 1018 def br@=basering; // remember the base ring 1019 1019 // add additional variables a@(1..r), b@(1..R), x@ to the base ring 1020 execute("ring r@=("+ charstr(basering) +"),(x@,"+varstr(basering)+",a@(1..r),b@(1..R)), dp;");1020 execute("ring r@=("+ charstr(basering) +"),(x@,"+varstr(basering)+",a@(1..r),b@(1..R)), lp;"); 1021 1021 execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 1022 list c=F(c); // embed dc in the bigger ring1023 list C=F(C); // embed dC in the bigger ring1022 list c=F(c); // embed c in the bigger ring 1023 list C=F(C); // embed C in the bigger ring 1024 1024 list A=a@(1..r); // list of Chern roots of the first vector bundle 1025 1025 list syma = symm(A); // symmetric functions in the Chern roots of the first vector bundles … … 1044 1044 { 1045 1045 J = I, x@-Cf[i]; // add the equation for the i-th Chern class to the ideal of relations 1046 J = elim(J, E); // eliminate the Chern roots1046 J = simplify(elim(J, E), 1); // eliminate the Chern roots 1047 1047 // get the expression for the i-th Chern class of the product 1048 1048 // in terms of the Chern classes of the factors … … 1571 1571 def br@=basering; // remember the base ring 1572 1572 // add additional variables to the base ring 1573 execute("ring r@=(" + charstr(basering) + "),(x@,"+varstr(basering)+", a@(1..r)), dp;" );1573 execute("ring r@=(" + charstr(basering) + "),(x@,"+varstr(basering)+", a@(1..r)), lp;" ); 1574 1574 execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 1575 1575 list c=F(c); // embed c into the bigger ring … … 2195 2195 def br@=basering; // remember the base ring 2196 2196 // add additional variables a@(1..n), x@ to the base ring 2197 execute("ring r@=(" + charstr(basering) + "), (x@,"+varstr(basering)+", a@(1..n)), dp;" );2197 execute("ring r@=(" + charstr(basering) + "), (x@,"+varstr(basering)+", a@(1..n)), lp;" ); 2198 2198 execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings 2199 2199 list c=F(c); // embed c into the bigger ring
Note: See TracChangeset
for help on using the changeset viewer.