X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Ftests%2Fdestruct.ma;h=55275c4807bfca6320d31eb3f135fb1173ee257e;hb=ef870606391fff198f215127eb022eb3e41ab1d4;hp=1d6a51494a7faf854732dc965a4ed5666ec9fa6d;hpb=040b70279b9bf0f576f00a9b1ad28df3c8bf6024;p=helm.git diff --git a/matita/tests/destruct.ma b/matita/tests/destruct.ma index 1d6a51494..55275c480 100644 --- a/matita/tests/destruct.ma +++ b/matita/tests/destruct.ma @@ -64,29 +64,28 @@ inductive complex (A,B : Type) : B → A → Type ≝ | C1 : ∀x:nat.∀a:A.∀b:B. complex A B b a | C2 : ∀a,a1:A.∀b,b1:B.∀x:nat. complex A B b1 a1 → complex A B b a. - theorem recursive1: ∀ x,y : nat. (C1 ? ? O (Some ? x) y) = (C1 ? ? (S O) (Some ? x) y) → False. -intros; destruct H; +intros; destruct H. qed. theorem recursive2: ∀ x,y,z,t : nat. (C1 ? ? t (Some ? x) y) = (C1 ? ? z (Some ? x) y) → t=z. -intros; destruct H;assumption. +intros; destruct H; reflexivity. qed. theorem recursive3: ∀ x,y,z,t : nat. C2 ? ? (None ?) ? (S O) ? z (C1 ? ? (S O) (Some ? x) y) = C2 ? ? (None ?) ? (S O) ? t (C1 ? ? (S O) (Some ? x) y) → z=t. -intros; destruct H;assumption. +intros; destruct H; reflexivity. qed. theorem recursive4: ∀ x,y,z,t : nat. C2 ? ? (None ?) ? (S O) ? z (C1 ? ? (S O) (Some ? z) y) = C2 ? ? (None ?) ? (S O) ? t (C1 ? ? (S O) (Some ? x) y) → z=t. -intros; destruct H;assumption. +intros; destruct H; reflexivity. qed. theorem recursive2: ∀ x,y : nat.