Proof - Projection distribution over set union

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











up vote
0
down vote

favorite












I've just started databases and have exercise to proof that projection$(pi)$ is distributive over set union$(bigcup)$. But I suck in proofs and don't really know how to proof that:



$pi_alpha( R bigcup S) = pi_alpha(R) bigcup pi_alpha(S) $



It's just to obvious and I don't know how to proof it.



References:



Definition of $bigcup: A bigcup B = x : x in A vee x in B $



Property of $pi $ $pi_alpha(pi_beta (R)) = pi_alpha(R) \where alpha subseteq beta $







share|cite|improve this question
























    up vote
    0
    down vote

    favorite












    I've just started databases and have exercise to proof that projection$(pi)$ is distributive over set union$(bigcup)$. But I suck in proofs and don't really know how to proof that:



    $pi_alpha( R bigcup S) = pi_alpha(R) bigcup pi_alpha(S) $



    It's just to obvious and I don't know how to proof it.



    References:



    Definition of $bigcup: A bigcup B = x : x in A vee x in B $



    Property of $pi $ $pi_alpha(pi_beta (R)) = pi_alpha(R) \where alpha subseteq beta $







    share|cite|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I've just started databases and have exercise to proof that projection$(pi)$ is distributive over set union$(bigcup)$. But I suck in proofs and don't really know how to proof that:



      $pi_alpha( R bigcup S) = pi_alpha(R) bigcup pi_alpha(S) $



      It's just to obvious and I don't know how to proof it.



      References:



      Definition of $bigcup: A bigcup B = x : x in A vee x in B $



      Property of $pi $ $pi_alpha(pi_beta (R)) = pi_alpha(R) \where alpha subseteq beta $







      share|cite|improve this question












      I've just started databases and have exercise to proof that projection$(pi)$ is distributive over set union$(bigcup)$. But I suck in proofs and don't really know how to proof that:



      $pi_alpha( R bigcup S) = pi_alpha(R) bigcup pi_alpha(S) $



      It's just to obvious and I don't know how to proof it.



      References:



      Definition of $bigcup: A bigcup B = x : x in A vee x in B $



      Property of $pi $ $pi_alpha(pi_beta (R)) = pi_alpha(R) \where alpha subseteq beta $









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Feb 26 '14 at 10:51









      Machiaweliczny

      1716




      1716




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I'm not sure about the notation, but I'll make an effort...



          Say, tuples of $R$ have properties $R_1timescdotstimes R_n$ and tuples of $S$ have properties $S_1timescdotstimes S_m$. Without loss of generality, we assume $nleq m$.



          Let $xinpi_a(Rcup S)$, where $asubseteq1,ldots,n$. Then
          $$forall iin a, x_iinpi_i(Rcup S)text, where $x=prod_iin ax_i$Leftrightarrow\
          forall iin a, x_iin R_icup S_iLeftrightarrow\
          forall iin a, x_iin R_itext or x_iin S_iLeftrightarrow\
          forall iin a, x_iin R_itext or forall iin a, x_iin S_iLeftrightarrow\
          xinpi_a(R)text or xinpi_a(S)Leftrightarrow\
          xinpi_a(R)cuppi_a(S)$$



          Hence $pi_a(Rcup S)=pi_a(R)cuppi_a(S)$.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f691058%2fproof-projection-distribution-over-set-union%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I'm not sure about the notation, but I'll make an effort...



            Say, tuples of $R$ have properties $R_1timescdotstimes R_n$ and tuples of $S$ have properties $S_1timescdotstimes S_m$. Without loss of generality, we assume $nleq m$.



            Let $xinpi_a(Rcup S)$, where $asubseteq1,ldots,n$. Then
            $$forall iin a, x_iinpi_i(Rcup S)text, where $x=prod_iin ax_i$Leftrightarrow\
            forall iin a, x_iin R_icup S_iLeftrightarrow\
            forall iin a, x_iin R_itext or x_iin S_iLeftrightarrow\
            forall iin a, x_iin R_itext or forall iin a, x_iin S_iLeftrightarrow\
            xinpi_a(R)text or xinpi_a(S)Leftrightarrow\
            xinpi_a(R)cuppi_a(S)$$



            Hence $pi_a(Rcup S)=pi_a(R)cuppi_a(S)$.






            share|cite|improve this answer


























              up vote
              0
              down vote













              I'm not sure about the notation, but I'll make an effort...



              Say, tuples of $R$ have properties $R_1timescdotstimes R_n$ and tuples of $S$ have properties $S_1timescdotstimes S_m$. Without loss of generality, we assume $nleq m$.



              Let $xinpi_a(Rcup S)$, where $asubseteq1,ldots,n$. Then
              $$forall iin a, x_iinpi_i(Rcup S)text, where $x=prod_iin ax_i$Leftrightarrow\
              forall iin a, x_iin R_icup S_iLeftrightarrow\
              forall iin a, x_iin R_itext or x_iin S_iLeftrightarrow\
              forall iin a, x_iin R_itext or forall iin a, x_iin S_iLeftrightarrow\
              xinpi_a(R)text or xinpi_a(S)Leftrightarrow\
              xinpi_a(R)cuppi_a(S)$$



              Hence $pi_a(Rcup S)=pi_a(R)cuppi_a(S)$.






              share|cite|improve this answer
























                up vote
                0
                down vote










                up vote
                0
                down vote









                I'm not sure about the notation, but I'll make an effort...



                Say, tuples of $R$ have properties $R_1timescdotstimes R_n$ and tuples of $S$ have properties $S_1timescdotstimes S_m$. Without loss of generality, we assume $nleq m$.



                Let $xinpi_a(Rcup S)$, where $asubseteq1,ldots,n$. Then
                $$forall iin a, x_iinpi_i(Rcup S)text, where $x=prod_iin ax_i$Leftrightarrow\
                forall iin a, x_iin R_icup S_iLeftrightarrow\
                forall iin a, x_iin R_itext or x_iin S_iLeftrightarrow\
                forall iin a, x_iin R_itext or forall iin a, x_iin S_iLeftrightarrow\
                xinpi_a(R)text or xinpi_a(S)Leftrightarrow\
                xinpi_a(R)cuppi_a(S)$$



                Hence $pi_a(Rcup S)=pi_a(R)cuppi_a(S)$.






                share|cite|improve this answer














                I'm not sure about the notation, but I'll make an effort...



                Say, tuples of $R$ have properties $R_1timescdotstimes R_n$ and tuples of $S$ have properties $S_1timescdotstimes S_m$. Without loss of generality, we assume $nleq m$.



                Let $xinpi_a(Rcup S)$, where $asubseteq1,ldots,n$. Then
                $$forall iin a, x_iinpi_i(Rcup S)text, where $x=prod_iin ax_i$Leftrightarrow\
                forall iin a, x_iin R_icup S_iLeftrightarrow\
                forall iin a, x_iin R_itext or x_iin S_iLeftrightarrow\
                forall iin a, x_iin R_itext or forall iin a, x_iin S_iLeftrightarrow\
                xinpi_a(R)text or xinpi_a(S)Leftrightarrow\
                xinpi_a(R)cuppi_a(S)$$



                Hence $pi_a(Rcup S)=pi_a(R)cuppi_a(S)$.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Feb 27 '14 at 21:46

























                answered Feb 27 '14 at 17:36









                frabala

                2,0241019




                2,0241019



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f691058%2fproof-projection-distribution-over-set-union%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    這個網誌中的熱門文章

                    tkz-euclide: tkzDrawCircle[R] not working

                    How to combine Bézier curves to a surface?

                    1st Magritte Awards