]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/generalize.ma
ocaml 3.09 transition
[helm.git] / helm / matita / tests / generalize.ma
index 4fe9af34067132f04431b03de8a47b37baf9ea70..aca28ffdcc2ddc9c2d9fdd335461507311a3c1d7 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/generalize".
+include "coq.ma".
 
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
@@ -30,7 +31,7 @@ qed.
 (* This test used to fail because x was used in the wrong context *)
 (* Once this was fixed it still did not work since apply is not   *)
 (* able to solve a goal that ends in a product.                   *)
-theorem test2: \forall x. x + 4 = 4 + x.
+theorem test2: \forall x. 4 + x = x + 4.
  generalize in match 4.
  exact plus_comm.
 qed.