From 5b4e3ace20eb2ab569d172a1f358f26f451d361c Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Tue, 29 Dec 2015 13:27:36 -0500 Subject: Move compatibility notations to their proper files --- theories/ZArith/Int.v | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'theories/ZArith') diff --git a/theories/ZArith/Int.v b/theories/ZArith/Int.v index d210792f9..b78891c71 100644 --- a/theories/ZArith/Int.v +++ b/theories/ZArith/Int.v @@ -451,4 +451,8 @@ Module Z_as_Int <: Int. Lemma i2z_ltb n p : ltb n p = Z.ltb (i2z n) (i2z p). Proof. reflexivity. Qed. + (** Compatibility notations for Coq v8.4 *) + Notation plus := Coq.ZArith.Int.Z_as_Int.add (compat "8.4"). + Notation minus := Coq.ZArith.Int.Z_as_Int.sub (compat "8.4"). + Notation mult := Coq.ZArith.Int.Z_as_Int.mul (compat "8.4"). End Z_as_Int. -- cgit v1.2.3