aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/ZArith
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-05-04 12:07:10 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-05-04 12:07:10 +0200
commit8af2e5223dfe84c87d7943c2db0cd6b62e8a4635 (patch)
tree03647f1572cba0a410f2292d9b92db86d228671a /theories/ZArith
parent796859aca4fc85dc721b670d95b0c2aaace55e32 (diff)
parent5b4e3ace20eb2ab569d172a1f358f26f451d361c (diff)
Merge branch 'move-compat-notations' of https://github.com/JasonGross/coq into v8.5
Diffstat (limited to 'theories/ZArith')
-rw-r--r--theories/ZArith/Int.v4
1 files changed, 4 insertions, 0 deletions
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.