Changeset c39fdc in git for Singular/LIB/gradedModules.lib


Ignore:
Timestamp:
Apr 7, 2015, 1:56:57 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
bd1350243abeac670b9674a3caad92f65bc473e1
Parents:
cec9b007f86b234905874a3be5ad6ff7d0661ae4
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-04-07 13:56:57+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-04-07 14:01:40+02:00
Message:
Quick fix for mappingcone3: added a stub for grneg (to be finished later on)

NOTE: some examples fail with '? 2nd module does not lie in the first' due to inproper use of lifting procedures (on wrong place)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/gradedModules.lib

    rcec9b00 rc39fdc  
    4848    grrndmap(S,D[,p,b])   generate random 0-deg homomorphism src(S) -> src(D)
    4949    grrndmap2(S,D[,p,b])   generate random 0-deg homomorphism dst(S) -> dst(D)
    50     grlifting(A,B)     RANDOM! chain lifting
    51     grlifting2(A,B)    RANDOM! chain lifting
     50    grlifting(A,B)     RND! chain lifting
     51    grlifting2(A,B)    RND! chain lifting
    5252    mappingcone(M,N)   mapping cone?
    5353    mappingcone2(M,N)  mapping cone2?
    54     grlifting3(A,B)    RANDOM! chain lifting?
    55     grlifting4(A,B)    RANDOM! chain lifting?
     54    grlifting3(A,B)    RND! chain lifting? probably wrong one
     55    grlifting4(A,B)    RND! chain lifting? newer from #hani# for mappingcone3
    5656    mappingcone3(A,B)  mapping cone3? (using grlifting4 at the moment)
    5757    grrange(M)         get the row-weightings
     
    16201620
    16211621proc grlift0(M, N, alpha1)
    1622 "generic random alpha0 : coker(M) -> coker(N) from random alpha1"
     1622"PURPOSE: generic random alpha0 : coker(M) -> coker(N) from random alpha1
     1623NOTE: this proc can work only if some assumptions are fulfilled (due
     1624to Wolfram)! e.g. at the end of a resolution for the source module...
     1625"
    16231626{
    16241627
     
    21902193*/
    21912194
     2195proc grneg(M)
     2196"negative map
     2197TODO for Hanieh: please document this and find good motivating examples for this proc!!
     2198"
     2199{
     2200  return ( grobj(-M, grrange(M), grdeg(M) ) );
     2201}
     2202
    21922203// note: not clear which grlifting3 should be used by the following
    21932204// procedure!!?
     
    22272238
    22282239//    ASSUME( 0, grtest(B) );
    2229     ASSUME( 0, grtest(-rM[i-1]) );   
    2230     module C=grconcat(-rM[i-1],B); // FIXME: '-' is wrong! need a graded-enabled minus (e.g. grneg?)
     2240//    ASSUME( 0, grtest(-rM[i-1]) );   
     2241    ASSUME( 0, grtest( grneg( rM[i-1]) ) );
     2242    module C=grconcat( grneg( rM[i-1] ) ,B); // FIXME: '-' is wrong! need a graded-enabled minus (e.g. grneg?)
    22312243    module D=grconcat(grtranspose(C), grtranspose(A));
    22322244
     
    22502262def F=grlifting4(A,T); grview(F);
    22512263
    2252 /* BUG in the proc */ // def G=mappingcone3(A,T); grview(G);
     2264/* BUG in the proc */
     2265def G=mappingcone3(A,T); grview(G);
    22532266
    22542267/*
     
    22672280def H=grlifting4(R,S); grview(H);
    22682281
    2269 /* BUG in the proc */ // def G=mappingcone3(R,S); // ????????
     2282/* BUG in the proc */
     2283def G=mappingcone3(R,S); // ????????
    22702284
    22712285
     
    22732287def J=KeneshlouMatrixPresentation(intvec(4,0,1,2,1));
    22742288// def N=grlifting4(I,J);
    2275 /* 2nd module does not lie in the first: */ // def NN=mappingcone3(I,J); // ????????
     2289/* 2nd module does not lie in the first: */
     2290def NN=mappingcone3(I,J); // ????????
    22762291
    22772292}
     
    23382353grview(F);
    23392354
     2355def G=mappingcone3(A,T);grview(G);
    23402356/*
    2341 def G=mappingcone3(A,T);grview(G);
    23422357module W=grtranspose(G[1]);
    23432358resolution U=mres(W,0);
     
    23542369def H=grlifting4(R,S); grview(H);
    23552370
    2356 // def G=mappingcone3(R,S); // ????????
     2371def G=mappingcone3(R,S); // ????????
    23572372
    23582373def I=KeneshlouMatrixPresentation(intvec(2,3,0,6,2));
    23592374def J=KeneshlouMatrixPresentation(intvec(4,0,1,2,1));
    2360 /* 2nd module does not lie in the first: */ // def N=grlifting4(I,J);
    2361 
    2362 }
     2375/* 2nd module does not lie in the first: */
     2376def N=grlifting4(I,J);
     2377
     2378}
Note: See TracChangeset for help on using the changeset viewer.