#17627: Construction of FinitelyGeneratedGroup from GAP group
--------------------------------+------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.5
Component: group theory | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+------------------------
Comment (by captaintrunky):
I try to exactly what you are proposing. But I've struggle with he
following:
{{{
fp_gap = libgap.FreeGroup("x", "y")
fp_sage = wrap_FreeGroup(fp_gap)
g = fp_sage / [x^2*y^-1, x^3*y^2, x*y*x^-1*y^-1]
*EXCEPTION*
NameError: name 'y' is not defined
}}}
Replying to [comment:3 vdelecroix]:
> Sorry, I should have been clearer. The only issue is that
> {{{
> sage: F.<x,y> = FreeGroup(2)
> sage: G = F/[x**2*y,x*y]
> sage: G
> Finitely presented group < x, y | x^2*y, x*y >
> sage: G_gap = G._gap_()
> sage: from sage.groups.finitely_presented import FinitelyPresentedGroup
> sage: FinitelyPresentedGroup(G_gap)
> ** BOOM **
> sage: FinitelyPresentedGroup(gap_group=G_gap)
> ** BOOM **
> }}}
> What are you trying to do?!
>
> In the mean time, I realized that there is a function `wrap_FpGroup` so
I think that there is almost nothing to do to make it work.
>
> Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/17627#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.