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=93c7a2e45f1da1926dde81919da068133c482b8c;hpb=092d5c718ea90255ce1009acd5aa0942e4449898;p=helm.git diff --git a/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma b/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma index 93c7a2e45..15a16b72c 100644 --- a/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma +++ b/helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma @@ -12,18 +12,16 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/RELATIONAL/NPlus/defs". -include "datatypes/defs.ma". -inductive NPlus (p:Nat): Nat \to Nat \to Prop \def +include "datatypes/Nat.ma". + +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). -(*CSC: the URI must disappear: there is a bug now *) -interpretation "natural plus predicate" 'rel_plus x y z = - (cic:/matita/RELATIONAL/NPlus/defs/NPlus.ind#xpointer(1/1) x y z). +interpretation "natural plus predicate" 'rel_plus x y z = (NPlus x y z). -notation "hvbox(a break + b break == c)" - non associative with precedence 95 -for @{ 'rel_plus $a $b $c}. +notation "hvbox(a break ⊕ b break ≍ c)" + non associative with precedence 45 +for @{'rel_plus $a $b $c}.