X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftests%2Fdecl.ma;h=40f8d3700b0e907d8d30bc8dd78369f7c3558862;hb=73044fcac2ab47e6c9819c572f6bbd2b1e0f2a40;hp=138e37e71fbbd941ad9c48559796071d5d7d0135;hpb=88d9b90eb45721abe07bfce2c4d0768ef6420443;p=helm.git diff --git a/helm/software/matita/tests/decl.ma b/helm/software/matita/tests/decl.ma index 138e37e71..40f8d3700 100644 --- a/helm/software/matita/tests/decl.ma +++ b/helm/software/matita/tests/decl.ma @@ -12,7 +12,7 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/test/decl". +set "baseuri" "cic:/matita/tests/decl". include "nat/times.ma". include "nat/orders.ma". @@ -114,11 +114,7 @@ theorem easy3: ∀A:Prop. (A ∧ ∃n:nat.n ≠ n) → True. assume P: Prop. suppose (P ∧ ∃m:nat.m ≠ m) (H). by H we have P (H1) and (∃x:nat.x≠x) (H2). - (*BUG: by H2 let q:nat such that (q ≠ q) (Ineq). - *) - (* the next line is wrong, but for the moment it does the job *) - by H2 let q:nat such that False (Ineq). by I done. qed. @@ -129,7 +125,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 +138,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. @@ -203,4 +199,4 @@ theorem easy6: ∀t. O ≮ O → O < size t → t ≠ Empty. destruct absurd. by final done. -qed. \ No newline at end of file +qed.