]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/tests/ng_tactics.ma
claudio, please have a look at this
[helm.git] / helm / software / matita / tests / ng_tactics.ma
index 3bb4a6fa4c8b3e3fd5ebe176546b1bd0d23f2f23..882bdcbeb1e89856ea2954c81875382ef463a2de 100644 (file)
@@ -23,7 +23,7 @@ nletin pippo ≝ (S m) in H: % ⊢ (???%);
 #H; nchange in match pippo in H:% with (pred (S pippo));
  nassert m:nat pippo : nat ≝ (S m) H:(m = pred (S pippo) + m) ⊢ (S m = S pippo);
 ngeneralize in match m in H:(??%?) ⊢ %;
-(* nassert m:nat pippo : nat ≝ (S m) ⊢ (nat → eq nat __1 (pippo+m) → pippo=S pippo); *)
+ nassert m:nat pippo : nat ≝ (S m) ⊢ (∀n:nat. n=(pred (S pippo)+m) → (S n)=S pippo);
 #x; #H;
  nassert m:nat pippo : nat ≝ (S m) x: nat H:(x = pred (S pippo) + m) ⊢ (S x = S pippo);
 nwhd in H: (?%? (?%?));
@@ -31,7 +31,7 @@ nwhd in H: (?%? (?%?));
 nchange in match (S ?) in H:(??%?) ⊢ (??%%) with (pred (S ?));
 ngeneralize in match H;
 napply (? H);
-nelim m in ⊢ (???(?%?) → %); (*SBAGLIA UNIFICATORE*)
+nelim m in ⊢ (???(?%?) → %);
 nnormalize;
  ##[ ncases x in H ⊢ (? → % → ?);
  ##|