]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/RELATIONAL/ZEq/defs.ma
freescale porting, work in progress
[helm.git] / helm / software / 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 → Zah → Prop :=
21    | zeq: ∀m1,m2,m3,m4,n. m1 ⊕ m4 ≍ n → m3 ⊕ m2 ≍ n →
22           ZEq 〈m1,m2〉 〈m3, m4〉
23 .
24
25 interpretation "integer equality" 'napart x y = (ZEq x y).
26