page 1
1
A Lemma About Mod2
We want to prove
(
M : Nat ) mod2(2 * M) = 0 .
We use
induction
on
M
to prove this goal. For this, we use the
induction scheme
based on the signature
{ 0, s }
for
Nat.
Induction requires that we do the following:
Base case: prove the assertion for
M = 0
.
We show
mod2(2 * 0) = 0
by
reduction
.
Induction case: assume the assertion for
M = N0
, and then prove it for
M = s N0
.
Quantifier elimination
introduces the new constant(s)
n0 : Nat
.
Implication elimination
assumes
mod2(2 * n0) = 0
.
We show
mod2(2 * (s n0)) = 0
by
reduction
.
And thus the main goal is proved.
Left
Up
Down
Right
This page was generated by Kumo on Tue Feb 13 19:36:04 PST 2001.