]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/tests/inversion2.ma
Almost every hand-inserted coercion removed since a bug in the coercion
[helm.git] / matita / tests / inversion2.ma
index 65dc75d4082f1ddecd21bd866d5de31e705f2d69..5fc9c93350c857d1c553cc844a9debcb200cff67 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/tests/inversion/".
+set "baseuri" "cic:/matita/tests/inversion2/".
 include "legacy/coq.ma".
 
 inductive nat : Set \def
@@ -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.