What is my mistake in proving that $Asubseteq B$ implies $Bsubseteq A$?











up vote
0
down vote

favorite












It's legitimate to use a tautology in any proof at any time right? Also whenever P and P $implies$ Q appears I Can announce Q, the reason being modes pones rule. So where is the mistake here?



Proof that $A subseteq B implies B subseteq A$:




  1. Assume $A subseteq B$

  2. Suppose $x in A$


  3. $A subseteq B implies (x in A implies x in B)$ (Definition of subset)


  4. $x in A implies x in B$ (Modus pones step 1 and 3)


  5. $x in B$ (Modus pones step 2 and 4)


  6. $x in A implies (x in B implies x in A )$ (tautology $q implies (p implies q)$)


  7. $x in B implies x in A$ (Modus pones step 2 and 6)


  8. $x in B implies x in A implies B subseteq A$ (Definition of subset)


  9. $B subseteq A$ (Modus pones step 7 and 8)


  10. $B subseteq A implies (A subseteq B implies B subseteq A)$ (tautology)


  11. $A subseteq B implies B subseteq A$ (Modus pones step 9 and 10).










share|cite|improve this question




















  • 1




    The definition of subset : $A subseteq B$ is : $forall x (x in A to x in B)$. It is a predicate logic formula and not a priopositional one.
    – Mauro ALLEGRANZA
    Nov 19 at 7:21






  • 1




    $Bsubseteq A$ means $forall x(xin Bimplies xin A)$, but you have only obtained $forall x(xin Aimplies(xin Bimplies xin A))$.
    – Lord Shark the Unknown
    Nov 19 at 7:28










  • The set A = {1, 2} is a subset of B = {1, 2, 3}, the expressions A ⊆ B is true but is B ⊆ A? This is probably true only if A=B.
    – NoChance
    Nov 19 at 7:45










  • @NoChance thanks for the counter example, but i did point out that the proof is invalid. I wanted to know which step is wrong. frustratingly, none of the comments helped me.
    – tnstse
    Nov 19 at 7:46










  • As @LordSharktheUnknown points out, the problem is that in step 8, your definition of subset uses the label $x$ to denote any element. In the previous lines you use the label $x$ to denote any element of $A$. You then conflate the two, essentially applying the subset definition only to those elements that are already in $A$ instead of to all possible elements, and thereby ignoring all elements in $B$ $A$.
    – Jaap Scherphuis
    Nov 19 at 7:54

















up vote
0
down vote

favorite












It's legitimate to use a tautology in any proof at any time right? Also whenever P and P $implies$ Q appears I Can announce Q, the reason being modes pones rule. So where is the mistake here?



Proof that $A subseteq B implies B subseteq A$:




  1. Assume $A subseteq B$

  2. Suppose $x in A$


  3. $A subseteq B implies (x in A implies x in B)$ (Definition of subset)


  4. $x in A implies x in B$ (Modus pones step 1 and 3)


  5. $x in B$ (Modus pones step 2 and 4)


  6. $x in A implies (x in B implies x in A )$ (tautology $q implies (p implies q)$)


  7. $x in B implies x in A$ (Modus pones step 2 and 6)


  8. $x in B implies x in A implies B subseteq A$ (Definition of subset)


  9. $B subseteq A$ (Modus pones step 7 and 8)


  10. $B subseteq A implies (A subseteq B implies B subseteq A)$ (tautology)


  11. $A subseteq B implies B subseteq A$ (Modus pones step 9 and 10).










share|cite|improve this question




















  • 1




    The definition of subset : $A subseteq B$ is : $forall x (x in A to x in B)$. It is a predicate logic formula and not a priopositional one.
    – Mauro ALLEGRANZA
    Nov 19 at 7:21






  • 1




    $Bsubseteq A$ means $forall x(xin Bimplies xin A)$, but you have only obtained $forall x(xin Aimplies(xin Bimplies xin A))$.
    – Lord Shark the Unknown
    Nov 19 at 7:28










  • The set A = {1, 2} is a subset of B = {1, 2, 3}, the expressions A ⊆ B is true but is B ⊆ A? This is probably true only if A=B.
    – NoChance
    Nov 19 at 7:45










  • @NoChance thanks for the counter example, but i did point out that the proof is invalid. I wanted to know which step is wrong. frustratingly, none of the comments helped me.
    – tnstse
    Nov 19 at 7:46










  • As @LordSharktheUnknown points out, the problem is that in step 8, your definition of subset uses the label $x$ to denote any element. In the previous lines you use the label $x$ to denote any element of $A$. You then conflate the two, essentially applying the subset definition only to those elements that are already in $A$ instead of to all possible elements, and thereby ignoring all elements in $B$ $A$.
    – Jaap Scherphuis
    Nov 19 at 7:54















