]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/inversion2.ma
removed no longer used METAs
[helm.git] / helm / matita / tests / inversion2.ma
index bb8d18980b7badef80226b24f50e1bbd276ec2aa..65dc75d4082f1ddecd21bd866d5de31e705f2d69 100644 (file)
@@ -13,7 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/inversion/".
-include "coq.ma".
+include "legacy/coq.ma".
 
 inductive nat : Set \def
    O : nat
@@ -24,6 +24,25 @@ 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:
+ \forall n,m.
+  \forall P: nat -> nat -> Prop.
+   ? -> ? -> le n m -> P n m.
+[7:
+  intros;
+  inversion H;
+  [ apply x
+  | simplify;
+    apply x1
+  ]
+| skip
+| skip
+| skip
+| skip
+| skip
+| skip
+]
+qed.
 
 inductive ledx : nat \to nat \to Prop \def
    ledxO : \forall n. ledx n n