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( "RingsForHomalg" ); LoadPackage( "Modules" ); Zx := HomalgRingOfIntegersInDefaultCAS( ) * "x"; ZIQ5 := Zx / "x^2 + 5"; SetIsDedekindDomain( ZIQ5, true ); SetIsPrincipalIdealRing( ZIQ5, false ); P2 := HomalgMatrix( "[ 2 ]", 1, 1, ZIQ5 ); P2 := LeftSubmodule( P2 ); P3 := HomalgMatrix( "[ 3 ]", 1, 1, ZIQ5 ); P3 := LeftSubmodule( P3 ); PP := HomalgMatrix( "[ 1 + x ]", 1, 1, ZIQ5 ); PP := LeftSubmodule( PP ); QQ := HomalgMatrix( "[ 1 - x ]", 1, 1, ZIQ5 ); QQ := LeftSubmodule( QQ ); P6 := HomalgMatrix( "[ 6 ]", 1, 1, ZIQ5 ); P6 := LeftSubmodule( P6 ); I := HomalgMatrix( "[ 2, 1 + x ]", 2, 1, ZIQ5 ); I := LeftSubmodule( I ); J := HomalgMatrix( "[ 3, 1 + x ]", 2, 1, ZIQ5 ); J := LeftSubmodule( J ); K := HomalgMatrix( "[ 3, 1 - x ]", 2, 1, ZIQ5 ); K := LeftSubmodule( K ); Display( P2 = I^2 ); Display( P3 = J * K ); Display( PP = J * I ); Display( QQ = K * I );