]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/RELATIONAL/ZEq/defs.ma
Stuff moved from old Matita.
[helm.git] / matita / matita / contribs / RELATIONAL / ZEq / defs.ma
diff --git a/matita/matita/contribs/RELATIONAL/ZEq/defs.ma b/matita/matita/contribs/RELATIONAL/ZEq/defs.ma
new file mode 100644 (file)
index 0000000..0fa85f7
--- /dev/null
@@ -0,0 +1,26 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+
+
+include "datatypes/Zah.ma".
+include "NPlus/defs.ma".
+
+inductive ZEq: Zah → Zah → Prop :=
+   | zeq: ∀m1,m2,m3,m4,n. m1 ⊕ m4 ≍ n → m3 ⊕ m2 ≍ n →
+          ZEq 〈m1,m2〉 〈m3, m4〉
+.
+
+interpretation "integer equality" 'napart x y = (ZEq x y).
+