I have on several occasions found it annoyingly difficult to save data from
a GAP session in a form in which it can be read straight back in again in
a later session. Is there some straightforward way of doing this, which
I do not know about?
This morning I was close to panic. Some wretched safety officer wanted to
check all of the electrical fittings in my office, which meant shutting
my Workstation down, and it had just spent all night calculating and
simplifying an enormous subgroup presentation. However, I came up with
the following procedure for saving my presentation in a GAP-readable form.
Is there any easier way?
SavePres := function(G,filename)
# Save the finitely presented group G to the file filename, so that it
# can be read back in later.
for g in G.generators do