$a < b$ and $c<d$ imply $a+c < b+d$












1















$a < b$ and $c<d$ imply $a+c < b+d$ when $a,b,c,d$ are arbitrary
nonnegative integers.




I know that (assuming we include zero)
$$begin{align*}
a<b Leftrightarrow (exists xin mathbb N)a + S(x) = b\
c<d Leftrightarrow (exists yin mathbb N)c + S(y) = d
end{align*}$$



And that's what I have done by using associative and conmutative properties:



$$(a+c)+(S(x)+S(y))\=a+(c+S(x))+S(y)\=a + (S(x)+c)+S(y)\=(a+S(x)) + (c+S(y))\= b + d$$



Also, we have that $S(x) + S(y) = S(S(x+y))$ by using addition definition recursively.



$x land y in mathbb{N} implies S(x) land S(y) in mathbb{N}^*$
where $mathbb N^* =mathbb Nsetminus{0}$



That means we could start with $(a + c) + 1 = b + d$ and could work with any $k in mathbb N^*$ that satisfies the expression for arbitrary $a, c, b, d in mathbb N$, thus $a+c < b+d$.



Is that proof valid in the context of naturals and Peano axioms?










share|cite|improve this question




















  • 2




    You have to add that $S(x)+S(y)=S(S(x+y))$
    – Federico
    Dec 7 at 15:36






  • 2




    More to the point, what you've done is valid, but your conclusion is $$(a+ c) + (S(x) + S(y)) = b + d$$while what you need to conclude is $a + c < b + d$. You have steps remaining.
    – Paul Sinclair
    Dec 8 at 2:26










  • @PaulSinclair Could I use transivity here to complete the proof? I think the step remaining is the connection between $c$ and $d$ (i.e. $a < b < c < d$).
    – adriana634
    Dec 8 at 15:28












  • That is not the problem. It appears from where you started that you are defining $u < v$ by $(exists x)u + S(x) = v$. So to match that definition and conclude that $a + c < b + d$, you need to show that there is some $w$ such that $(a + c) + S(w) = b + d$. Thus, what you need to show next is that $S(x) + S(y) = S(w)$ for some $w$. Federico has given an explicit expression for $w$, but for your purposes, all you need to show is that some $w$ works, not that explicit expression.
    – Paul Sinclair
    Dec 8 at 15:51










  • @PaulSinclair I am a bit lost in what you said. How can I show that some $w$ works? By using induction? Since we are in naturals (where $a,b,c,dinmathbb{N}$) we must use induction or is not always required? I've seen that this property is proved (where $a,b,c,dinmathbb{R}$) by only using transitivity.
    – adriana634
    Dec 8 at 18:34
















1















$a < b$ and $c<d$ imply $a+c < b+d$ when $a,b,c,d$ are arbitrary
nonnegative integers.




I know that (assuming we include zero)
$$begin{align*}
a<b Leftrightarrow (exists xin mathbb N)a + S(x) = b\
c<d Leftrightarrow (exists yin mathbb N)c + S(y) = d
end{align*}$$



And that's what I have done by using associative and conmutative properties:



$$(a+c)+(S(x)+S(y))\=a+(c+S(x))+S(y)\=a + (S(x)+c)+S(y)\=(a+S(x)) + (c+S(y))\= b + d$$



Also, we have that $S(x) + S(y) = S(S(x+y))$ by using addition definition recursively.



$x land y in mathbb{N} implies S(x) land S(y) in mathbb{N}^*$
where $mathbb N^* =mathbb Nsetminus{0}$



That means we could start with $(a + c) + 1 = b + d$ and could work with any $k in mathbb N^*$ that satisfies the expression for arbitrary $a, c, b, d in mathbb N$, thus $a+c < b+d$.



Is that proof valid in the context of naturals and Peano axioms?










