X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcontribs%2FRELATIONAL%2FNLE%2Fdefs.ma;h=2cea043d533207c7c7a8c1e3f0475a69965b6d34;hb=ac7831c825d6c3227053f3e339a53b10e3e7118f;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..2cea043d5 100644 --- a/matita/contribs/RELATIONAL/NLE/defs.ma +++ b/matita/contribs/RELATIONAL/NLE/defs.ma @@ -14,8 +14,25 @@ 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). +inductive NLE (q:Nat) (r:Nat): Prop \def + | nle_nplus: \forall p. (p + q == r) \to NLE 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.ind#xpointer(1/1) 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.ind#xpointer(1/1) + (cic:/matita/RELATIONAL/Nat/defs/Nat.ind#xpointer(1/1/2) x) y). + +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'greater or equal to'" 'geq y x= + (cic:/matita/RELATIONAL/NLE/defs/NLE.ind#xpointer(1/1) x y). + +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'greater than'" 'gt y x = + (cic:/matita/RELATIONAL/NLE/defs/NLE.ind#xpointer(1/1) + (cic:/matita/RELATIONAL/Nat/defs/Nat.ind#xpointer(1/1/2) x) y).