From a0cfa4f118023d35b767a999d5a2ac4b082857b4 Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Fri, 25 Jul 2008 15:12:53 +0200 Subject: Imported Upstream version 8.2~beta3+dfsg --- test-suite/micromega/zomicron.v | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test-suite/micromega/zomicron.v (limited to 'test-suite/micromega/zomicron.v') diff --git a/test-suite/micromega/zomicron.v b/test-suite/micromega/zomicron.v new file mode 100644 index 00000000..b13654d6 --- /dev/null +++ b/test-suite/micromega/zomicron.v @@ -0,0 +1,27 @@ +Require Import ZArith. +Require Import Micromegatac. +Open Scope Z_scope. + +Lemma two_x_eq_1 : forall x, 2 * x = 1 -> False. +Proof. + intros. + omicron Z. +Qed. + +Lemma two_x_y_eq_1 : forall x y, 2 * x + 2 * y = 1 -> False. +Proof. + intros. + omicron Z. +Qed. + +Lemma two_x_y_z_eq_1 : forall x y z, 2 * x + 2 * y + 2 * z= 1 -> False. +Proof. + intros. + omicron Z. +Qed. + +Lemma omega_nightmare : forall x y, 27 <= 11 * x + 13 * y <= 45 -> 7 * x - 9 * y = 4 -> -10 <= 7 * x - 9 * y <= 4 -> False. +Proof. + intros ; intuition auto. + omicron Z. +Qed. -- cgit v1.2.3