1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
17 include "NPlus/fun.ma".
18 include "ZEq/defs.ma".
20 theorem zeq_refl: ∀z. z ≈ z.
21 intros; elim z. clear z.
22 lapply (nplus_total a b); decompose;
26 theorem zeq_sym: ∀z1,z2. z1 ≈ z2 → z2 ≈ z1.
27 intros; elim H; clear H z1 z2; autobatch.
30 theorem zeq_trans: \forall z1,z2. z1 = z2 \to
31 \forall z3. z2 = z3 \to z1 = z3.
32 intros 3. elim H. clear H z1 z2.
33 inversion H3. clear H3. intros. destruct.
34 lapply (nplus_total n5 n6). decompose.
35 lapply (nplus_total n4 n9). decompose.