AFAIK, the normalizer of a group is not yet implemented.
If you type
sage: s6.normalizer?
you'll see the synax for that command. My guess is that normalizer_of_group
would be an easy function to implement (and I can do that if no one
else wants to).

On Wed, Apr 23, 2008 at 4:06 PM, Hy Ginsberg <[EMAIL PROTECTED]> wrote:
>
>  Hi All,
>
>  Perhaps someone can help me figure this out.  I am trying to create an
>  elementary abelian subgroup of a symmetric group and then look at its
>  normalizer.  Here's what doesn't work:
>
>     s6 = SymmetricGroup(6)
>
>     c1 = s6([(1,2)])
>     c2 = s6([(3,4)])
>     c3 = s6([(5,6)])
>
>     e8 = s6.subgroup([c1,c2,c3])
>     print e8.order()
>
>     n = s6.normalizer(e8)
>
>  It's good through printing the order of "e8".  Then the horrible
>  traceback which
>  follows.
>
>  Many thanks,
>  - Hy
>
>
>
>
>  Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/hy/.sage/sage_notebook/worksheets/admin/13/code/42.py",
>  line 4, in
>  <module>
>     n = s6.normalizer(e8)
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sympy/plotting/",
>  line 1, in <module>
>
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sage/groups/perm_gps/permgroup.py",
>  line 1253, in normalizer
>     N = self._gap_().Normalizer(str(g))
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sage/interfaces/expect.py",
>  line 954, in __call__
>     return self._obj.parent().function_call(self._name, [self._obj] +
>  list(args))
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sage/interfaces/expect.py",
>  line 900, in function_call
>     args[i] = self.new(args[i])
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sage/interfaces/expect.py",
>  line 803, in new
>     return self(code)
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sage/interfaces/expect.py",
>  line 738, in __call__
>     return cls(self, x)
>   File
>  "/home/hy/sage-2.10-ubuntu32-i686-Linux/local/lib/python2.5/site-
>  packages/sage/interfaces/expect.py",
>  line 989, in __init__
>     raise TypeError, x
>  TypeError: Gap produced error output
>  Syntax error: ; expected
>  $sage20:=Subgroup of SymmetricGroup(6) generated by [(1,2), (3,4),
>  (5,6)];;
>                    ^
>  Variable: 'by' must have a value
>
>
>    executing $sage20:=Subgroup of SymmetricGroup(6) generated by
>  [(1,2), (3,4),
>  (5,6)];;
>  >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to