I am reading this https://en.wikipedia.org/wiki/Peano_axioms#:~:text=The%20Peano%20axioms%20define%20the,0%20is%20a%20natural%20number.
They use S(x)
for successor of x
. Here, I just use x*
to make it easier to see.
Proofing that commutative works for 0 is easy. 0+0=0
Say successor of x
is x*
Proofing that commutative works if one of the thing we added is 1 is easy
x+1=x+0*=(x+0)*=x*
Is it the same with 1+x
, well just use induction
Wanna show that 1+x*=1+x**
1+0=1
, by peano axiom
now assume 1+x=x*
too
Then 1+x*=(1+x)*=x**
bingo....
Now, we want to proof that y+x=x+y
for all x and y in natural number
We know it's true that y+x=x+y when both are 0. We know that it's true when one of them is either 0 or 1.
Now we want to show that
y*+x=x+y*
Then y*+x=
?
Then what?
How do I show that y*+x = x+y*
?
I suppose I can do x+y*=(x+y)*=(y+x)*=y+x*
Then what?
Should I show that x+y*=x*+y
first? That is the star can move around in addition? How?
Curiously I can derive associativity first. And then use commutative when one of the things added is 1. But say I don't want something more elegant
What would be the solution?
Sample of similar questions Prove the commutativity property of addition of natural numbers by induction This doesn't work. It uses associativity and +1
I basically want to use only star and bracket operation. Successor and bracket.
LOL.
So what should I do? Close this one? Nope that one doesn't use associativity.
– user4951 Nov 09 '23 at 15:36