summaryrefslogtreecommitdiff
path: root/test-suite/success/Simplify_eq.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/Simplify_eq.v')
-rw-r--r--test-suite/success/Simplify_eq.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/success/Simplify_eq.v b/test-suite/success/Simplify_eq.v
new file mode 100644
index 00000000..41aa77ef
--- /dev/null
+++ b/test-suite/success/Simplify_eq.v
@@ -0,0 +1,13 @@
+(* Check the behaviour of Simplify_eq *)
+
+(* Check that Simplify_eq tries Intro until *)
+
+Lemma l1 : O=(S O)->False.
+Simplify_eq 1.
+Qed.
+
+Lemma l2 : (x:nat)(H:(S x)=(S (S x)))H==H->False.
+Simplify_eq H.
+Intros.
+Apply (n_Sn x H0).
+Qed.