From c4a4f4f49e6fe100e328059046c0c5ef5fe788b0 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Mon, 27 Nov 2006 10:44:18 +0000 Subject: [PATCH] auto new => auto new library in those tests that use Coq's library --- helm/software/matita/tests/elim.ma | 2 +- helm/software/matita/tests/inversion.ma | 4 ++-- helm/software/matita/tests/replace.ma | 2 +- helm/software/matita/tests/test3.ma | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/software/matita/tests/elim.ma b/helm/software/matita/tests/elim.ma index 4681d8359..d6a4c3f33 100644 --- a/helm/software/matita/tests/elim.ma +++ b/helm/software/matita/tests/elim.ma @@ -76,5 +76,5 @@ theorem t': \forall x,y. \forall H: sum x y O. simplify. intros. generalize in match H1. rewrite < H2; rewrite < H3.intro. - rewrite > H4.auto new. + rewrite > H4.auto new library. qed. diff --git a/helm/software/matita/tests/inversion.ma b/helm/software/matita/tests/inversion.ma index 35963ab73..925c54677 100644 --- a/helm/software/matita/tests/inversion.ma +++ b/helm/software/matita/tests/inversion.ma @@ -42,7 +42,7 @@ theorem t: \forall x,y. \forall H: sum x y O. simplify. intros. generalize in match H1. rewrite < H2; rewrite < H3.intro. - rewrite > H4.auto new. + rewrite > H4.auto new library. qed. theorem t1: \forall x,y. sum x y O \to x = y. @@ -57,5 +57,5 @@ apply (sum_ind ? (\lambda a,b,K. y=a \to O=b \to x=a) ? ? ? s).*) inversion s. intros.simplify. intros. -rewrite > H. rewrite < H2. auto new. +rewrite > H. rewrite < H2. auto new library. qed. diff --git a/helm/software/matita/tests/replace.ma b/helm/software/matita/tests/replace.ma index e9960a507..b740f387e 100644 --- a/helm/software/matita/tests/replace.ma +++ b/helm/software/matita/tests/replace.ma @@ -30,7 +30,7 @@ theorem t: \forall x:nat. x * (x + 0) = (0 + x) * (x + x * 0). rewrite < (plus_n_O x). reflexivity. reflexivity. - auto new. + auto new library. qed. (* This test tests "replace in match t" where t contains some metavariables *) diff --git a/helm/software/matita/tests/test3.ma b/helm/software/matita/tests/test3.ma index 1399f8be2..08d4cbcb6 100644 --- a/helm/software/matita/tests/test3.ma +++ b/helm/software/matita/tests/test3.ma @@ -27,5 +27,5 @@ alias symbol "times" (instance 0) = "Coq's natural times". theorem b:\forall p:nat. p * 0=0. intro. -auto new. +auto new library. qed. -- 2.39.2