diff options
author | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2014-04-23 13:42:25 +0200 |
---|---|---|
committer | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2014-05-02 11:04:21 +0200 |
commit | c33ba30ec4e8ed636906d824c300788e10df20b5 (patch) | |
tree | 9fea5f5aabf3c024413b0ba7c5b193a58b74feea /theories/Bool | |
parent | ec9ee383575ed356438644d38c1cc8e05325537f (diff) |
Eta contractions to please cbn
Diffstat (limited to 'theories/Bool')
-rw-r--r-- | theories/Bool/Bvector.v | 8 |
1 files changed, 4 insertions, 4 deletions
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). |