supermiedos
- 62
- 0
But since S(n)*m = nm + m I'd like to prove that also m*S(n) = nm + m, thus S(n)*m = m*S(n), meaning that nm = mnstevendaryl said:Hmm. It seems more straight-forward to prove
[itex]m \cdot S(n) = m \cdot n + m[/itex]
supermiedos said:But since S(n)*m = nm + m I'd like to prove that also m*S(n) = nm + m, thus S(n)*m = m*S(n), meaning that nm = mn
supermiedos said:Wait, so in this case we have like "two inductions" into one?
We're assuming that m⋅n = n⋅m
but also we're assuming that n⋅S(m) = n⋅m +n in the same proof?
Of course. I get it now. Thanksstevendaryl said:No, first you prove by induction that [itex]n \cdot S(m) = n \cdot m + n[/itex].
Then you prove by induction that [itex]m \cdot n = n \cdot m[/itex]. In the second proof, you assume [itex]m \cdot n = n \cdot m[/itex] and use that to prove [itex]S(m) \cdot n = n \cdot S(m)[/itex].