]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/tests/inversion2.ma
changelog to -rc-1
[helm.git] / matita / tests / inversion2.ma
index 65dc75d4082f1ddecd21bd866d5de31e705f2d69..c99c59bcf7f77321d8c00aaef0f799e5d4d786d7 100644 (file)
@@ -12,8 +12,8 @@
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/tests/inversion/".
-include "legacy/coq.ma".
+set "baseuri" "cic:/matita/tests/inversion2/".
+include "../legacy/coq.ma".
 
 inductive nat : Set \def
    O : nat
@@ -24,7 +24,7 @@ inductive le (n:nat) : nat \to Prop \def
    leO : le n n
  | leS : \forall m. le n m \to le n (S m).
  
-theorem le_inv:
+theorem le_inv2:
  \forall n,m.
   \forall P: nat -> nat -> Prop.
    ? -> ? -> le n m -> P n m.
@@ -59,5 +59,5 @@ theorem test_inversion: \forall n. le n O \to n=O.
   (* elim H. BUG DI UNSHARING *)
   (*apply (ledx_ind (\lambda x.\lambda y.  n=x \to O=y \to x=y) ? ? ? ? H).*)
     simplify. intros. reflexivity.    
-    simplify. intros. discriminate H3.
+    simplify. intros. destruct H3.
 qed.