From 6cf15c86b051582032c794f7da8a325e31fc0480 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 1 Jul 2005 09:33:55 +0000 Subject: [PATCH] New test. --- helm/matita/tests/fold.ma | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 helm/matita/tests/fold.ma 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 -- 2.39.2