diff options
| author | Frédéric Besson | 2020-01-06 11:57:11 +0100 |
|---|---|---|
| committer | Frédéric Besson | 2020-01-06 22:10:50 +0100 |
| commit | 97bec684eb514700879778c0da9b05e4264a99f6 (patch) | |
| tree | 87c2c64a4a024b4f1bee1229e54ca1dc9c9d41d8 /test-suite | |
| parent | 95124216fba92f75e0aef97f4c0003eeb8689557 (diff) | |
[micromega] fix of bug #11191
- Add an instance to ZifyInst to instruct zify that
0 < x -> 0 < y -> 0 < Z.pow x y
- More aggressive interval analysis to bound non-linear monomials.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/micromega/bug_11191a.v | 6 | ||||
| -rw-r--r-- | test-suite/micromega/bug_11191b.v | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/micromega/bug_11191a.v b/test-suite/micromega/bug_11191a.v new file mode 100644 index 0000000000..57c1d7d52f --- /dev/null +++ b/test-suite/micromega/bug_11191a.v @@ -0,0 +1,6 @@ +Require Import ZArith Lia. + +Goal forall p n, (0 < Z.pos (p ^ n))%Z. + intros. + lia. +Qed. diff --git a/test-suite/micromega/bug_11191b.v b/test-suite/micromega/bug_11191b.v new file mode 100644 index 0000000000..007470c5b3 --- /dev/null +++ b/test-suite/micromega/bug_11191b.v @@ -0,0 +1,6 @@ +Require Import ZArith Lia. + +Goal forall p, (0 < Z.pos (p ^ 2))%Z. + intros. + lia. +Qed. |
