]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/rewrite.ma
added examples
[helm.git] / helm / matita / tests / rewrite.ma
diff --git a/helm/matita/tests/rewrite.ma b/helm/matita/tests/rewrite.ma
new file mode 100644 (file)
index 0000000..5bae95b
--- /dev/null
@@ -0,0 +1,9 @@
+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 a:
+  \forall a,b:nat.
+  a = b \to b + 0 = a.
+intro.
+rewrite left H.
\ No newline at end of file