]> matita.cs.unibo.it Git - helm.git/blob - matita/contribs/RELATIONAL/ZEq/defs.ma
tagged 0.5.0-rc1
[helm.git] / matita / contribs / RELATIONAL / ZEq / defs.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15
16
17 include "datatypes/Zah.ma".
18 include "NPlus/defs.ma".
19
20 inductive ZEq: Zah \to Zah \to Prop :=
21    | zeq: \forall m1,m2,m3,m4,n.
22           (m1 + m4 == n) \to (m3 + m2 == n) \to
23           ZEq \langle m1, m2 \rangle \langle m3, m4 \rangle
24 .
25
26 interpretation "integer equality" 'eq x y =
27  (cic:/matita/RELATIONAL/ZEq/defs/ZEq.ind#xpointer(1/1) x y).
28