]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/library/nat/plus.ma
* Obsolete debugging comments removed
[helm.git] / helm / matita / library / nat / plus.ma
index 1c145dd6141cea519fd99f7c681a179159a72346..79640b1362f86e9a654cc55a568d766daa8e0120 100644 (file)
@@ -36,11 +36,6 @@ simplify.reflexivity.
 simplify.apply eq_f.assumption.
 qed.
 
-(* some problem here: confusion between relations/symmetric 
-and functions/symmetric; functions symmetric is not in 
-functions.moo why?
-theorem symmetric_plus: symmetric nat plus. *)
-
 theorem sym_plus: \forall n,m:nat. n+m = m+n.
 intros.elim n.
 simplify.apply plus_n_O.
@@ -67,8 +62,7 @@ theorem inj_plus_r: \forall p,n,m:nat. p+n = p+m \to n=m
 
 theorem injective_plus_l: \forall m:nat.injective nat nat (\lambda n.n+m).
 intro.simplify.intros.
-(* qui vorrei applicare injective_plus_r *)
-apply inj_plus_r m.
+apply injective_plus_r m.
 rewrite < sym_plus.
 rewrite < sym_plus y.
 assumption.