share|cite|improve this question




















  • 2




    You have to add that $S(x)+S(y)=S(S(x+y))$
    – Federico
    Dec 7 at 15:36






  • 2




    More to the point, what you've done is valid, but your conclusion is $$(a+ c) + (S(x) + S(y)) = b + d$$while what you need to conclude is $a + c < b + d$. You have steps remaining.
    – Paul Sinclair
    Dec 8 at 2:26










  • @PaulSinclair Could I use transivity here to complete the proof? I think the step remaining is the connection between $c$ and $d$ (i.e. $a < b < c < d$).
    – adriana634
    Dec 8 at 15:28












  • That is not the problem. It appears from where you started that you are defining $u < v$ by $(exists x)u + S(x) = v$. So to match that definition and conclude that $a + c < b + d$, you need to show that there is some $w$ such that $(a + c) + S(w) = b + d$. Thus, what you need to show next is that $S(x) + S(y) = S(w)$ for some $w$. Federico has given an explicit expression for $w$, but for your purposes, all you need to show is that some $w$ works, not that explicit expression.
    – Paul Sinclair
    Dec 8 at 15:51










  • @PaulSinclair I am a bit lost in what you said. How can I show that some $w$ works? By using induction? Since we are in naturals (where $a,b,c,dinmathbb{N}$) we must use induction or is not always required? I've seen that this property is proved (where $a,b,c,dinmathbb{R}$) by only using transitivity.
    – adriana634
    Dec 8 at 18:34














1












1








1


1






$a < b$ and $c<d$ imply $a+c < b+d$ when $a,b,c,d$ are arbitrary
nonnegative integers.




I know that (assuming we include zero)
$$begin{align*}
a<b Leftrightarrow (exists xin mathbb N)a + S(x) = b\
c<d Leftrightarrow (exists yin mathbb N)c + S(y) = d
end{align*}$$



And that's what I have done by using associative and conmutative properties:



$$(a+c)+(S(x)+S(y))\=a+(c+S(x))+S(y)\=a + (S(x)+c)+S(y)\=(a+S(x)) + (c+S(y))\= b + d$$



Also, we have that $S(x) + S(y) = S(S(x+y))$ by using addition definition recursively.



$x land y in mathbb{N} implies S(x) land S(y) in mathbb{N}^*$
where $mathbb N^* =mathbb Nsetminus{0}$



That means we could start with $(a + c) + 1 = b + d$ and could work with any $k in mathbb N^*$ that satisfies the expression for arbitrary $a, c, b, d in mathbb N$, thus $a+c < b+d$.



Is that proof valid in the context of naturals and Peano axioms?










share|cite|improve this question
















$a < b$ and $c<d$ imply $a+c < b+d$ when $a,b,c,d$ are arbitrary
nonnegative integers.




I know that (assuming we include zero)
$$begin{align*}
a<b Leftrightarrow (exists xin mathbb N)a + S(x) = b\
c<d Leftrightarrow (exists yin mathbb N)c + S(y) = d
end{align*}$$



And that's what I have done by using associative and conmutative properties:



$$(a+c)+(S(x)+S(y))\=a+(c+S(x))+S(y)\=a + (S(x)+c)+S(y)\=(a+S(x)) + (c+S(y))\= b + d$$



Also, we have that $S(x) + S(y) = S(S(x+y))$ by using addition definition recursively.



$x land y in mathbb{N} implies S(x) land S(y) in mathbb{N}^*$
where $mathbb N^* =mathbb Nsetminus{0}$



That means we could start with $(a + c) + 1 = b + d$ and could work with any $k in mathbb N^*$ that satisfies the expression for arbitrary $a, c, b, d in mathbb N$, thus $a+c < b+d$.



Is that proof valid in the context of naturals and Peano axioms?







proof-verification inequality proof-writing peano-axioms natural-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 8 at 20:45

























asked Dec 7 at 15:31









adriana634

416




