#18462: cayley_graph of finitely presented group
--------------------------------+------------------------
Reporter: kalvotom | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.8
Component: group theory | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+------------------------
Comment (by kalvotom):
Yes, it indeed comes from the group itself. Somehow the rules obeyed by
the group elements are not taken into account (automatically) and
`cayley_graph` then creates new vertices.
One can get the unique representation of the group element in the
following way:
{{{
sage: G=groups.presentation.KleinFour()
sage: a,b=G.generators()
sage: rs=G.rewriting_system()
sage: rs.make_confluent()
sage: rs.reduce(a^(-1))
a
sage: a^(-1)
a^-1
}}}
One way to fix this in `cayley_graph` would be to simplify/reduce the
products of group elements before adding them to the graph.
Tomáš
--
Ticket URL: <http://trac.sagemath.org/ticket/18462#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.