diff options
Diffstat (limited to 'lib/Integers.v')
-rw-r--r-- | lib/Integers.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Integers.v b/lib/Integers.v index b849872f..7fb29803 100644 --- a/lib/Integers.v +++ b/lib/Integers.v @@ -1178,6 +1178,12 @@ Proof. unfold divu; intros. rewrite unsigned_one. rewrite Zdiv_1_r. apply repr_unsigned. Qed. +Theorem divs_one: + forall x, zwordsize > 1 -> divs x one = x. +Proof. + unfold divs; intros. rewrite signed_one. rewrite Zquot_1_r. apply repr_signed. auto. +Qed. + Theorem modu_one: forall x, modu x one = zero. Proof. |