Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/gbnp/doc/examples/nmo/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 29.7.2024 mit Größe 689 B image not shown  

Quelle  example01.g   Sprache: unbekannt

 
# This example was taken from Dr. Edward Green's paper ``Noncommutative
# Grobner Bases, and Projective Resolutions'', and is referenced
# as ``Example 2.7'' there; please see the manual for more information.

LoadPackage("gbnp", false);
A := FreeAssociativeAlgebraWithOne(Rationals,"a","b","c","d");
a := A.a; b := A.b; c := A.c; d := A.d;
polys := [c*d*a*b-c*b,b*c-d*a];
reps := GP2NPList(polys);
gbreps := Grobner(reps);
gb := NP2GPList(gbreps,A);

ml := NCMonomialLeftLengthLexOrdering(A);
PatchGBNP(ml);
gbreps := Grobner(reps);;
gb := NP2GPList(gbreps,A);

ml2 := NCMonomialLeftLengthLexOrdering(A,[4,3,2,1]);
PatchGBNP(ml2);
gbreps2 := SGrobner(reps);;
gb2 := NP2GPList(gbreps2,A);

[ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ]