]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/library/nat/nat.ma
More notation here and there.
[helm.git] / helm / matita / library / nat / nat.ma
index aae6434e7e55657890c883550dc380d2db86275f..e2bf56542a96c2a9e9b18b392988b60c17e24da2 100644 (file)
@@ -41,7 +41,7 @@ theorem inj_S : \forall n,m:nat.(S n)=(S m) \to n=m
 \def injective_S.
 
 theorem not_eq_S  : \forall n,m:nat. 
-\lnot n=m \to \lnot (S n = S m).
+\lnot n=m \to S n \neq S m.
 intros. simplify. intros.
 apply H. apply injective_S. assumption.
 qed.
@@ -52,14 +52,14 @@ definition not_zero : nat \to Prop \def
   [ O \Rightarrow False
   | (S p) \Rightarrow True ].
 
-theorem not_eq_O_S : \forall n:nat. \lnot O=S n.
+theorem not_eq_O_S : \forall n:nat. O \neq S n.
 intros. simplify. intros.
 cut (not_zero O).
 exact Hcut.
 rewrite > H.exact I.
 qed.
 
-theorem not_eq_n_Sn : \forall n:nat. \lnot n=S n.
+theorem not_eq_n_Sn : \forall n:nat. n \neq S n.
 intros.elim n.
 apply not_eq_O_S.
 apply not_eq_S.assumption.