X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fmatita%2Ftests%2Ffguidi.ma;h=bfd24e5910e462bfadfd4a970ea4f37e31d8d6e8;hb=e5014674aed0dab6f3aa43773c8caeffcfe0ac32;hp=141e29776d009f8871290631e8c300ab01ddcad6;hpb=249d79bebff886846fbab65cc079623d90684baf;p=helm.git diff --git a/helm/matita/tests/fguidi.ma b/helm/matita/tests/fguidi.ma index 141e29776..bfd24e591 100644 --- a/helm/matita/tests/fguidi.ma +++ b/helm/matita/tests/fguidi.ma @@ -53,7 +53,7 @@ qed. theorem le_gen_x_O_aux: \forall x, y. (le x y) \to (y =O) \to (x = O). -intros 3. elim H. auto. apply eq_gen_S_O. exact x2. auto. +intros 3. elim H. auto. apply eq_gen_S_O. exact n1. auto. qed. theorem le_gen_x_O: \forall x. (le x O) \to (x = O). @@ -68,7 +68,7 @@ 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. apply eq_gen_S_O. exact m. elim H1. auto. -cut x1 = m. elim Hcut. apply ex_intro. exact x2. auto. auto. +cut n = m. elim Hcut. apply ex_intro. exact n1. auto. auto. qed. theorem le_gen_S_x: \forall m,x. (le (S m) x) \to @@ -90,16 +90,10 @@ qed. theorem le_gen_S_S_cc: \forall m,n. (le m n) \to (le (S m) (S n)). intros. auto. qed. + (* theorem le_trans: \forall x,y. (le x y) \to \forall z. (le y z) \to (le x z). -intros 1. -elim x. auto. -fwd H1 [H0]. -elim H0 names [pippo; pappo]. - -decompose H0 - - -elim H0. clear H0. elim H1. clear H1. - +intros 1. elim x; clear H. clear x. +auto. +fwd H1 [H]. decompose H. *)