X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Flibrary%2Fnat%2Forders.ma;h=8053d50de55bfe8afc7d434243b17ceca34b9536;hb=dfbd010fe5a46d049849913bc23000289893ea4f;hp=8c6ce942e33b0d272a8cadbbaabbc48e93eb6e49;hpb=03d30a78581b24842e1f425b41861e5ae8f912b5;p=helm.git diff --git a/matita/library/nat/orders.ma b/matita/library/nat/orders.ma index 8c6ce942e..8053d50de 100644 --- a/matita/library/nat/orders.ma +++ b/matita/library/nat/orders.ma @@ -139,6 +139,19 @@ apply Hcut.assumption.rewrite < H1. apply not_le_Sn_n. qed. +(*not lt*) +theorem eq_to_not_lt: \forall a,b:nat. +a = b \to a \nlt b. +intros. +unfold Not. +intros. +rewrite > H in H1. +apply (lt_to_not_eq b b) +[ assumption +| reflexivity +] +qed. + (* le vs. lt *) theorem lt_to_le : \forall n,m:nat. n