Exercise 2.3.2
Prove Lemma 2.3.3. (Hint: prove the second statement first.)
Let's write down Lemma 2.3.3.
Lemma 2.3.3 (Positive natural numbers have no zero divisors). Let
It is worth recalling the definition of a positive number.
Definition 2.2.7 (Positive natural numbers). A natural number
iff it is not equal to 0.
Let's take the hint and prove the second statement first. Let's do it by inducting on
Inductive hypothesis:
Base case:
This simplifies to
Although not necessary, it is insightful to see what happens with
This simplifies to
Now let's turn to the induction step. We need to show that
Now, we know that if
This gives us
Let's focus on
So finally
By induction, we have shown
Now we need to prove the first statement in Lemma 2.3.3, which is
We need to prove this in both directions.
Let's consider left to right,
This simplifies to
This is precisely what we have just proved above.
Let's consider right to left.
This covers three cases:
which gives which by Definition 2.3.1 is 0. which gives which by commutativity of multiplication (Lemma 2.3.2) is also 0. which is covered by the case.
No comments:
Post a Comment