416








  • 2




    You have to add that $S(x)+S(y)=S(S(x+y))$
    – Federico
    Dec 7 at 15:36






  • 2




    More to the point, what you've done is valid, but your conclusion is $$(a+ c) + (S(x) + S(y)) = b + d$$while what you need to conclude is $a + c < b + d$. You have steps remaining.
    – Paul Sinclair
    Dec 8 at 2:26










  • @PaulSinclair Could I use transivity here to complete the proof? I think the step remaining is the connection between $c$ and $d$ (i.e. $a < b < c < d$).
    – adriana634
    Dec 8 at 15:28












  • That is not the problem. It appears from where you started that you are defining $u < v$ by $(exists x)u + S(x) = v$. So to match that definition and conclude that $a + c < b + d$, you need to show that there is some $w$ such that $(a + c) + S(w) = b + d$. Thus, what you need to show next is that $S(x) + S(y) = S(w)$ for some $w$. Federico has given an explicit expression for $w$, but for your purposes, all you need to show is that some $w$ works, not that explicit expression.
    – Paul Sinclair
    Dec 8 at 15:51










  • @PaulSinclair I am a bit lost in what you said. How can I show that some $w$ works? By using induction? Since we are in naturals (where $a,b,c,dinmathbb{N}$) we must use induction or is not always required? I've seen that this property is proved (where $a,b,c,dinmathbb{R}$) by only using transitivity.
    – adriana634
    Dec 8 at 18:34














  • 2




    You have to add that $S(x)+S(y)=S(S(x+y))$
    – Federico
    Dec 7 at 15:36






  • 2




    More to the point, what you've done is valid, but your conclusion is $$(a+ c) + (S(x) + S(y)) = b + d$$while what you need to conclude is $a + c < b + d$. You have steps remaining.
    – Paul Sinclair
    Dec 8 at 2:26










  • @PaulSinclair Could I use transivity here to complete the proof? I think the step remaining is the connection between $c$ and $d$ (i.e. $a < b < c < d$).
    – adriana634
    Dec 8 at 15:28












  • That is not the problem. It appears from where you started that you are defining $u < v$ by $(exists x)u + S(x) = v$. So to match that definition and conclude that $a + c < b + d$, you need to show that there is some $w$ such that $(a + c) + S(w) = b + d$. Thus, what you need to show next is that $S(x) + S(y) = S(w)$ for some $w$. Federico has given an explicit expression for $w$, but for your purposes, all you need to show is that some $w$ works, not that explicit expression.
    – Paul Sinclair
    Dec 8 at 15:51










  • @PaulSinclair I am a bit lost in what you said. How can I show that some $w$ works? By using induction? Since we are in naturals (where $a,b,c,dinmathbb{N}$) we must use induction or is not always required? I've seen that this property is proved (where $a,b,c,dinmathbb{R}$) by only using transitivity.
    – adriana634
    Dec 8 at 18:34








2




2




You have to add that $S(x)+S(y)=S(S(x+y))$
– Federico
Dec 7 at 15:36




You have to add that $S(x)+S(y)=S(S(x+y))$
– Federico
Dec 7 at 15:36




2




2




More to the point, what you've done is valid, but your conclusion is $$(a+ c) + (S(x) + S(y)) = b + d$$while what you need to conclude is $a + c < b + d$. You have steps remaining.
– Paul Sinclair
Dec 8 at 2:26




More to the point, what you've done is valid, but your conclusion is $$(a+ c) + (S(x) + S(y)) = b + d$$while what you need to conclude is $a + c < b + d$. You have steps remaining.
– Paul Sinclair
Dec 8 at 2:26












@PaulSinclair Could I use transivity here to complete the proof? I think the step remaining is the connection between $c$ and $d$ (i.e. $a < b < c < d$).
– adriana634
Dec 8 at 15:28






@PaulSinclair Could I use transivity here to complete the proof? I think the step remaining is the connection between $c$ and $d$ (i.e. $a < b < c < d$).
– adriana634
Dec 8 at 15:28














That is not the problem. It appears from where you started that you are defining $u < v$ by $(exists x)u + S(x) = v$. So to match that definition and conclude that $a + c < b + d$, you need to show that there is some $w$ such that $(a + c) + S(w) = b + d$. Thus, what you need to show next is that $S(x) + S(y) = S(w)$ for some $w$. Federico has given an explicit expression for $w$, but for your purposes, all you need to show is that some $w$ works, not that explicit expression.
– Paul Sinclair
Dec 8 at 15:51




