GAP/Magma-cas: Suppose $H<S_n$ (given by generators): Does either system make it easy to find the maximal...












3












$begingroup$


I am not sure that this is the right forum, but anyhow:




Suppose I have a subgroup $H$ of $S_n$ (given by generators). Does either system make it easy to find the maximal subgroup containing $H$?











share|cite|improve this question











$endgroup$












  • $begingroup$
    "the"? ${}{}{}$
    $endgroup$
    – Dustan Levenstein
    Jan 1 '17 at 14:44










  • $begingroup$
    what does maximal mean here? a maximal subgroup which happens to contain $H$ or a subgroup that is maximal among those containing $H$?
    $endgroup$
    – Jorge Fernández
    Jan 1 '17 at 14:47










  • $begingroup$
    @JorgeFernándezHidalgo A $K$ such that $K$ is maximal in $S_n$ and contains $H.$
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58










  • $begingroup$
    @DustanLevenstein ?
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58






  • 2




    $begingroup$
    "the maximal subgroup" implies uniqueness, but there will normally be more than one. So do you want just one of them or all of them?
    $endgroup$
    – Derek Holt
    Jan 1 '17 at 15:17
















3












$begingroup$


I am not sure that this is the right forum, but anyhow:




Suppose I have a subgroup $H$ of $S_n$ (given by generators). Does either system make it easy to find the maximal subgroup containing $H$?











share|cite|improve this question











$endgroup$












  • $begingroup$
    "the"? ${}{}{}$
    $endgroup$
    – Dustan Levenstein
    Jan 1 '17 at 14:44










  • $begingroup$
    what does maximal mean here? a maximal subgroup which happens to contain $H$ or a subgroup that is maximal among those containing $H$?
    $endgroup$
    – Jorge Fernández
    Jan 1 '17 at 14:47










  • $begingroup$
    @JorgeFernándezHidalgo A $K$ such that $K$ is maximal in $S_n$ and contains $H.$
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58










  • $begingroup$
    @DustanLevenstein ?
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58






  • 2




    $begingroup$
    "the maximal subgroup" implies uniqueness, but there will normally be more than one. So do you want just one of them or all of them?
    $endgroup$
    – Derek Holt
    Jan 1 '17 at 15:17














3












3








3


2



$begingroup$


I am not sure that this is the right forum, but anyhow:




Suppose I have a subgroup $H$ of $S_n$ (given by generators). Does either system make it easy to find the maximal subgroup containing $H$?











share|cite|improve this question











$endgroup$




I am not sure that this is the right forum, but anyhow:




Suppose I have a subgroup $H$ of $S_n$ (given by generators). Does either system make it easy to find the maximal subgroup containing $H$?








group-theory symmetric-groups gap magma-cas maximal-subgroup






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 28 '18 at 23:06









Shaun

8,832113681




8,832113681










asked Jan 1 '17 at 14:37









Igor RivinIgor Rivin

16k11234




16k11234












  • $begingroup$
    "the"? ${}{}{}$
    $endgroup$
    – Dustan Levenstein
    Jan 1 '17 at 14:44










  • $begingroup$
    what does maximal mean here? a maximal subgroup which happens to contain $H$ or a subgroup that is maximal among those containing $H$?
    $endgroup$
    – Jorge Fernández
    Jan 1 '17 at 14:47










  • $begingroup$
    @JorgeFernándezHidalgo A $K$ such that $K$ is maximal in $S_n$ and contains $H.$
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58










  • $begingroup$
    @DustanLevenstein ?
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58






  • 2




    $begingroup$
    "the maximal subgroup" implies uniqueness, but there will normally be more than one. So do you want just one of them or all of them?
    $endgroup$
    – Derek Holt
    Jan 1 '17 at 15:17


















  • $begingroup$
    "the"? ${}{}{}$
    $endgroup$
    – Dustan Levenstein
    Jan 1 '17 at 14:44










  • $begingroup$
    what does maximal mean here? a maximal subgroup which happens to contain $H$ or a subgroup that is maximal among those containing $H$?
    $endgroup$
    – Jorge Fernández
    Jan 1 '17 at 14:47










  • $begingroup$
    @JorgeFernándezHidalgo A $K$ such that $K$ is maximal in $S_n$ and contains $H.$
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58










  • $begingroup$
    @DustanLevenstein ?
    $endgroup$
    – Igor Rivin
    Jan 1 '17 at 14:58






  • 2




    $begingroup$
    "the maximal subgroup" implies uniqueness, but there will normally be more than one. So do you want just one of them or all of them?
    $endgroup$
    – Derek Holt
    Jan 1 '17 at 15:17
















$begingroup$
"the"? ${}{}{}$
$endgroup$
– Dustan Levenstein
Jan 1 '17 at 14:44




$begingroup$
"the"? ${}{}{}$
$endgroup$
– Dustan Levenstein
Jan 1 '17 at 14:44












