Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
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
Project: cocalc-sagemath-dev-slelievre
Views: 418346LoadPackage( "ModulePresentationsForCAP" ); LoadPackage( "RingsForHomalg" ); ZZ := HomalgRingOfIntegersInSingular( ); A := FreeLeftPresentation( 2, ZZ ); B := FreeLeftPresentation( 1, ZZ ); C := FreeLeftPresentation( 2, ZZ ); D := AsLeftPresentation( HomalgMatrix( [ [ 1, -1 ] ], ZZ ) ); alpha := PresentationMorphism( A, HomalgMatrix( [ [ 1, -1 ], [ 0, 1 ] ], ZZ ), C ); beta := PresentationMorphism( A, HomalgMatrix( [ [ 1, 0 ], [ 0, 1 ] ], ZZ ), D ); gamma := PresentationMorphism( B, HomalgMatrix( [ [ 1, 0 ] ], ZZ ) , C ); delta := PresentationMorphism( B, HomalgMatrix( [ [ 1, -1 ] ], ZZ ), D ); Display( UnderlyingMatrix( MorphismBetweenDirectSums( [ [ alpha, beta ], [ gamma, delta ] ] ) ) );