That is not the problem. It appears from where you started that you are defining $u < v$ by $(exists x)u + S(x) = v$. So to match that definition and conclude that $a + c < b + d$, you need to show that there is some $w$ such that $(a + c) + S(w) = b + d$. Thus, what you need to show next is that $S(x) + S(y) = S(w)$ for some $w$. Federico has given an explicit expression for $w$, but for your purposes, all you need to show is that some $w$ works, not that explicit expression.
– Paul Sinclair
Dec 8 at 15:51












@PaulSinclair I am a bit lost in what you said. How can I show that some $w$ works? By using induction? Since we are in naturals (where $a,b,c,dinmathbb{N}$) we must use induction or is not always required? I've seen that this property is proved (where $a,b,c,dinmathbb{R}$) by only using transitivity.
– adriana634
Dec 8 at 18:34




@PaulSinclair I am a bit lost in what you said. How can I show that some $w$ works? By using induction? Since we are in naturals (where $a,b,c,dinmathbb{N}$) we must use induction or is not always required? I've seen that this property is proved (where $a,b,c,dinmathbb{R}$) by only using transitivity.
– adriana634
Dec 8 at 18:34










1 Answer
1






active

oldest

votes


















0














As pointed out in the comments, your proof is not quite complete.



In order to tshow that $a + c < b + d$, you need to show that there is something $z$ such that $$(b + d) + S(z) = a + c$$



all you have done is to show that



$$(b + d) + (S(x) + S(y)) = a + c$$



Fortunately, this problem is easily rectified, since you can show that $$S(x) + S(y) = S(S(x) + Y)$$



And hence you have the $z$ as need: $S(x) + y$






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',
    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%2f3030013%2fa-b-and-cd-imply-ac-bd%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









    0














    As pointed out in the comments, your proof is not quite complete.



    In order to tshow that $a + c < b + d$, you need to show that there is something $z$ such that $$(b + d) + S(z) = a + c$$



    all you have done is to show that



    $$(b + d) + (S(x) + S(y)) = a + c$$



    Fortunately, this problem is easily rectified, since you can show that $$S(x) + S(y) = S(S(x) + Y)$$



    And hence you have the $z$ as need: $S(x) + y$






    share|cite|improve this answer


























      0














      As pointed out in the comments, your proof is not quite complete.



      In order to tshow that $a + c < b + d$, you need to show that there is something $z$ such that $$(b + d) + S(z) = a + c$$



      all you have done is to show that



      $$(b + d) + (S(x) + S(y)) = a + c$$



      Fortunately, this problem is easily rectified, since you can show that $$S(x) + S(y) = S(S(x) + Y)$$



      And hence you have the $z$ as need: $S(x) + y$






      share|cite|improve this answer
























        0












        0








        0






        As pointed out in the comments, your proof is not quite complete.



        In order to tshow that $a + c < b + d$, you need to show that there is something $z$ such that $$(b + d) + S(z) = a + c$$



        all you have done is to show that



        $$(b + d) + (S(x) + S(y)) = a + c$$



        Fortunately, this problem is easily rectified, since you can show that $$S(x) + S(y) = S(S(x) + Y)$$



        And hence you have the $z$ as need: $S(x) + y$






        share|cite|improve this answer












        As pointed out in the comments, your proof is not quite complete.



        In order to tshow that $a + c < b + d$, you need to show that there is something $z$ such that $$(b + d) + S(z) = a + c$$



        all you have done is to show that



        $$(b + d) + (S(x) + S(y)) = a + c$$



        Fortunately, this problem is easily rectified, since you can show that $$S(x) + S(y) = S(S(x) + Y)$$



        And hence you have the $z$ as need: $S(x) + y$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 9 at 20:30









        Bram28

        59.7k44186




        59.7k44186






























            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%2f3030013%2fa-b-and-cd-imply-ac-bd%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

            Bressuire

            Cabo Verde

            Gyllenstierna