X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Ftests%2Ffguidi.ma;h=165f9ce302fd35e0c2aaa9776bfe652f3996484b;hb=190662b877ba89ccb152f0bf5c67df62be737335;hp=84d8cb4082bfd3d071986862abec6aa650d65b7e;hpb=7f14769dcdb5467175ebf6b8463f59184aab69e3;p=helm.git diff --git a/matita/tests/fguidi.ma b/matita/tests/fguidi.ma index 84d8cb408..165f9ce30 100644 --- a/matita/tests/fguidi.ma +++ b/matita/tests/fguidi.ma @@ -13,7 +13,7 @@ (**************************************************************************) set "baseuri" "cic:/matita/tests/fguidi/". -include "legacy/coq.ma". +include "../legacy/coq.ma". alias id "O" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/1)". alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)". @@ -42,11 +42,11 @@ 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). -intros. auto new. +intros. apply H. qed. theorem eq_gen_S_S: \forall m,n. (S m) = (S n) \to m = n. @@ -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; autobatch. +apply eq_gen_S_S. autobatch. qed. theorem le_gen_S_x: \forall m,x. (le (S m) x) \to @@ -111,5 +113,5 @@ qed. theorem le_trans: \forall x,y. (le x y) \to \forall z. (le y z) \to (le x z). intros 1. elim x; clear H. clear x. auto paramodulation. -fwd H1 [H]. decompose H. +fwd H1 [H]. decompose. *)