aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2016-07-07 13:45:32 +0200
committerMaxime Dénès2016-07-08 10:45:35 +0200
commit1ef6104cf043ec839059cddfe530a81418a3d474 (patch)
tree6b68ed5947ccd9e7fc2fdbb31c4ae3e88f107172
parent2dc63a6f49ea30e175ead4603c93cda4b2bb889b (diff)
Add test file for #4880.
-rw-r--r--test-suite/bugs/closed/4880.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4880.v b/test-suite/bugs/closed/4880.v
new file mode 100644
index 0000000000..5569798d54
--- /dev/null
+++ b/test-suite/bugs/closed/4880.v
@@ -0,0 +1,11 @@
+Require Import Coq.Reals.Reals Coq.nsatz.Nsatz.
+Local Open Scope R.
+
+Goal forall x y : R,
+ x*x = y * y ->
+ x*x = -y * -y ->
+ x*(x*x) = 0 -> (* The associativity does not actually matter, *)
+ (x*x)*x = 0. (* just otherwise [assumption] would solve the goal. *)
+Proof.
+ nsatz.
+Qed.