Changeset 597297 in git


Ignore:
Timestamp:
Jun 20, 2018, 6:07:22 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
7756c1c7b3ea290dd236ed5d51b3e9824aa561ff
Parents:
8a2e90b00e1ed64bd7704f30dcacfb262f98d370
Message:
fix: new chern.lib (o.g.yena@gmail.com)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/chern.lib

    r8a2e90 r597297  
    11////////////////////////////////////////////////////////////////
    2 version = "version chern.lib 4.1.1.0 Dec_2017 ";  //$Id$
     2version = "version chern.lib 0.706 Jun_2018 ";      //$Id$
    33category = "Chern classes";
    44info="
     
    66                       Computation of Chern classes
    77
    8 AUTHOR:  Oleksandr Iena,      o.g.yena@gmail.com,  yena@mathematik.uni-kl.de
     8AUTHOR:  Oleksandr Iena,      o.g.yena@gmail.com
    99
    1010OVERVIEW:
     
    688688    def br@=basering; // remember the base ring
    689689    // 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;" );
    691691    execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings
    692     list c=F(c); // embedd c in the bigger ring
     692    list c=F(c); // embed c in the bigger ring
    693693    poly rez;
    694694    list A=a@(1..n);
     
    702702    }
    703703    I=I, c@-sum_of_powers(n, A);
    704     I=elim(I, E);
     704    I=simplify(elim(I, E),1);
    705705    rez = -subst(I[1], c@, 0);
    706706    setring br@; // come back to the initial base ring
     
    10181018  def br@=basering; // remember the base ring
    10191019  // 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;");
    10211021  execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings
    1022   list c=F(c); // embedd c in the bigger ring
    1023   list C=F(C); // embedd C in the bigger ring
     1022  list c=F(c); // embed c in the bigger ring
     1023  list C=F(C); // embed C in the bigger ring
    10241024  list A=a@(1..r); // list of Chern roots of the first vector bundle
    10251025  list syma = symm(A); // symmetric functions in the Chern roots of the first vector bundles
     
    10441044  {
    10451045    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 roots
     1046    J = simplify(elim(J, E), 1); // eliminate the Chern roots
    10471047    // get the expression for the i-th Chern class of the product
    10481048    // in terms of the Chern classes of the factors
     
    15711571  def br@=basering; // remember the base ring
    15721572  // 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;" );
    15741574  execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings
    15751575  list c=F(c); // embed c into the bigger ring
     
    21952195    def br@=basering; // remember the base ring
    21962196    // 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;" );
    21982198    execute( "map F= br@,"+varstr(br@)+";" ); // define the corresponding inclusion of rings
    21992199    list c=F(c); // embed c into the bigger ring
Note: See TracChangeset for help on using the changeset viewer.