X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Ftests%2Fdecl.ma;h=a9d083b64cc4eea3198120fbe7a5c7453c1b761f;hb=b309e9baa51822004379ce6364e138e5e803efe4;hp=a0d3a0bd610f62962e0ffb73ea4d718985f49a21;hpb=9d5de2f3f3a8921397b939ce2143b22aa71959ea;p=helm.git diff --git a/matita/tests/decl.ma b/matita/tests/decl.ma index a0d3a0bd6..a9d083b64 100644 --- a/matita/tests/decl.ma +++ b/matita/tests/decl.ma @@ -129,7 +129,7 @@ assume p:nat. suppose (n=m) (H). suppose (S m = S p) (K). suppose (n = S p) (L). -obtain (S n) = (S m) by (eq_f ? ? ? ? ? H). +conclude (S n) = (S m) by (eq_f ? ? ? ? ? H). = (S p) by K. = n by (sym_eq ? ? ? L) done. @@ -142,7 +142,7 @@ assume p:nat. suppose (n=m) (H). suppose (S m = S p) (K). suppose (n = S p) (L). -obtain (S n) = (S m) by _. +conclude (S n) = (S m) by _. = (S p) by _. = n by _ done. @@ -200,7 +200,7 @@ theorem easy6: ∀t. O ≮ O → O < size t → t ≠ Empty. suppose (Node t1 t2 = Empty) (absurd). (* Discriminate should really generate a theorem to be useful with declarative tactics *) - discriminate absurd. + destruct absurd. by final done. qed. \ No newline at end of file