up vote
0
down vote

favorite









up vote
0
down vote

favorite











It's legitimate to use a tautology in any proof at any time right? Also whenever P and P $implies$ Q appears I Can announce Q, the reason being modes pones rule. So where is the mistake here?



Proof that $A subseteq B implies B subseteq A$:




  1. Assume $A subseteq B$

  2. Suppose $x in A$


  3. $A subseteq B implies (x in A implies x in B)$ (Definition of subset)


  4. $x in A implies x in B$ (Modus pones step 1 and 3)


  5. $x in B$ (Modus pones step 2 and 4)


  6. $x in A implies (x in B implies x in A )$ (tautology $q implies (p implies q)$)


  7. $x in B implies x in A$ (Modus pones step 2 and 6)


  8. $x in B implies x in A implies B subseteq A$ (Definition of subset)


  9. $B subseteq A$ (Modus pones step 7 and 8)


  10. $B subseteq A implies (A subseteq B implies B subseteq A)$ (tautology)


  11. $A subseteq B implies B subseteq A$ (Modus pones step 9 and 10).










share|cite|improve this question















It's legitimate to use a tautology in any proof at any time right? Also whenever P and P $implies$ Q appears I Can announce Q, the reason being modes pones rule. So where is the mistake here?



Proof that $A subseteq B implies B subseteq A$:




  1. Assume $A subseteq B$

  2. Suppose $x in A$


  3. $A subseteq B implies (x in A implies x in B)$ (Definition of subset)


  4. $x in A implies x in B$ (Modus pones step 1 and 3)


  5. $x in B$ (Modus pones step 2 and 4)


  6. $x in A implies (x in B implies x in A )$ (tautology $q implies (p implies q)$)


  7. $x in B implies x in A$ (Modus pones step 2 and 6)


  8. $x in B implies x in A implies B subseteq A$ (Definition of subset)


  9. $B subseteq A$ (Modus pones step 7 and 8)


  10. $B subseteq A implies (A subseteq B implies B subseteq A)$ (tautology)


  11. $A subseteq B implies B subseteq A$ (Modus pones step 9 and 10).







elementary-set-theory logic






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 19 at 8:52









Asaf Karagila

300k32422752




300k32422752










asked Nov 19 at 7:17









tnstse

111




111








  • 1




    The definition of subset : $A subseteq B$ is : $forall x (x in A to x in B)$. It is a predicate logic formula and not a priopositional one.
    – Mauro ALLEGRANZA
    Nov 19 at 7:21






  • 1




    $Bsubseteq A$ means $forall x(xin Bimplies xin A)$, but you have only obtained $forall x(xin Aimplies(xin Bimplies xin A))$.
    – Lord Shark the Unknown
    Nov 19 at 7:28










  • The set A = {1, 2} is a subset of B = {1, 2, 3}, the expressions A ⊆ B is true but is B ⊆ A? This is probably true only if A=B.
    – NoChance
    Nov 19 at 7:45










  • @NoChance thanks for the counter example, but i did point out that the proof is invalid. I wanted to know which step is wrong. frustratingly, none of the comments helped me.
    – tnstse
    Nov 19 at 7:46










  • As @LordSharktheUnknown points out, the problem is that in step 8, your definition of subset uses the label $x$ to denote any element. In the previous lines you use the label $x$ to denote any element of $A$. You then conflate the two, essentially applying the subset definition only to those elements that are already in $A$ instead of to all possible elements, and thereby ignoring all elements in $B$ $A$.
    – Jaap Scherphuis
    Nov 19 at 7:54
















  • 1




    The definition of subset : $A subseteq B$ is : $forall x (x in A to x in B)$. It is a predicate logic formula and not a priopositional one.
    – Mauro ALLEGRANZA
    Nov 19 at 7:21






  • 1




    $Bsubseteq A$ means $forall x(xin Bimplies xin A)$, but you have only obtained $forall x(xin Aimplies(xin Bimplies xin A))$.
    – Lord Shark the Unknown
    Nov 19 at 7:28










  • The set A = {1, 2} is a subset of B = {1, 2, 3}, the expressions A ⊆ B is true but is B ⊆ A? This is probably true only if A=B.
    – NoChance
    Nov 19 at 7:45










  • @NoChance thanks for the counter example, but i did point out that the proof is invalid. I wanted to know which step is wrong. frustratingly, none of the comments helped me.
    – tnstse
    Nov 19 at 7:46










  • As @LordSharktheUnknown points out, the problem is that in step 8, your definition of subset uses the label $x$ to denote any element. In the previous lines you use the label $x$ to denote any element of $A$. You then conflate the two, essentially applying the subset definition only to those elements that are already in $A$ instead of to all possible elements, and thereby ignoring all elements in $B$ $A$.
    – Jaap Scherphuis
    Nov 19 at 7:54










