From 219a2d178dcd5cc625f6b6261759f392cfca367b Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 18 May 2012 16:25:17 +0000 Subject: Hack with nxor git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1898 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- common/Values.v | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common') diff --git a/common/Values.v b/common/Values.v index 54eac86..1e274ad 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. -- cgit v1.2.3