]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma
some updates
[helm.git] / helm / software / matita / contribs / RELATIONAL / NPlus / 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/NPlus/defs".
16
17 include "logic/equality.ma".
18 include "Nat/defs.ma".
19
20 inductive NPlus (p:Nat): Nat \to Nat \to Prop \def
21    | nplus_zero_2: NPlus p zero p
22    | nplus_succ_2: \forall q, r. NPlus p q r \to NPlus p (succ q) (succ r).
23
24 (*CSC: the URI must disappear: there is a bug now *)
25 interpretation "natural plus predicate" 'rel_plus x y z = 
26    (cic:/matita/RELATIONAL/NPlus/defs/NPlus.ind#xpointer(1/1) x y z).
27
28 notation "hvbox(a break + b break == c)"
29   non associative with precedence 95
30 for @{ 'rel_plus $a $b $c}.