X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Flibrary%2Fnat%2Forders.ma;h=4ec4dfc5b11089876cafc3d2802a80f098c3917a;hb=f981a524748846acc29b76b6e616af110b4ee13d;hp=d269e5fe1b83485fc20203ef08c5e3e6d7c988aa;hpb=71590f4a0cb620a5e98fee3e8d65670271234532;p=helm.git diff --git a/helm/matita/library/nat/orders.ma b/helm/matita/library/nat/orders.ma index d269e5fe1..4ec4dfc5b 100644 --- a/helm/matita/library/nat/orders.ma +++ b/helm/matita/library/nat/orders.ma @@ -52,6 +52,15 @@ qed. theorem trans_le: \forall n,m,p:nat. n \leq m \to m \leq p \to n \leq p \def transitive_le. +theorem transitive_lt: transitive nat lt. +simplify.intros.elim H1. +apply le_S. assumption. +apply le_S.assumption. +qed. + +theorem trans_lt: \forall n,m,p:nat. lt n m \to lt m p \to lt n p +\def transitive_lt. + theorem le_S_S: \forall n,m:nat. n \leq m \to S n \leq S m. intros.elim H. apply le_n. @@ -95,10 +104,11 @@ apply H.assumption. apply le_S_S_to_le.assumption. qed. -(* ??? this needs not le *) -theorem S_pred: \forall n:nat.O