aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/PArith
diff options
context:
space:
mode:
authorGravatar Pierre Boutillier <pierre.boutillier@ens-lyon.org>2014-04-23 13:42:25 +0200
committerGravatar Pierre Boutillier <pierre.boutillier@ens-lyon.org>2014-05-02 11:04:21 +0200
commitc33ba30ec4e8ed636906d824c300788e10df20b5 (patch)
tree9fea5f5aabf3c024413b0ba7c5b193a58b74feea /theories/PArith
parentec9ee383575ed356438644d38c1cc8e05325537f (diff)
Eta contractions to please cbn
Diffstat (limited to 'theories/PArith')
-rw-r--r--theories/PArith/BinPosDef.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/PArith/BinPosDef.v b/theories/PArith/BinPosDef.v
index 6674943a6..4541fce0d 100644
--- a/theories/PArith/BinPosDef.v
+++ b/theories/PArith/BinPosDef.v
@@ -482,8 +482,8 @@ Fixpoint lxor (p q:positive) : N :=
(** Shifts. NB: right shift of 1 stays at 1. *)
-Definition shiftl_nat (p:positive)(n:nat) := nat_rect _ p (fun _ => xO) n.
-Definition shiftr_nat (p:positive)(n:nat) := nat_rect _ p (fun _ => div2) n.
+Definition shiftl_nat (p:positive) := nat_rect _ p (fun _ => xO).
+Definition shiftr_nat (p:positive) := nat_rect _ p (fun _ => div2).
Definition shiftl (p:positive)(n:N) :=
match n with