summaryrefslogtreecommitdiff
path: root/test-suite/micromega/bertot.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/micromega/bertot.v')
-rw-r--r--test-suite/micromega/bertot.v22
1 files changed, 22 insertions, 0 deletions
diff --git a/test-suite/micromega/bertot.v b/test-suite/micromega/bertot.v
new file mode 100644
index 00000000..6951fcd3
--- /dev/null
+++ b/test-suite/micromega/bertot.v
@@ -0,0 +1,22 @@
+(************************************************************************)
+(* *)
+(* Micromega: A reflexive tactic using the Positivstellensatz *)
+(* *)
+(* Frédéric Besson (Irisa/Inria) 2006-2008 *)
+(* *)
+(************************************************************************)
+
+Require Import ZArith.
+Require Import Micromegatac.
+
+Open Scope Z_scope.
+
+Goal (forall x y n,
+ ( ~ x < n /\ x <= n /\ 2 * y = x*(x+1) -> 2 * y = n*(n+1))
+ /\
+ (x < n /\ x <= n /\ 2 * y = x * (x+1) -> x + 1 <= n /\ 2 *(x+1+y) = (x+1)*(x+2))).
+Proof.
+ intros.
+ micromega Z.
+Qed.
+