]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/RELATIONAL/Nat/fwd.ma
refactoring
[helm.git] / helm / software / matita / contribs / RELATIONAL / Nat / fwd.ma
index 09847de2ee65a85fa12444f1520866ac3d6af960..b76138fe56998d8055c97dac00e36c88318b7ce8 100644 (file)
@@ -18,14 +18,14 @@ include "logic/equality.ma".
 
 include "Nat/defs.ma".
 
-theorem eq_gen_zero_succ: \forall (P:Prop). \forall m2. zero = succ m2 \to P.
- intros. discriminate H.
+theorem eq_gen_zero_succ: \forall m2. zero = succ m2 \to False.
+ intros. destruct H.
 qed.
 
-theorem eq_gen_succ_zero: \forall (P:Prop). \forall m1. succ m1 = zero \to P.
- intros. discriminate H.
+theorem eq_gen_succ_zero: \forall m1. succ m1 = zero \to False.
+ intros. destruct H.
 qed.
 
 theorem eq_gen_succ_succ: \forall m1,m2. succ m1 = succ m2 \to m1 = m2.
- intros. injection H. assumption.
+ intros. destruct H. assumption.
 qed.