diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-05-18 16:25:17 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-05-18 16:25:17 +0000 |
commit | 219a2d178dcd5cc625f6b6261759f392cfca367b (patch) | |
tree | 9f291936f23bdb6ee1a3c6bf996668235909ed98 /common/Values.v | |
parent | e521f0bc060ead051102e4d68b98bb40ecc802b3 (diff) | |
download | compcert-219a2d178dcd5cc625f6b6261759f392cfca367b.tar.gz compcert-219a2d178dcd5cc625f6b6261759f392cfca367b.zip |
Hack with nxor
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1898 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'common/Values.v')
-rw-r--r-- | common/Values.v | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/Values.v b/common/Values.v index 54eac863..1e274ad2 100644 --- a/common/Values.v +++ b/common/Values.v @@ -740,6 +740,11 @@ Proof. decEq. apply Int.xor_assoc. Qed. +Theorem not_xor: forall x, notint x = xor x (Vint Int.mone). +Proof. + destruct x; simpl; auto. +Qed. + Theorem shl_mul: forall x y, mul x (shl Vone y) = shl x y. Proof. destruct x; destruct y; simpl; auto. |