Prove that A** = A*, where A is a language over Σ*

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











up vote
1
down vote

favorite












Let $mathcal A$ be an arbitrary language over $Sigma^*$



Proof.



To prove, $mathcal A^** = mathcal A^* $



$mathcal A^** = left( mathcal A^0 cup mathcal A^1 cup ... cup mathcal A^n right)^*$ by definition of Kleene Star



My idea is that kleene star distribute over the union of the languages but then, I dont know what's next.



I need some directions










share|cite|improve this question

























    up vote
    1
    down vote

    favorite












    Let $mathcal A$ be an arbitrary language over $Sigma^*$



    Proof.



    To prove, $mathcal A^** = mathcal A^* $



    $mathcal A^** = left( mathcal A^0 cup mathcal A^1 cup ... cup mathcal A^n right)^*$ by definition of Kleene Star



    My idea is that kleene star distribute over the union of the languages but then, I dont know what's next.



    I need some directions










    share|cite|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Let $mathcal A$ be an arbitrary language over $Sigma^*$



      Proof.



      To prove, $mathcal A^** = mathcal A^* $



      $mathcal A^** = left( mathcal A^0 cup mathcal A^1 cup ... cup mathcal A^n right)^*$ by definition of Kleene Star



      My idea is that kleene star distribute over the union of the languages but then, I dont know what's next.



      I need some directions










      share|cite|improve this question













      Let $mathcal A$ be an arbitrary language over $Sigma^*$



      Proof.



      To prove, $mathcal A^** = mathcal A^* $



      $mathcal A^** = left( mathcal A^0 cup mathcal A^1 cup ... cup mathcal A^n right)^*$ by definition of Kleene Star



      My idea is that kleene star distribute over the union of the languages but then, I dont know what's next.



      I need some directions







      regular-languages automata proof-techniques






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked 4 hours ago









      Mustafa Ali Saba

      132




      132




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          Since $L subseteq L^*$ for all $L$, we have $mathcalA^* subseteq mathcalA^**$. In the other direction, suppose that $w in mathcalA^**$. Then there exists an integer $n geq 0$ and words $x_1,ldots,x_n in mathcalA^*$ such that $w = x_1 x_2 ldots x_n$. Since $x_i in mathcalA^*$, there exists an integer $m_i$ such that $x_i in mathcalA^m_i$. Thus $w in mathcalA^m_1 + cdots + m_n subseteq mathcalA^*$, and it follows that $mathcalA^** subseteq mathcalA^*$.






          share|cite|improve this answer



























            up vote
            0
            down vote













            Yuval showed a simple way to prove this. Here's an (arguably more complex) alternative based on least fixed points.



            The inclusion $L subseteq L^*$ always holds, so $mathcal A^* subseteq mathcal A^**$.



            We are left with proving $mathcal A^** subseteq mathcal A^*$. For this, recall that $L^*$ can be defined as the least language such that
            $$
            epsilon cup LL^* = L^*
            $$

            Hence, $mathcal A^**$ is the least language such that
            $$
            epsilon cup mathcal A^* mathcal A^** = mathcal A^**
            $$

            so, if we prove that $mathcal A^*$ also satisfies the same property, i.e. if we prove
            $$
            epsilon cup mathcal A^* mathcal A^* = mathcal A^*
            qquad (*)
            $$

            by the minimality of $mathcal A^**$, we will obtain the wanted
            $mathcal A^** subseteq mathcal A^*$.
            Proving $(*)$ is then trivial.






            share|cite




















              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%2f98151%2fprove-that-a-a-where-a-is-a-language-over-%25ce%25a3%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













              Since $L subseteq L^*$ for all $L$, we have $mathcalA^* subseteq mathcalA^**$. In the other direction, suppose that $w in mathcalA^**$. Then there exists an integer $n geq 0$ and words $x_1,ldots,x_n in mathcalA^*$ such that $w = x_1 x_2 ldots x_n$. Since $x_i in mathcalA^*$, there exists an integer $m_i$ such that $x_i in mathcalA^m_i$. Thus $w in mathcalA^m_1 + cdots + m_n subseteq mathcalA^*$, and it follows that $mathcalA^** subseteq mathcalA^*$.






              share|cite|improve this answer
























                up vote
                2
                down vote













                Since $L subseteq L^*$ for all $L$, we have $mathcalA^* subseteq mathcalA^**$. In the other direction, suppose that $w in mathcalA^**$. Then there exists an integer $n geq 0$ and words $x_1,ldots,x_n in mathcalA^*$ such that $w = x_1 x_2 ldots x_n$. Since $x_i in mathcalA^*$, there exists an integer $m_i$ such that $x_i in mathcalA^m_i$. Thus $w in mathcalA^m_1 + cdots + m_n subseteq mathcalA^*$, and it follows that $mathcalA^** subseteq mathcalA^*$.






                share|cite|improve this answer






















                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  Since $L subseteq L^*$ for all $L$, we have $mathcalA^* subseteq mathcalA^**$. In the other direction, suppose that $w in mathcalA^**$. Then there exists an integer $n geq 0$ and words $x_1,ldots,x_n in mathcalA^*$ such that $w = x_1 x_2 ldots x_n$. Since $x_i in mathcalA^*$, there exists an integer $m_i$ such that $x_i in mathcalA^m_i$. Thus $w in mathcalA^m_1 + cdots + m_n subseteq mathcalA^*$, and it follows that $mathcalA^** subseteq mathcalA^*$.






                  share|cite|improve this answer












                  Since $L subseteq L^*$ for all $L$, we have $mathcalA^* subseteq mathcalA^**$. In the other direction, suppose that $w in mathcalA^**$. Then there exists an integer $n geq 0$ and words $x_1,ldots,x_n in mathcalA^*$ such that $w = x_1 x_2 ldots x_n$. Since $x_i in mathcalA^*$, there exists an integer $m_i$ such that $x_i in mathcalA^m_i$. Thus $w in mathcalA^m_1 + cdots + m_n subseteq mathcalA^*$, and it follows that $mathcalA^** subseteq mathcalA^*$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 4 hours ago









                  Yuval Filmus

                  183k12171332




                  183k12171332




















                      up vote
                      0
                      down vote













                      Yuval showed a simple way to prove this. Here's an (arguably more complex) alternative based on least fixed points.



                      The inclusion $L subseteq L^*$ always holds, so $mathcal A^* subseteq mathcal A^**$.



                      We are left with proving $mathcal A^** subseteq mathcal A^*$. For this, recall that $L^*$ can be defined as the least language such that
                      $$
                      epsilon cup LL^* = L^*
                      $$

                      Hence, $mathcal A^**$ is the least language such that
                      $$
                      epsilon cup mathcal A^* mathcal A^** = mathcal A^**
                      $$

                      so, if we prove that $mathcal A^*$ also satisfies the same property, i.e. if we prove
                      $$
                      epsilon cup mathcal A^* mathcal A^* = mathcal A^*
                      qquad (*)
                      $$

                      by the minimality of $mathcal A^**$, we will obtain the wanted
                      $mathcal A^** subseteq mathcal A^*$.
                      Proving $(*)$ is then trivial.






                      share|cite
























                        up vote
                        0
                        down vote













                        Yuval showed a simple way to prove this. Here's an (arguably more complex) alternative based on least fixed points.



                        The inclusion $L subseteq L^*$ always holds, so $mathcal A^* subseteq mathcal A^**$.



                        We are left with proving $mathcal A^** subseteq mathcal A^*$. For this, recall that $L^*$ can be defined as the least language such that
                        $$
                        epsilon cup LL^* = L^*
                        $$

                        Hence, $mathcal A^**$ is the least language such that
                        $$
                        epsilon cup mathcal A^* mathcal A^** = mathcal A^**
                        $$

                        so, if we prove that $mathcal A^*$ also satisfies the same property, i.e. if we prove
                        $$
                        epsilon cup mathcal A^* mathcal A^* = mathcal A^*
                        qquad (*)
                        $$

                        by the minimality of $mathcal A^**$, we will obtain the wanted
                        $mathcal A^** subseteq mathcal A^*$.
                        Proving $(*)$ is then trivial.






                        share|cite






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Yuval showed a simple way to prove this. Here's an (arguably more complex) alternative based on least fixed points.



                          The inclusion $L subseteq L^*$ always holds, so $mathcal A^* subseteq mathcal A^**$.



                          We are left with proving $mathcal A^** subseteq mathcal A^*$. For this, recall that $L^*$ can be defined as the least language such that
                          $$
                          epsilon cup LL^* = L^*
                          $$

                          Hence, $mathcal A^**$ is the least language such that
                          $$
                          epsilon cup mathcal A^* mathcal A^** = mathcal A^**
                          $$

                          so, if we prove that $mathcal A^*$ also satisfies the same property, i.e. if we prove
                          $$
                          epsilon cup mathcal A^* mathcal A^* = mathcal A^*
                          qquad (*)
                          $$

                          by the minimality of $mathcal A^**$, we will obtain the wanted
                          $mathcal A^** subseteq mathcal A^*$.
                          Proving $(*)$ is then trivial.






                          share|cite












                          Yuval showed a simple way to prove this. Here's an (arguably more complex) alternative based on least fixed points.



                          The inclusion $L subseteq L^*$ always holds, so $mathcal A^* subseteq mathcal A^**$.



                          We are left with proving $mathcal A^** subseteq mathcal A^*$. For this, recall that $L^*$ can be defined as the least language such that
                          $$
                          epsilon cup LL^* = L^*
                          $$

                          Hence, $mathcal A^**$ is the least language such that
                          $$
                          epsilon cup mathcal A^* mathcal A^** = mathcal A^**
                          $$

                          so, if we prove that $mathcal A^*$ also satisfies the same property, i.e. if we prove
                          $$
                          epsilon cup mathcal A^* mathcal A^* = mathcal A^*
                          qquad (*)
                          $$

                          by the minimality of $mathcal A^**$, we will obtain the wanted
                          $mathcal A^** subseteq mathcal A^*$.
                          Proving $(*)$ is then trivial.







                          share|cite












                          share|cite



                          share|cite










                          answered 5 mins ago









                          chi

                          10.7k1628




                          10.7k1628



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f98151%2fprove-that-a-a-where-a-is-a-language-over-%25ce%25a3%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              What does second last employer means? [closed]

                              List of Gilmore Girls characters

                              Confectionery