$begingroup$
what does maximal mean here? a maximal subgroup which happens to contain $H$ or a subgroup that is maximal among those containing $H$?
$endgroup$
– Jorge Fernández
Jan 1 '17 at 14:47




$begingroup$
what does maximal mean here? a maximal subgroup which happens to contain $H$ or a subgroup that is maximal among those containing $H$?
$endgroup$
– Jorge Fernández
Jan 1 '17 at 14:47












$begingroup$
@JorgeFernándezHidalgo A $K$ such that $K$ is maximal in $S_n$ and contains $H.$
$endgroup$
– Igor Rivin
Jan 1 '17 at 14:58




$begingroup$
@JorgeFernándezHidalgo A $K$ such that $K$ is maximal in $S_n$ and contains $H.$
$endgroup$
– Igor Rivin
Jan 1 '17 at 14:58












$begingroup$
@DustanLevenstein ?
$endgroup$
– Igor Rivin
Jan 1 '17 at 14:58




$begingroup$
@DustanLevenstein ?
$endgroup$
– Igor Rivin
Jan 1 '17 at 14:58




2




2




$begingroup$
"the maximal subgroup" implies uniqueness, but there will normally be more than one. So do you want just one of them or all of them?
$endgroup$
– Derek Holt
Jan 1 '17 at 15:17




$begingroup$
"the maximal subgroup" implies uniqueness, but there will normally be more than one. So do you want just one of them or all of them?
$endgroup$
– Derek Holt
Jan 1 '17 at 15:17










1 Answer
1






active

oldest

votes


















5












$begingroup$

(I presume you want the maximal subgroup$color{red}{s}$ of $S_n$ containing $H$.)



You probably would have to compute at least part of the maximal subgroups (which is easy for $S_n$ if the degree is not too big) and then test conjugates of which subgroup (representative) contain $H$.



For example -- modifying the code for IntermediateSubgroups that is to be in the next release of GAP -- the following routine does this:



# ContainingMaximals(<group>,<sub>) returns all maximal subgroups of <group>
# that contain sub
ContainingMaximals:=function(G,U)
local uind,subs,incl,i,j,k,m,gens,t,c,p;
subs:=;
gens:=SmallGeneratingSet(U);
# find all maximals containing U
m:=MaximalSubgroupClassReps(G);
m:=Filtered(m,x->IndexNC(G,U) mod IndexNC(G,x)=0);
for j in m do
t:=RightTransversal(G,Normalizer(G,j)); # conjugates
for k in t do
if ForAll(gens,x->k*x/k in j) then
# U is contained in j^k
c:=j^k;
Assert(1,IsSubset(c,U));
Add(subs,c);
fi;
od;
od;
# rearrange
c:=List(subs,x->IndexNC(x,U));
p:=Sortex(c);
subs:=Permuted(subs,p);
return subs;
end;


This is not particularly clever standard code which nevertheless might be sufficient for doing a concrete example.



(I believe Magma has a variant of LowIndexSubgroups for permutation groups and that function might allow you to specify a subgroup that is to be contained, but I do not know that system enough to give details.)






share|cite|improve this answer











