diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-05-19 19:10:40 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-05-19 19:10:40 +0000 |
commit | 7c51ef20064ed4f44a4e1dcb2040ec4b74919b5f (patch) | |
tree | 4cc4f55d026344c86de4381aa16cd2aa20f69150 /test-suite/micromega/bertot.v | |
parent | 133516a1acebebfce527204fe5109a5eecb9bb45 (diff) |
Intégration de micromega ("omicron" pour fourier et sa variante sur Z,
"micromega" et "sos" pour les problèmes non linéaires sous-traités à
csdp); mise en place d'un cache pour pouvoir rejouer les preuves
sans avoir besoin de csdp (pour l'instant c'est du bricolage, faudra
affiner cela).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10947 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/micromega/bertot.v')
-rw-r--r-- | test-suite/micromega/bertot.v | 22 |
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 000000000..6951fcd33 --- /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. + |