15.01.2015 Views

A Computer Implementation of Whitehead's Algorithm

A Computer Implementation of Whitehead's Algorithm

A Computer Implementation of Whitehead's Algorithm

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.2 minwd (”Minimum Word”)<br />

minwd 4 takes two arguments, a word wd in the free group F (a, b, c) with the<br />

convention that X denotes the inverse <strong>of</strong> x for all x in {a, b, c}, and an empty<br />

list [ ]. To avoid complications with Maple ”evaluating” the word it is given,<br />

it is best to enclose the argument in a pair <strong>of</strong> single quotation marks ’and’. It<br />

returns a word that is Whitehead equivalent to wd and is <strong>of</strong> minimal length,<br />

and the list <strong>of</strong> Whitehead automorphisms needed to get the minimal word.<br />

It uses all three <strong>of</strong> the lemmas to reduce computation time.<br />

oldminwd takes one argument, a word wd in F (a, b, c). To avoid complications<br />

with Maple ”evaluating” the word it is given, it is best to enclose the<br />

argument in a pair <strong>of</strong> single quotation marks ’and’. It returns a word that is<br />

Whitehead equivalent to wd and is <strong>of</strong> minimal length.<br />

Whitehead sets<br />

aset<br />

> aset:=combinat[powerset]({’b’,’c’,’B’,’C’}):<br />

> aset:=aset minus {{}};<br />

Aset<br />

> Aset:=combinat[powerset]({’b’,’c’,’B’,’C’}):<br />

> Aset:=Aset minus {{}};<br />

bset<br />

> bset:=combinat[powerset]({’a’,’c’,’A’,’C’}):<br />

> bset:=bset minus {{}};<br />

Bset<br />

> Bset:=combinat[powerset]({’a’,’c’,’A’,’C’}):<br />

> Bset:=Bset minus {{}};<br />

cset<br />

> cset:=combinat[powerset]({’b’,’a’,’B’,’A’}):<br />

4 The idea and code for using “Whitehead sets” to improve the efficiency <strong>of</strong> minwd (via<br />

Lemma 2.2) was supplied by Pr<strong>of</strong>essor Garity.<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!