X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftests%2Finjection.ma;h=b805df687a70ac8fa5e71eeb7bc3713269b2b372;hb=b6afef7e73324824025a6d7f313129d55b72cfc6;hp=69edcf6205ea8ccaee3fd29d76f05bc7f4b92b06;hpb=0fadcf36d82e4ed816a50db09dfd1559a8507e6c;p=helm.git diff --git a/helm/software/matita/tests/injection.ma b/helm/software/matita/tests/injection.ma index 69edcf620..b805df687 100644 --- a/helm/software/matita/tests/injection.ma +++ b/helm/software/matita/tests/injection.ma @@ -12,9 +12,9 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/tests/injection". -include "legacy/coq.ma". + +include "coq.ma". alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)". alias id "bool" = "cic:/Coq/Init/Datatypes/bool.ind#xpointer(1/1)". @@ -27,7 +27,7 @@ inductive t0 : Type := theorem injection_test0: ∀n,n',m,m'. k0 n m = k0 n' m' → m = m'. intros; destruct H; - assumption. + reflexivity. qed. inductive t : Type → Type := @@ -37,7 +37,7 @@ inductive t : Type → Type := theorem injection_test1: ∀n,n'. k n = k n' → n = n'. intros; destruct H; - assumption. + reflexivity. qed. inductive tt (A:Type) : Type -> Type := @@ -47,7 +47,7 @@ inductive tt (A:Type) : Type -> Type := theorem injection_test2: ∀n,n',m,m'. k1 bool n n' = k1 bool m m' → n' = m'. intros; destruct H; - assumption. + reflexivity. qed. inductive ttree : Type → Type := @@ -58,5 +58,5 @@ theorem injection_test4: ∀n,n',m,m'. k1 bool (S n) (S (S m)) = k1 bool (S n') (S (S (S m'))) → m = S m'. intros; destruct H; - assumption. + reflexivity. qed.