From 10aa2e121a0c9659b18b011dc9595cf6256560f4 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 1 Jul 2005 09:38:55 +0000 Subject: [PATCH] New syntax for patterns. --- helm/matita/tests/inversion.ma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/matita/tests/inversion.ma b/helm/matita/tests/inversion.ma index f5ad10c7f..4ea9e2deb 100644 --- a/helm/matita/tests/inversion.ma +++ b/helm/matita/tests/inversion.ma @@ -17,7 +17,7 @@ theorem test_inversion: \forall n. le n O \to n=O. (* goal 2: 0 = 0 *) goal 7. reflexivity. (* goal 1 *) - generalize Hcut. + generalize in match Hcut. apply (le_ind ? (\lambda x. O=x \to n=x) ? ? ? H). (* first goal (left open) *) intro. rewrite < H1. @@ -35,7 +35,7 @@ alias id "refl_equal" = "cic:/Coq/Init/Logic/eq.ind#xpointer(1/1/1)". theorem test_inversion2: \forall n. le n O \to n=O. intros. (* inversion begins *) - generalize (refl_equal nat O). + generalize in match (refl_equal nat O). apply (le_ind ? (\lambda x. O=x \to n=x) ? ? ? H). (* first goal (left open) *) intro. rewrite < H1. -- 2.39.2