diff options
| author | Jason Gross | 2020-08-19 13:07:14 -0400 |
|---|---|---|
| committer | Jason Gross | 2020-08-25 14:58:50 -0400 |
| commit | 4ad36b5e2369b37aa2483a1e04eb628d147d97d3 (patch) | |
| tree | 2076e0c62e8e571dc64d2775377f6dd24ffabea9 /test-suite | |
| parent | 51c0d56a5b0384e2f6bd980a1111547641c66b3e (diff) | |
Require NsatzTactic: nsatz support for Z and Q
The purpose of `NsatzTactic` is to allow using `nsatz` without the
dependency on real axioms. So we declare the instances for `Z` and `Q`
in that file, so that users don't have to re-create them.
Fixes #12860
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_12860.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12860.v b/test-suite/bugs/closed/bug_12860.v new file mode 100644 index 0000000000..243aeceba2 --- /dev/null +++ b/test-suite/bugs/closed/bug_12860.v @@ -0,0 +1,10 @@ +Require Import Coq.nsatz.NsatzTactic. +Require Import Coq.ZArith.ZArith Coq.QArith.QArith. + +Goal forall x y : Z, (x + y = y + x)%Z. + intros; nsatz. +Qed. + +Goal forall x y : Q, Qeq (x + y) (y + x). + intros; nsatz. +Qed. |
