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












3














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
























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










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










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










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






  • 2




    "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?
    – Derek Holt
    Jan 1 '17 at 15:17
















3














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
























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










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










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










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






  • 2




    "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?
    – Derek Holt
    Jan 1 '17 at 15:17














3












3








3


2





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















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 at 23:06









Shaun

8,344113578




8,344113578










asked Jan 1 '17 at 14:37









Igor Rivin

15.9k11234




15.9k11234












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










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










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










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






  • 2




    "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?
    – Derek Holt
    Jan 1 '17 at 15:17


















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










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










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










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






  • 2




    "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?
    – Derek Holt
    Jan 1 '17 at 15:17
















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




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












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




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












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




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












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




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




2




2




"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?
– Derek Holt
Jan 1 '17 at 15:17




"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?
– Derek Holt
Jan 1 '17 at 15:17










1 Answer
1






active

oldest

votes


















5














(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























    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














    (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




























      5














      (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


























        5












        5








        5






        (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














        (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 at 23:07









        Shaun

        8,344113578




        8,344113578










        answered Jan 1 '17 at 17:26









        ahulpke

        6,972926




        6,972926






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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.


            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

            Wiesbaden

            Marschland

            Dieringhausen