Pumping Lemma - unregular expression












0












$begingroup$


How do prove that this expression is unregular, I know firstly you have to try prove that it is regular and work from there. I also know that $w=xuz$ and the three rules are needed



Let $M$ be the language over the alphabet ${a, b, c}$ given
by $M = {a^ib^jc^k mid i, j, k ≥ 0, j = i + k}$.










share|cite|improve this question











$endgroup$












  • $begingroup$
    What you provide is called a "language", not an "expression". Also "unregular" is a very uncommon term; usually one says "not regular" or "non-regular".
    $endgroup$
    – Peter Leupold
    Jan 24 at 12:15
















0












$begingroup$


How do prove that this expression is unregular, I know firstly you have to try prove that it is regular and work from there. I also know that $w=xuz$ and the three rules are needed



Let $M$ be the language over the alphabet ${a, b, c}$ given
by $M = {a^ib^jc^k mid i, j, k ≥ 0, j = i + k}$.










share|cite|improve this question











$endgroup$












  • $begingroup$
    What you provide is called a "language", not an "expression". Also "unregular" is a very uncommon term; usually one says "not regular" or "non-regular".
    $endgroup$
    – Peter Leupold
    Jan 24 at 12:15














0












0








0





$begingroup$


How do prove that this expression is unregular, I know firstly you have to try prove that it is regular and work from there. I also know that $w=xuz$ and the three rules are needed



Let $M$ be the language over the alphabet ${a, b, c}$ given
by $M = {a^ib^jc^k mid i, j, k ≥ 0, j = i + k}$.










share|cite|improve this question











$endgroup$




How do prove that this expression is unregular, I know firstly you have to try prove that it is regular and work from there. I also know that $w=xuz$ and the three rules are needed



Let $M$ be the language over the alphabet ${a, b, c}$ given
by $M = {a^ib^jc^k mid i, j, k ≥ 0, j = i + k}$.







discrete-mathematics formal-languages context-free-grammar regular-expressions pumping-lemma






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 23 at 12:27









Wuestenfux

4,7941513




4,7941513










asked Jan 23 at 12:24









SueSue

125




125












  • $begingroup$
    What you provide is called a "language", not an "expression". Also "unregular" is a very uncommon term; usually one says "not regular" or "non-regular".
    $endgroup$
    – Peter Leupold
    Jan 24 at 12:15


















  • $begingroup$
    What you provide is called a "language", not an "expression". Also "unregular" is a very uncommon term; usually one says "not regular" or "non-regular".
    $endgroup$
    – Peter Leupold
    Jan 24 at 12:15
















$begingroup$
What you provide is called a "language", not an "expression". Also "unregular" is a very uncommon term; usually one says "not regular" or "non-regular".
$endgroup$
– Peter Leupold
Jan 24 at 12:15




$begingroup$
What you provide is called a "language", not an "expression". Also "unregular" is a very uncommon term; usually one says "not regular" or "non-regular".
$endgroup$
– Peter Leupold
Jan 24 at 12:15










1 Answer
1






active

oldest

votes


















1












$begingroup$

Hint:



Suppose $M$ is regular. Then by the Pumping Lemma, there is some $p$ so that all words of length at least $p$ can be decomposed as $xyz$ in such a way that $xy^nzin M$ for all $n$.



Consider the word $ab^pc^{p-1}in M$, and say that its Pumping Lemma decomposition is $xyz$. What are $x$, $y$, and $z$?



Prove that if $xy^nzin M$ for all $ninmathbb{N}$, then necessarily a few properties must hold:





  1. $x$ must contain $a$ and cannot contain any $c$


  2. $z$ must contain all $p-1$ copies of $c$


This necessarily means that we have $x=ab^{m_x}$, $y=b^{m_y}$, and $z=b^{m_z}c^{p-1}$ for some $m_x,m_y,m_zgeq 0$ such that $m_x+m_y+m_z=p$ and $m_ygeq 1$. But then
$$
xy^nz=ab^{m_x+nm_y+m_z}c^{p-1}=ab^{p+(n-1)m_y}c^{p-1}.
$$