1




1




The definition of subset : $A subseteq B$ is : $forall x (x in A to x in B)$. It is a predicate logic formula and not a priopositional one.
– Mauro ALLEGRANZA
Nov 19 at 7:21




The definition of subset : $A subseteq B$ is : $forall x (x in A to x in B)$. It is a predicate logic formula and not a priopositional one.
– Mauro ALLEGRANZA
Nov 19 at 7:21




1




1




$Bsubseteq A$ means $forall x(xin Bimplies xin A)$, but you have only obtained $forall x(xin Aimplies(xin Bimplies xin A))$.
– Lord Shark the Unknown
Nov 19 at 7:28




$Bsubseteq A$ means $forall x(xin Bimplies xin A)$, but you have only obtained $forall x(xin Aimplies(xin Bimplies xin A))$.
– Lord Shark the Unknown
Nov 19 at 7:28












The set A = {1, 2} is a subset of B = {1, 2, 3}, the expressions A ⊆ B is true but is B ⊆ A? This is probably true only if A=B.
– NoChance
Nov 19 at 7:45




The set A = {1, 2} is a subset of B = {1, 2, 3}, the expressions A ⊆ B is true but is B ⊆ A? This is probably true only if A=B.
– NoChance
Nov 19 at 7:45












@NoChance thanks for the counter example, but i did point out that the proof is invalid. I wanted to know which step is wrong. frustratingly, none of the comments helped me.
– tnstse
Nov 19 at 7:46




@NoChance thanks for the counter example, but i did point out that the proof is invalid. I wanted to know which step is wrong. frustratingly, none of the comments helped me.
– tnstse
Nov 19 at 7:46












As @LordSharktheUnknown points out, the problem is that in step 8, your definition of subset uses the label $x$ to denote any element. In the previous lines you use the label $x$ to denote any element of $A$. You then conflate the two, essentially applying the subset definition only to those elements that are already in $A$ instead of to all possible elements, and thereby ignoring all elements in $B$ $A$.
– Jaap Scherphuis
Nov 19 at 7:54






As @LordSharktheUnknown points out, the problem is that in step 8, your definition of subset uses the label $x$ to denote any element. In the previous lines you use the label $x$ to denote any element of $A$. You then conflate the two, essentially applying the subset definition only to those elements that are already in $A$ instead of to all possible elements, and thereby ignoring all elements in $B$ $A$.
– Jaap Scherphuis
Nov 19 at 7:54












2 Answers
2






active

oldest

votes

















up vote
5
down vote













Long comment



The wrong proof is :



1) Assume : $A ⊆ B$



2) Suppose : $x ∈ A$



3) $forall x (x∈A⟹x∈B)$ --- definition of subset [not used]



4) $x ∈ A ⟹ x∈B$ --- by Universal instantiation [not used]



5) $x∈B$ --- from 2) and 4) by Modus pones [not used]



6) $x∈A ⟹ (x∈B ⟹ x∈A)$ --- from tautology : $q⟹(p⟹q)$



7) $x∈B ⟹ x∈A$ --- by Modus pones from 2) and 6)



But we cannot apply the definition of subset to 7) in order to conclude with $B⊆A$ because we have not yet proved : $forall x (x∈B ⟹ x∈A)$.



