X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=matita%2Flibrary%2Fnat%2Forders.ma;h=8053d50de55bfe8afc7d434243b17ceca34b9536;hb=6ff5322f46c2e88e07b4c345bc45edda7042128a;hp=8be62ae0b54b09267990bea8798358b746c3cebc;hpb=e95f5d784fe7830fe9ed10b3e782ef2206fea896;p=helm.git diff --git a/matita/library/nat/orders.ma b/matita/library/nat/orders.ma index 8be62ae0b..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