But, this word clearly cannot be in $M$, as $p+(n-1)m_y>1+(p-1)$ for all $ngeq 2$.






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%2f3084404%2fpumping-lemma-unregular-expression%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









    1












    $begingroup$

    Hint:



    Suppose $M$ is regular. Then by the Pumping Lemma, there is some $p$ so that all words of length at least $p$ can be decomposed as $xyz$ in such a way that $xy^nzin M$ for all $n$.



    Consider the word $ab^pc^{p-1}in M$, and say that its Pumping Lemma decomposition is $xyz$. What are $x$, $y$, and $z$?



    Prove that if $xy^nzin M$ for all $ninmathbb{N}$, then necessarily a few properties must hold:





    1. $x$ must contain $a$ and cannot contain any $c$


    2. $z$ must contain all $p-1$ copies of $c$


    This necessarily means that we have $x=ab^{m_x}$, $y=b^{m_y}$, and $z=b^{m_z}c^{p-1}$ for some $m_x,m_y,m_zgeq 0$ such that $m_x+m_y+m_z=p$ and $m_ygeq 1$. But then
    $$
    xy^nz=ab^{m_x+nm_y+m_z}c^{p-1}=ab^{p+(n-1)m_y}c^{p-1}.
    $$

    But, this word clearly cannot be in $M$, as $p+(n-1)m_y>1+(p-1)$ for all $ngeq 2$.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      Hint:



      Suppose $M$ is regular. Then by the Pumping Lemma, there is some $p$ so that all words of length at least $p$ can be decomposed as $xyz$ in such a way that $xy^nzin M$ for all $n$.



      Consider the word $ab^pc^{p-1}in M$, and say that its Pumping Lemma decomposition is $xyz$. What are $x$, $y$, and $z$?



      Prove that if $xy^nzin M$ for all $ninmathbb{N}$, then necessarily a few properties must hold:





      1. $x$ must contain $a$ and cannot contain any $c$


      2. $z$ must contain all $p-1$ copies of $c$


      This necessarily means that we have $x=ab^{m_x}$, $y=b^{m_y}$, and $z=b^{m_z}c^{p-1}$ for some $m_x,m_y,m_zgeq 0$ such that $m_x+m_y+m_z=p$ and $m_ygeq 1$. But then
      $$
      xy^nz=ab^{m_x+nm_y+m_z}c^{p-1}=ab^{p+(n-1)m_y}c^{p-1}.
      $$

      But, this word clearly cannot be in $M$, as $p+(n-1)m_y>1+(p-1)$ for all $ngeq 2$.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        Hint:



        Suppose $M$ is regular. Then by the Pumping Lemma, there is some $p$ so that all words of length at least $p$ can be decomposed as $xyz$ in such a way that $xy^nzin M$ for all $n$.



        Consider the word $ab^pc^{p-1}in M$, and say that its Pumping Lemma decomposition is $xyz$. What are $x$, $y$, and $z$?



        Prove that if $xy^nzin M$ for all $ninmathbb{N}$, then necessarily a few properties must hold:





        1. $x$ must contain $a$ and cannot contain any $c$


        2. $z$ must contain all $p-1$ copies of $c$


        This necessarily means that we have $x=ab^{m_x}$, $y=b^{m_y}$, and $z=b^{m_z}c^{p-1}$ for some $m_x,m_y,m_zgeq 0$ such that $m_x+m_y+m_z=p$ and $m_ygeq 1$. But then
        $$
        xy^nz=ab^{m_x+nm_y+m_z}c^{p-1}=ab^{p+(n-1)m_y}c^{p-1}.
        $$

        But, this word clearly cannot be in $M$, as $p+(n-1)m_y>1+(p-1)$ for all $ngeq 2$.






        share|cite|improve this answer









        $endgroup$



        Hint:



        Suppose $M$ is regular. Then by the Pumping Lemma, there is some $p$ so that all words of length at least $p$ can be decomposed as $xyz$ in such a way that $xy^nzin M$ for all $n$.



        Consider the word $ab^pc^{p-1}in M$, and say that its Pumping Lemma decomposition is $xyz$. What are $x$, $y$, and $z$?



        Prove that if $xy^nzin M$ for all $ninmathbb{N}$, then necessarily a few properties must hold:





        1. $x$ must contain $a$ and cannot contain any $c$


        2. $z$ must contain all $p-1$ copies of $c$


        This necessarily means that we have $x=ab^{m_x}$, $y=b^{m_y}$, and $z=b^{m_z}c^{p-1}$ for some $m_x,m_y,m_zgeq 0$ such that $m_x+m_y+m_z=p$ and $m_ygeq 1$. But then
        $$
        xy^nz=ab^{m_x+nm_y+m_z}c^{p-1}=ab^{p+(n-1)m_y}c^{p-1}.
        $$

        But, this word clearly cannot be in $M$, as $p+(n-1)m_y>1+(p-1)$ for all $ngeq 2$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 23 at 16:49









        Nick PetersonNick Peterson

        26.7k23962




        26.7k23962






























            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%2f3084404%2fpumping-lemma-unregular-expression%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

            Mario Kart Wii

            What does “Dominus providebit” mean?

            Antonio Litta Visconti Arese