From c33ba30ec4e8ed636906d824c300788e10df20b5 Mon Sep 17 00:00:00 2001 From: Pierre Boutillier Date: Wed, 23 Apr 2014 13:42:25 +0200 Subject: Eta contractions to please cbn --- theories/Bool/Bvector.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'theories/Bool') diff --git a/theories/Bool/Bvector.v b/theories/Bool/Bvector.v index d7162e620..5363c5465 100644 --- a/theories/Bool/Bvector.v +++ b/theories/Bool/Bvector.v @@ -60,13 +60,13 @@ Definition Bhigh := @Vector.tl bool. Definition Bsign := @Vector.last bool. -Definition Bneg n (v : Bvector n) := Vector.map negb v. +Definition Bneg := @Vector.map _ _ negb. -Definition BVand n (v : Bvector n) := Vector.map2 andb v. +Definition BVand := @Vector.map2 _ _ _ andb. -Definition BVor n (v : Bvector n) := Vector.map2 orb v. +Definition BVor := @Vector.map2 _ _ _ orb. -Definition BVxor n (v : Bvector n) := Vector.map2 xorb v. +Definition BVxor := @Vector.map2 _ _ _ xorb. Definition BshiftL (n:nat) (bv:Bvector (S n)) (carry:bool) := Bcons carry n (Vector.shiftout bv). -- cgit v1.2.3