X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcontribs%2FRELATIONAL%2FNLE%2Fdefs.ma;h=a9b33561db8d542265c989c5fd6898ff11aab35c;hb=31bcb2d7cb6fc4c01af9d62b6ede25a9b82308aa;hp=19e45c3bcb56eec0ef2bec3a3b2c56008fdb6375;hpb=c86f1a6c4d00f66a81c576589f215cb667595710;p=helm.git diff --git a/matita/contribs/RELATIONAL/NLE/defs.ma b/matita/contribs/RELATIONAL/NLE/defs.ma index 19e45c3bc..a9b33561d 100644 --- a/matita/contribs/RELATIONAL/NLE/defs.ma +++ b/matita/contribs/RELATIONAL/NLE/defs.ma @@ -14,8 +14,16 @@ set "baseuri" "cic:/matita/RELATIONAL/NLE/defs". -include "Nat/defs.ma". +include "NPlus/defs.ma". -inductive NLE: Nat \to Nat \to Prop \def - | NLE_zero: \forall q. NLE zero q - | NLE_succ: \forall p,q. NLE p q \to NLE (succ p) (succ q). +definition NLE: Nat \to Nat \to Prop \def + \lambda q,r. \exists p. (p + q == r). + +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'less or equal to'" 'leq x y = + (cic:/matita/RELATIONAL/NLE/defs/NLE.con x y). + +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'less than'" 'lt x y = + (cic:/matita/RELATIONAL/NLE/defs/NLE.con + (cic:/matita/RELATIONAL/Nat/defs/Nat.ind#xpointer(1/1/2) x) y).