diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2019-04-23 15:00:41 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2019-04-23 15:00:41 +0200 |
commit | 51c497b2e5a2b09788f2cf05f414634b037f52bf (patch) | |
tree | d1cfcc98a74cb78a042d90f91f6092078b3f3a0f /arm | |
parent | b66ddea9b0304d390b56afadda80fa4d2f2184d6 (diff) | |
download | compcert-51c497b2e5a2b09788f2cf05f414634b037f52bf.tar.gz compcert-51c497b2e5a2b09788f2cf05f414634b037f52bf.zip |
lib/Coqlib.v: remove defns about multiplication, division, modulus
Instead, use definitions and lemmas from the Coq standard library
(ZArith, Znumtheory).
Diffstat (limited to 'arm')
-rw-r--r-- | arm/Op.v | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -532,7 +532,7 @@ Lemma mk_shift_amount_eq: forall n, Int.ltu n Int.iwordsize = true -> s_amount (mk_shift_amount n) = n. Proof. intros; simpl. unfold Int.modu. transitivity (Int.repr (Int.unsigned n)). - decEq. apply Zmod_small. apply Int.ltu_inv; auto. + decEq. apply Z.mod_small. apply Int.ltu_inv; auto. apply Int.repr_unsigned. Qed. |