summaryrefslogtreecommitdiff
path: root/theories/NArith/Nsqrt_def.v
diff options
context:
space:
mode:
Diffstat (limited to 'theories/NArith/Nsqrt_def.v')
-rw-r--r--theories/NArith/Nsqrt_def.v18
1 files changed, 18 insertions, 0 deletions
diff --git a/theories/NArith/Nsqrt_def.v b/theories/NArith/Nsqrt_def.v
new file mode 100644
index 00000000..240d7469
--- /dev/null
+++ b/theories/NArith/Nsqrt_def.v
@@ -0,0 +1,18 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2012 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+Require Import BinNat.
+
+(** Obsolete file, see [BinNat] now,
+ only compatibility notations remain here. *)
+
+Notation Nsqrtrem := N.sqrtrem (compat "8.3").
+Notation Nsqrt := N.sqrt (compat "8.3").
+Notation Nsqrtrem_spec := N.sqrtrem_spec (compat "8.3").
+Notation Nsqrt_spec := (fun n => N.sqrt_spec n (N.le_0_l n)) (compat "8.3").
+Notation Nsqrtrem_sqrt := N.sqrtrem_sqrt (compat "8.3").