]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/tests/paramodulation.ma
branch for universe
[helm.git] / matita / tests / paramodulation.ma
diff --git a/matita/tests/paramodulation.ma b/matita/tests/paramodulation.ma
new file mode 100644 (file)
index 0000000..eb2cbe1
--- /dev/null
@@ -0,0 +1,32 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+
+include "coq.ma".
+alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
+alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
+alias symbol "plus" (instance 0) = "Coq's natural plus".
+alias num (instance 0) = "Coq natural number".
+alias symbol "times" (instance 0) = "Coq's natural times".
+
+theorem para1:
+  \forall n,m,n1,m1:nat.
+    n=m \to n1 = m1 \to (n + n1) = (m + m1).
+intros. autobatch paramodulation.
+qed.
+
+theorem para2:
+  \forall n:nat. n + n = 2 * n.
+intros. autobatch paramodulation library.
+qed.