From: Claudio Sacerdoti Coen Date: Fri, 1 Jul 2005 09:33:55 +0000 (+0000) Subject: New test. X-Git-Tag: PRE_GETTER_STORAGE~79 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=6cf15c86b051582032c794f7da8a325e31fc0480;p=helm.git New test. --- diff --git a/helm/matita/tests/fold.ma b/helm/matita/tests/fold.ma new file mode 100644 index 000000000..bb6d36d16 --- /dev/null +++ b/helm/matita/tests/fold.ma @@ -0,0 +1,11 @@ +set "baseuri" "cic:/test". +alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)". +alias num (instance 0) = "natural number". +alias symbol "eq" (instance 0) = "leibnitz's equality". +alias symbol "plus" (instance 0) = "natural plus". +theorem t: \forall x:nat. 0+x=x. + intro. + simplify in match (0+x) in \vdash (? ? % ?). + fold simplify (0 + x) in \vdash (? ? % ?). + reflexivity. +qed. \ No newline at end of file