X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftests%2Ffguidi.ma;h=b1c17185d08dfabb33aff29c2576307ad7cb59fb;hb=8b7ea9a01e5836febcea9d796a1131ea73cea039;hp=84faee59ace814a772bacd076c95c6c6ef7ec662;hpb=0582a602f0b1d6f5430326893a473d78b0aa7dfd;p=helm.git diff --git a/helm/software/matita/tests/fguidi.ma b/helm/software/matita/tests/fguidi.ma index 84faee59a..b1c17185d 100644 --- a/helm/software/matita/tests/fguidi.ma +++ b/helm/software/matita/tests/fguidi.ma @@ -42,7 +42,7 @@ definition pred: nat \to nat \def ]. theorem eq_gen_S_O: \forall x. (S x = O) \to \forall P:Prop. P. -intros. apply False_ind. cut (is_S O). auto new. elim H. exact I. +intros. apply False_ind. cut (is_S O). elim Hcut. rewrite < H. apply I. qed. theorem eq_gen_S_O_cc: (\forall P:Prop. P) \to \forall x. (S x = O). @@ -81,9 +81,11 @@ qed. theorem le_gen_S_x_aux: \forall m,x,y. (le y x) \to (y = S m) \to (\exists n. x = (S n) \land (le m n)). -intros 4. elim H. +intros 4. elim H; clear H x y. apply eq_gen_S_O. exact m. elim H1. auto paramodulation. -cut (n = m). elim Hcut. apply ex_intro. exact n1. auto new.auto paramodulation. +clear H2. cut (n = m). +elim Hcut. apply ex_intro. exact n1. split; auto. +apply eq_gen_S_S. auto. qed. theorem le_gen_S_x: \forall m,x. (le (S m) x) \to