From: Stefano Zacchiroli Date: Thu, 8 Sep 2005 10:37:34 +0000 (+0000) Subject: tests changing under a binder X-Git-Tag: V_0_1_2_1~61 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=47815ea29fe1375cc7497c16b6778ccdbe576537;p=helm.git tests changing under a binder --- diff --git a/helm/matita/tests/change.ma b/helm/matita/tests/change.ma index 2c5daf0d2..4e26d4439 100644 --- a/helm/matita/tests/change.ma +++ b/helm/matita/tests/change.ma @@ -28,3 +28,13 @@ change in \vdash (? ? % ?) with 5. rewrite < H in \vdash (? ? % ?). reflexivity. qed. + +(* tests changing a term under a binder *) +alias id "True" = "cic:/Coq/Init/Logic/True.ind#xpointer(1/1)". +theorem t: (\forall x:nat. x=x) \to True. + intro H. + change in match x in H : \forall _.% with 0+x. + change in H: \forall _.(? ? ? (? % ?)) with 0. + constructor 1. +qed. +