#14790: Python generator for free group variable names
----------------------------------+-----------------------------------------
       Reporter:  dshurbert       |         Owner:  joyner   
           Type:  enhancement     |        Status:  new      
       Priority:  minor           |     Milestone:  sage-5.11
      Component:  group theory    |    Resolution:           
       Keywords:                  |   Work issues:           
Report Upstream:  N/A             |     Reviewers:           
        Authors:  Davis Shurbert  |     Merged in:           
   Dependencies:                  |      Stopgaps:           
----------------------------------+-----------------------------------------
Description changed by dshurbert:

Old description:

> When creating free and finitely presented groups, default variable names
> are often ugly.
>
> {{{
> sage: F = FreeGroup(12)
> sage: F
> Free Group on generators {x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10,
> x11}
> sage: F/[F([1,2,2,1,1,4,7,-8]),F([10,10,4,-5,4,-8]) ]
> Finitely presented group < x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10,
> x11 | x0*x1^2*x0^2*x3*x6*x7^-1, x9^2*x3*x4^-1*x3*x7^-1 >
> }}}
>
> Created by a utility function, the simple generator in this patch
> provides an easy way to consistently generate better variable names, and
> will be useful in creating free groups algorithmically.

New description:

 When creating free and finitely presented groups, default variable names
 are often ugly.

 {{{
 sage: F = FreeGroup(12)
 sage: F
 Free Group on generators {x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10,
 x11}
 sage: F/[F([1,2,2,1,1,4,7,-8]),F([10,10,4,-5,4,-8]) ]
 Finitely presented group < x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10,
 x11 | x0*x1^2*x0^2*x3*x6*x7^-1, x9^2*x3*x4^-1*x3*x7^-1 >
 }}}

 Created by a utility function, the simple generator in this patch provides
 an easy way to consistently generate better variable names, and will be
 useful in creating free groups algorithmically.

 __Apply__

 * [attachment:trac_14790_fpg_names.patch]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14790#comment:1>
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/groups/opt_out.


Reply via email to