The "obvious" step is to apply Universal generalization to 7), but this move is invalid, because $x$ is free in assumption 2).



Intuitively, we have chosen an $x$ such that $x$ belongs to $A$ and we have derived, with this assumption, that $x∈B ⟹ x∈A$; but this does not mean that the formula that we have derived holds for $x$ whatever.






share|cite|improve this answer






























    up vote
    1
    down vote













    Your definition of subset is incorrect, as it should be a universal quantified statement.



    Certainly should we suppose that for any $x$ which satisfies $xin A$, we may derive $xin Bto xin A$.   However, this is not the same as deriving $forall x~(xin Bto xin A)$ , which is the actual definition for $Bsubseteq A$.   All you can prove from this line of reasoning is that $Acap Bsubseteq A$.



    $$forall x~(xin Ato(xin Bto xin A))\forall x~((xin Awedge xin B)to xin A)\forall x~(xin Acap Bto xin A)\Acap Bsubseteq A$$






    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: 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%2f3004613%2fwhat-is-my-mistake-in-proving-that-a-subseteq-b-implies-b-subseteq-a%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      5
      down vote













      Long comment



      The wrong proof is :



      1) Assume : $A ⊆ B$



      2) Suppose : $x ∈ A$



      3) $forall x (x∈A⟹x∈B)$ --- definition of subset [not used]



      4) $x ∈ A ⟹ x∈B$ --- by Universal instantiation [not used]



      5) $x∈B$ --- from 2) and 4) by Modus pones [not used]



      6) $x∈A ⟹ (x∈B ⟹ x∈A)$ --- from tautology : $q⟹(p⟹q)$



      7) $x∈B ⟹ x∈A$ --- by Modus pones from 2) and 6)



      But we cannot apply the definition of subset to 7) in order to conclude with $B⊆A$ because we have not yet proved : $forall x (x∈B ⟹ x∈A)$.



      The "obvious" step is to apply Universal generalization to 7), but this move is invalid, because $x$ is free in assumption 2).



      Intuitively, we have chosen an $x$ such that $x$ belongs to $A$ and we have derived, with this assumption, that $x∈B ⟹ x∈A$; but this does not mean that the formula that we have derived holds for $x$ whatever.






      share|cite|improve this answer



























        up vote
        5
        down vote













        Long comment



        The wrong proof is :



        1) Assume : $A ⊆ B$



        2) Suppose : $x ∈ A$



        3) $forall x (x∈A⟹x∈B)$ --- definition of subset [not used]



        4) $x ∈ A ⟹ x∈B$ --- by Universal instantiation [not used]



        5) $x∈B$ --- from 2) and 4) by Modus pones [not used]



        6) $x∈A ⟹ (x∈B ⟹ x∈A)$ --- from tautology : $q⟹(p⟹q)$



        7) $x∈B ⟹ x∈A$ --- by Modus pones from 2) and 6)



        But we cannot apply the definition of subset to 7) in order to conclude with $B⊆A$ because we have not yet proved : $forall x (x∈B ⟹ x∈A)$.



        The "obvious" step is to apply Universal generalization to 7), but this move is invalid, because $x$ is free in assumption 2).



        Intuitively, we have chosen an $x$ such that $x$ belongs to $A$ and we have derived, with this assumption, that $x∈B ⟹ x∈A$; but this does not mean that the formula that we have derived holds for $x$ whatever.






        share|cite|improve this answer

























          up vote
          5
          down vote










          up vote
          5
          down vote









          Long comment



          The wrong proof is :



          1) Assume : $A ⊆ B$



          2) Suppose : $x ∈ A$



          3) $forall x (x∈A⟹x∈B)$ --- definition of subset [not used]



          4) $x ∈ A ⟹ x∈B$ --- by Universal instantiation [not used]



          5) $x∈B$ --- from 2) and 4) by Modus pones [not used]



          6) $x∈A ⟹ (x∈B ⟹ x∈A)$ --- from tautology : $q⟹(p⟹q)$



          7) $x∈B ⟹ x∈A$ --- by Modus pones from 2) and 6)



          But we cannot apply the definition of subset to 7) in order to conclude with $B⊆A$ because we have not yet proved : $forall x (x∈B ⟹ x∈A)$.



          The "obvious" step is to apply Universal generalization to 7), but this move is invalid, because $x$ is free in assumption 2).



          Intuitively, we have chosen an $x$ such that $x$ belongs to $A$ and we have derived, with this assumption, that $x∈B ⟹ x∈A$; but this does not mean that the formula that we have derived holds for $x$ whatever.






          share|cite|improve this answer














          Long comment



          The wrong proof is :



          1) Assume : $A ⊆ B$



          2) Suppose : $x ∈ A$



          3) $forall x (x∈A⟹x∈B)$ --- definition of subset [not used]



          4) $x ∈ A ⟹ x∈B$ --- by Universal instantiation [not used]



          5) $x∈B$ --- from 2) and 4) by Modus pones [not used]



          6) $x∈A ⟹ (x∈B ⟹ x∈A)$ --- from tautology : $q⟹(p⟹q)$



          7) $x∈B ⟹ x∈A$ --- by Modus pones from 2) and 6)



          But we cannot apply the definition of subset to 7) in order to conclude with $B⊆A$ because we have not yet proved : $forall x (x∈B ⟹ x∈A)$.



          The "obvious" step is to apply Universal generalization to 7), but this move is invalid, because $x$ is free in assumption 2).



          Intuitively, we have chosen an $x$ such that $x$ belongs to $A$ and we have derived, with this assumption, that $x∈B ⟹ x∈A$; but this does not mean that the formula that we have derived holds for $x$ whatever.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 19 at 10:47

























          answered Nov 19 at 8:12









          Mauro ALLEGRANZA

          63.8k448110




          63.8k448110






















              up vote
              1
              down vote













              Your definition of subset is incorrect, as it should be a universal quantified statement.



              Certainly should we suppose that for any $x$ which satisfies $xin A$, we may derive $xin Bto xin A$.   However, this is not the same as deriving $forall x~(xin Bto xin A)$ , which is the actual definition for $Bsubseteq A$.   All you can prove from this line of reasoning is that $Acap Bsubseteq A$.



              $$forall x~(xin Ato(xin Bto xin A))\forall x~((xin Awedge xin B)to xin A)\forall x~(xin Acap Bto xin A)\Acap Bsubseteq A$$






              share|cite|improve this answer

























                up vote
                1
                down vote













                Your definition of subset is incorrect, as it should be a universal quantified statement.



                Certainly should we suppose that for any $x$ which satisfies $xin A$, we may derive $xin Bto xin A$.   However, this is not the same as deriving $forall x~(xin Bto xin A)$ , which is the actual definition for $Bsubseteq A$.   All you can prove from this line of reasoning is that $Acap Bsubseteq A$.



                $$forall x~(xin Ato(xin Bto xin A))\forall x~((xin Awedge xin B)to xin A)\forall x~(xin Acap Bto xin A)\Acap Bsubseteq A$$






                share|cite|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Your definition of subset is incorrect, as it should be a universal quantified statement.



                  Certainly should we suppose that for any $x$ which satisfies $xin A$, we may derive $xin Bto xin A$.   However, this is not the same as deriving $forall x~(xin Bto xin A)$ , which is the actual definition for $Bsubseteq A$.   All you can prove from this line of reasoning is that $Acap Bsubseteq A$.



                  $$forall x~(xin Ato(xin Bto xin A))\forall x~((xin Awedge xin B)to xin A)\forall x~(xin Acap Bto xin A)\Acap Bsubseteq A$$






                  share|cite|improve this answer












                  Your definition of subset is incorrect, as it should be a universal quantified statement.



                  Certainly should we suppose that for any $x$ which satisfies $xin A$, we may derive $xin Bto xin A$.   However, this is not the same as deriving $forall x~(xin Bto xin A)$ , which is the actual definition for $Bsubseteq A$.   All you can prove from this line of reasoning is that $Acap Bsubseteq A$.



                  $$forall x~(xin Ato(xin Bto xin A))\forall x~((xin Awedge xin B)to xin A)\forall x~(xin Acap Bto xin A)\Acap Bsubseteq A$$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 19 at 13:35









                  Graham Kemp

                  84.6k43378




                  84.6k43378






























                      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%2f3004613%2fwhat-is-my-mistake-in-proving-that-a-subseteq-b-implies-b-subseteq-a%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

                      How to change which sound is reproduced for terminal bell?

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents