is this language regular and why pumping lemma doesn't work?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I was told that this language is regular but as I can show below, pumping lemma is not working for it. What am I doing wrong? Is this language really regular? Why?
enter image description here










share|cite|improve this question























  • Note that you can use LaTeX here to typeset mathematics in a more readable way. See here for a short introduction.
    – Raphael♦
    12 mins ago














up vote
1
down vote

favorite












I was told that this language is regular but as I can show below, pumping lemma is not working for it. What am I doing wrong? Is this language really regular? Why?
enter image description here










share|cite|improve this question























  • Note that you can use LaTeX here to typeset mathematics in a more readable way. See here for a short introduction.
    – Raphael♦
    12 mins ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I was told that this language is regular but as I can show below, pumping lemma is not working for it. What am I doing wrong? Is this language really regular? Why?
enter image description here










share|cite|improve this question















I was told that this language is regular but as I can show below, pumping lemma is not working for it. What am I doing wrong? Is this language really regular? Why?
enter image description here







formal-languages regular-languages pumping-lemma






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 12 mins ago









Raphael♦

56.2k22138304




56.2k22138304










asked 2 hours ago









aky

212




212











  • Note that you can use LaTeX here to typeset mathematics in a more readable way. See here for a short introduction.
    – Raphael♦
    12 mins ago
















  • Note that you can use LaTeX here to typeset mathematics in a more readable way. See here for a short introduction.
    – Raphael♦
    12 mins ago















Note that you can use LaTeX here to typeset mathematics in a more readable way. See here for a short introduction.
– Raphael♦
12 mins ago




Note that you can use LaTeX here to typeset mathematics in a more readable way. See here for a short introduction.
– Raphael♦
12 mins ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote













Write the word $s'$ as



$$
s' = 0^(p-beta) left(1^p01^p0^beta right)0^(p -beta)
$$

to see that it is in fact in $L$.






share|cite|improve this answer



























    up vote
    1
    down vote













    It's a "trick" question. The language is regular because
    beginalign*
    aba^mathrmRmid a,bin0,1^*
    &= bigvarepsilon bvarepsilon^mathrmRmid bin0,1^*big
    cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
    &= 0,1^*
    cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
    &= 0,1^*,.
    endalign*






    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: "419"
      ;
      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',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f97883%2fis-this-language-regular-and-why-pumping-lemma-doesnt-work%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote













      Write the word $s'$ as



      $$
      s' = 0^(p-beta) left(1^p01^p0^beta right)0^(p -beta)
      $$

      to see that it is in fact in $L$.






      share|cite|improve this answer
























        up vote
        2
        down vote













        Write the word $s'$ as



        $$
        s' = 0^(p-beta) left(1^p01^p0^beta right)0^(p -beta)
        $$

        to see that it is in fact in $L$.






        share|cite|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote









          Write the word $s'$ as



          $$
          s' = 0^(p-beta) left(1^p01^p0^beta right)0^(p -beta)
          $$

          to see that it is in fact in $L$.






          share|cite|improve this answer












          Write the word $s'$ as



          $$
          s' = 0^(p-beta) left(1^p01^p0^beta right)0^(p -beta)
          $$

          to see that it is in fact in $L$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 1 hour ago









          Daniel Mroz

          3264




          3264




















              up vote
              1
              down vote













              It's a "trick" question. The language is regular because
              beginalign*
              aba^mathrmRmid a,bin0,1^*
              &= bigvarepsilon bvarepsilon^mathrmRmid bin0,1^*big
              cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
              &= 0,1^*
              cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
              &= 0,1^*,.
              endalign*






              share|cite|improve this answer
























                up vote
                1
                down vote













                It's a "trick" question. The language is regular because
                beginalign*
                aba^mathrmRmid a,bin0,1^*
                &= bigvarepsilon bvarepsilon^mathrmRmid bin0,1^*big
                cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
                &= 0,1^*
                cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
                &= 0,1^*,.
                endalign*






                share|cite|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  It's a "trick" question. The language is regular because
                  beginalign*
                  aba^mathrmRmid a,bin0,1^*
                  &= bigvarepsilon bvarepsilon^mathrmRmid bin0,1^*big
                  cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
                  &= 0,1^*
                  cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
                  &= 0,1^*,.
                  endalign*






                  share|cite|improve this answer












                  It's a "trick" question. The language is regular because
                  beginalign*
                  aba^mathrmRmid a,bin0,1^*
                  &= bigvarepsilon bvarepsilon^mathrmRmid bin0,1^*big
                  cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
                  &= 0,1^*
                  cup biga b a^mathrmRmid ain0,1^*, bin0,1^*big\
                  &= 0,1^*,.
                  endalign*







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 30 mins ago









                  David Richerby

                  61.9k1595179




                  61.9k1595179



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f97883%2fis-this-language-regular-and-why-pumping-lemma-doesnt-work%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      Installing NextGIS Connect into QGIS 3?

                      One-line joke