gap> ######################### BEGIN COPYRIGHT MESSAGE #########################
GBNP - computing Gröbner bases of noncommutative polynomials
Copyright 2001-2010 by Arjeh M. Cohen, Dié A.H. Gijsbers, Jan Willem
Knopper, Chris Krook. Address: Discrete Algebra and Geometry (DAM) group
at the Department of Mathematics and Computer Science of Eindhoven
University of Technology.
For acknowledgements see the manual. The manual can be found in several
formats in the doc subdirectory of the GBNP distribution. The
acknowledgements formatted as text can be found in the file chap0.txt.
GBNP is free software; you can redistribute it and/or modify it under
the terms of the Lesser GNU General Public License as published by the
Free Software Foundation (FSF); either version 2.1 of the License, or
(at your option) any later version. For details, see the file 'LGPL' in
the doc subdirectory of the GBNP distribution or see the FSF's own site: https://www.gnu.org/licenses/lgpl.html
gap> ########################## END COPYRIGHT MESSAGE ##########################
gap> ### THIS IS A GAP PACKAGE FOR COMPUTING NON-COMMUTATIVE GROBNER BASES
gap>
gap> ### Last change: May 24, 2007 amc towards nonspecialized coefficients
<#GAPDoc Label="Example08">
<Section Label="Example08"><Heading>The Birman-Murakami-Wenzl algebra of type A<M>_2</M></Heading>
The trace variant (see sections <Ref Sect="trace"/> and <Ref Sect="tracefun"/>) will be used for
a presentation of the Birman-Murakami-Wenzl algebra of type A<M>_2</M>
by generators and relations
in order to find a proof that the algebra has dimension 15.
<P/>
First load the package and set the standard infolevel <Ref
InfoClass="InfoGBNP" Style="Text"/> to 1 and the time infolevel <Ref
Func="InfoGBNPTime" Style="Text"/> to 1 (for more information about the info
level, see Chapter <Ref Chap="Info"/>).
The variables are <M>g_1</M>, <M>g_2</M>,
<M>e_1</M>, <M>e_2</M>, in this order.
In order to have the results printed out with these symbols, we
invoke
<Ref Func="GBNP.ConfigPrint" Style="Text"/>
<Listing><![CDATA[
gap> GBNP.ConfigPrint("g1","g2","e1","e2");
]]></Listing>
Unlike Example <Ref Sect="Example07"/>,
we work with a field of rational functions.
<Listing><![CDATA[
gap> ll := Indeterminate(Rationals,"l");
l
gap> mm := Indeterminate(Rationals,"m");
m
gap> F := Field(ll,mm);;
gap> gens := GeneratorsOfField(F);
[ l, m ]
gap> l := gens[1];;
gap> m := gens[2];
m
gap> F1 := One(F);;
gap> Print("identity element of F: ",F1,"\n");
identity element of F: 1
]]></Listing>
Now enter the relations. This will be done in NP form.
Now calculate the Gröbner basis with trace information, using the function
<Ref Func="SGrobnerTrace" Style="Text"/>:
<Listing><![CDATA[
gap> GB := SGrobnerTrace(KI);;
#I number of entered polynomials is 9
#I number of polynomials after reduction is 9
#I End of phase I
#I End of phase II
#I List of todo lengths is [ 8, 7, 6, 5, 4, 6, 4, 4, 4, 3, 3, 2, 1, 0 ]
#I End of phase III
#I End of phase IV
#I The computation took 484 msecs.
]]></Listing>
The full trace can be printed with <Ref Func="PrintTraceList" Style="Text"/>,
while printing only the relations (and no trace) can be invoked by <Ref
Func="PrintNPListTrace" Style="Text"/>. Since the total trace is very long we
do not call <C>PrintTraceList(GB)</C> here but only show two polynomial
expressions from the Gröbner basis
with <Ref Func="PrintTracePol" Style="Text"/>:
In order to test whether the expression for <C>GB[10]</C> is as claimed
we use <Ref Func="EvalTrace" Style="Text"/>,
For each traced polynomial <C>x</C> in <C>GB</C>,
we equate the evaluated expression
<C>x.trace</C>,
in which each occurrence of <C>G(i)</C> is replaced by <C>KI[i]</C>
by use of <Ref Func="EvalTrace" Style="Text"/>,
with <C>x.pol</C>.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.