X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FRELATIONAL%2FNPlus%2Fdefs.ma;h=15a16b72c1a7e93c7c9c3e8b9f28cc8f1565919d;hb=d9824956d9132109ed5f23380a0a1f9c5181d18a;hp=92561bc5cde818eff13fec8f94ccaf6ec19f2b88;hpb=1e8c961814b55b806652b8b8243d6f56108bda9c;p=helm.git diff --git a/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma b/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma index 92561bc5c..15a16b72c 100644 --- a/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma +++ b/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma @@ -12,12 +12,16 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/RELATIONAL/NPlus/defs". -include "logic/equality.ma". -include "Nat/defs.ma". +include "datatypes/Nat.ma". -inductive NPlus (p:Nat): Nat \to Nat \to Prop \def +inductive NPlus (p:Nat): Nat → Nat → Prop ≝ | nplus_zero_2: NPlus p zero p - | nplus_succ_2: \forall q, r. NPlus p q r \to NPlus p (succ q) (succ r). + | nplus_succ_2: ∀q, r. NPlus p q r → NPlus p (succ q) (succ r). + +interpretation "natural plus predicate" 'rel_plus x y z = (NPlus x y z). + +notation "hvbox(a break ⊕ b break ≍ c)" + non associative with precedence 45 +for @{'rel_plus $a $b $c}.