]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/change.ma
removed no longer used METAs
[helm.git] / helm / matita / tests / change.ma
index 2c5daf0d2f459285ec9f003d74083487f83215b3..b2ae3b7a05cbfaf44784daa4c027a71316fa208b 100644 (file)
@@ -13,7 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/change/".
-include "coq.ma".
+include "legacy/coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 alias symbol "plus" (instance 0) = "Coq's natural plus".
@@ -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.
+