]> matita.cs.unibo.it Git - helm.git/blob - matita/contribs/RELATIONAL/Zah/defs.ma
Even if we are at depth 0, we first check in the cache for a solution,
[helm.git] / matita / contribs / RELATIONAL / Zah / 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 set "baseuri" "cic:/matita/RELATIONAL/Zah/defs".
16
17 include "datatypes/constructors.ma".
18 include "logic/coimplication.ma".
19 include "NPlusList/defs.ma".
20
21 definition Zah \def Nat \times Nat.
22 (*
23 definition ZEq: Zah \to Zah -> Prop :=
24    \lambda z1,z2.
25    \forall n. ((\fst z1) + (\snd z2) == n) \liff (\fst z2) + (\snd z1) == n.
26
27 interpretation "integer equality" 'zeq x y =
28  (cic:/matita/RELATIONAL/Zah/defs/ZEq.con x y).
29
30 notation "hvbox(a break = b)"
31   non associative with precedence 45
32 for @{ 'zeq $a $b }.
33 *)