X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Flibrary%2Fnat%2Forders.ma;h=4ec4dfc5b11089876cafc3d2802a80f098c3917a;hb=f981a524748846acc29b76b6e616af110b4ee13d;hp=b8e92fa2b6987f34cfecbf81841bee405d10ca0a;hpb=9c8bb7e7c2548d2f37e5387cdce45df2b8fc9b43;p=helm.git diff --git a/helm/matita/library/nat/orders.ma b/helm/matita/library/nat/orders.ma index b8e92fa2b..4ec4dfc5b 100644 --- a/helm/matita/library/nat/orders.ma +++ b/helm/matita/library/nat/orders.ma @@ -22,14 +22,26 @@ inductive le (n:nat) : nat \to Prop \def | le_n : le n n | le_S : \forall m:nat. le n m \to le n (S m). +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'less or equal to'" 'leq x y = (cic:/matita/nat/orders/le.ind#xpointer(1/1) x y). + definition lt: nat \to nat \to Prop \def -\lambda n,m:nat.le (S n) m. +\lambda n,m:nat.(S n) \leq m. + +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'less than'" 'lt x y = (cic:/matita/nat/orders/lt.con x y). definition ge: nat \to nat \to Prop \def -\lambda n,m:nat.le m n. +\lambda n,m:nat.m \leq n. + +(*CSC: the URI must disappear: there is a bug now *) +interpretation "natural 'greater or equal to'" 'geq x y = (cic:/matita/nat/orders/ge.con x y). definition gt: nat \to nat \to Prop \def -\lambda n,m:nat.lt m n. +\lambda n,m:nat.m