]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/replace.ma
Replace is now working again and it is able to match the pattern up to
[helm.git] / helm / matita / tests / replace.ma
index 7117d5b8210b29f4b64d34628eba978f6999d96e..d209e97d42f6fb6ea474d5dcfc8486a0943ecf01 100644 (file)
@@ -17,3 +17,8 @@ theorem t: \forall x:nat. x * (x + 0) = (0 + x) * (x + x * 0).
  reflexivity.
  auto.
 qed.
+
+(* This test tests "replace in match t" where t contains some metavariables *)
+theorem t2: 2 + (3 * 4) = (5 + 5) + 2 * 2.
+ replace in match 5+? with 6 + 4; [reflexivity | reflexivity].
+qed.