X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Ftests%2Finversion2.ma;h=65dc75d4082f1ddecd21bd866d5de31e705f2d69;hb=771ee8b9d122fa963881c876e86f90531bb7434f;hp=bb8d18980b7badef80226b24f50e1bbd276ec2aa;hpb=de21be5819bd35a2cb83b3d33b1c578d970a32c7;p=helm.git diff --git a/helm/matita/tests/inversion2.ma b/helm/matita/tests/inversion2.ma index bb8d18980..65dc75d40 100644 --- a/helm/matita/tests/inversion2.ma +++ b/helm/matita/tests/inversion2.ma @@ -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