$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2079434%2fgap-magma-cas-suppose-hs-n-given-by-generators-does-either-system-make-it%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5












    $begingroup$

    (I presume you want the maximal subgroup$color{red}{s}$ of $S_n$ containing $H$.)



    You probably would have to compute at least part of the maximal subgroups (which is easy for $S_n$ if the degree is not too big) and then test conjugates of which subgroup (representative) contain $H$.



    For example -- modifying the code for IntermediateSubgroups that is to be in the next release of GAP -- the following routine does this:



    # ContainingMaximals(<group>,<sub>) returns all maximal subgroups of <group>
    # that contain sub
    ContainingMaximals:=function(G,U)
    local uind,subs,incl,i,j,k,m,gens,t,c,p;
    subs:=;
    gens:=SmallGeneratingSet(U);
    # find all maximals containing U
    m:=MaximalSubgroupClassReps(G);
    m:=Filtered(m,x->IndexNC(G,U) mod IndexNC(G,x)=0);
    for j in m do
    t:=RightTransversal(G,Normalizer(G,j)); # conjugates
    for k in t do
    if ForAll(gens,x->k*x/k in j) then
    # U is contained in j^k
    c:=j^k;
    Assert(1,IsSubset(c,U));
    Add(subs,c);
    fi;
    od;
    od;
    # rearrange
    c:=List(subs,x->IndexNC(x,U));
    p:=Sortex(c);
    subs:=Permuted(subs,p);
    return subs;
    end;


    This is not particularly clever standard code which nevertheless might be sufficient for doing a concrete example.



    (I believe Magma has a variant of LowIndexSubgroups for permutation groups and that function might allow you to specify a subgroup that is to be contained, but I do not know that system enough to give details.)






    share|cite|improve this answer











    $endgroup$


















      5












      $begingroup$

      (I presume you want the maximal subgroup$color{red}{s}$ of $S_n$ containing $H$.)



      You probably would have to compute at least part of the maximal subgroups (which is easy for $S_n$ if the degree is not too big) and then test conjugates of which subgroup (representative) contain $H$.



      For example -- modifying the code for IntermediateSubgroups that is to be in the next release of GAP -- the following routine does this:



      # ContainingMaximals(<group>,<sub>) returns all maximal subgroups of <group>
      # that contain sub
      ContainingMaximals:=function(G,U)
      local uind,subs,incl,i,j,k,m,gens,t,c,p;
      subs:=;
      gens:=SmallGeneratingSet(U);
      # find all maximals containing U
      m:=MaximalSubgroupClassReps(G);
      m:=Filtered(m,x->IndexNC(G,U) mod IndexNC(G,x)=0);
      for j in m do
      t:=RightTransversal(G,Normalizer(G,j)); # conjugates
      for k in t do
      if ForAll(gens,x->k*x/k in j) then
      # U is contained in j^k
      c:=j^k;
      Assert(1,IsSubset(c,U));
      Add(subs,c);
      fi;
      od;
      od;
      # rearrange
      c:=List(subs,x->IndexNC(x,U));
      p:=Sortex(c);
      subs:=Permuted(subs,p);
      return subs;
      end;


      This is not particularly clever standard code which nevertheless might be sufficient for doing a concrete example.



      (I believe Magma has a variant of LowIndexSubgroups for permutation groups and that function might allow you to specify a subgroup that is to be contained, but I do not know that system enough to give details.)






      share|cite|improve this answer











      $endgroup$
















        5












        5








        5





        $begingroup$

        (I presume you want the maximal subgroup$color{red}{s}$ of $S_n$ containing $H$.)



        You probably would have to compute at least part of the maximal subgroups (which is easy for $S_n$ if the degree is not too big) and then test conjugates of which subgroup (representative) contain $H$.



        For example -- modifying the code for IntermediateSubgroups that is to be in the next release of GAP -- the following routine does this:



        # ContainingMaximals(<group>,<sub>) returns all maximal subgroups of <group>
        # that contain sub
        ContainingMaximals:=function(G,U)
        local uind,subs,incl,i,j,k,m,gens,t,c,p;
        subs:=;
        gens:=SmallGeneratingSet(U);
        # find all maximals containing U
        m:=MaximalSubgroupClassReps(G);
        m:=Filtered(m,x->IndexNC(G,U) mod IndexNC(G,x)=0);
        for j in m do
        t:=RightTransversal(G,Normalizer(G,j)); # conjugates
        for k in t do
        if ForAll(gens,x->k*x/k in j) then
        # U is contained in j^k
        c:=j^k;
        Assert(1,IsSubset(c,U));
        Add(subs,c);
        fi;
        od;
        od;
        # rearrange
        c:=List(subs,x->IndexNC(x,U));
        p:=Sortex(c);
        subs:=Permuted(subs,p);
        return subs;
        end;


        This is not particularly clever standard code which nevertheless might be sufficient for doing a concrete example.



        (I believe Magma has a variant of LowIndexSubgroups for permutation groups and that function might allow you to specify a subgroup that is to be contained, but I do not know that system enough to give details.)






        share|cite|improve this answer











        $endgroup$



        (I presume you want the maximal subgroup$color{red}{s}$ of $S_n$ containing $H$.)



        You probably would have to compute at least part of the maximal subgroups (which is easy for $S_n$ if the degree is not too big) and then test conjugates of which subgroup (representative) contain $H$.



        For example -- modifying the code for IntermediateSubgroups that is to be in the next release of GAP -- the following routine does this:



        # ContainingMaximals(<group>,<sub>) returns all maximal subgroups of <group>
        # that contain sub
        ContainingMaximals:=function(G,U)
        local uind,subs,incl,i,j,k,m,gens,t,c,p;
        subs:=;
        gens:=SmallGeneratingSet(U);
        # find all maximals containing U
        m:=MaximalSubgroupClassReps(G);
        m:=Filtered(m,x->IndexNC(G,U) mod IndexNC(G,x)=0);
        for j in m do
        t:=RightTransversal(G,Normalizer(G,j)); # conjugates
        for k in t do
        if ForAll(gens,x->k*x/k in j) then
        # U is contained in j^k
        c:=j^k;
        Assert(1,IsSubset(c,U));
        Add(subs,c);
        fi;
        od;
        od;
        # rearrange
        c:=List(subs,x->IndexNC(x,U));
        p:=Sortex(c);
        subs:=Permuted(subs,p);
        return subs;
        end;


        This is not particularly clever standard code which nevertheless might be sufficient for doing a concrete example.



        (I believe Magma has a variant of LowIndexSubgroups for permutation groups and that function might allow you to specify a subgroup that is to be contained, but I do not know that system enough to give details.)







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 28 '18 at 23:07









        Shaun

        8,832113681




        8,832113681










        answered Jan 1 '17 at 17:26









        ahulpkeahulpke

        7,070926




        7,070926






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2079434%2fgap-magma-cas-suppose-hs-n-given-by-generators-does-either-system-make-it%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...