CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
LoadPackage( "ModulePresentationsForCAP" );
LoadPackage( "GeneralizedMorphismsForCAP" );
LoadPackage( "RingsForHomalg" );

is_artinian_left := function( module )
  local mat;
    
    mat := UnderlyingMatrix( module );
    
    return IsZero( HilbertPolynomial( mat ) );
    
end;

is_artinian_right := function( module )
  local mat;
    
    mat := UnderlyingMatrix( module );
    
    mat := TransposedMat( mat );
    
    return IsZero( HilbertPolynomial( mat ) );
    
end;

R := HomalgFieldOfRationalsInSingular( ) * "x,y,z";

serre_quotient := LeftPresentations( R ) / is_artinian_left;