aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gross2018-12-04 11:31:39 -0500
committerJason Gross2019-01-24 14:29:03 -0500
commit4d3ecf1acd584200fe4299b8d12104c7acc33579 (patch)
tree8c29f94b44247d50f16dfa9ee8469c5da362b748
parent20fc76a75c13f61d467834414e97776477ec203c (diff)
Revert "Add subst to the end of nia in the test-suite"
This reverts commit b49f4e966443a76ac70d37c4cde68f94de164c01. It turns out the 4x was due to .nia.cache (because I didn't clean sufficiently in testing), not due to `subst`.
-rw-r--r--doc/sphinx/addendum/micromega.rst3
-rw-r--r--test-suite/success/Nia.v2
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/sphinx/addendum/micromega.rst b/doc/sphinx/addendum/micromega.rst
index 5f199d28f5..2ace8a59e1 100644
--- a/doc/sphinx/addendum/micromega.rst
+++ b/doc/sphinx/addendum/micromega.rst
@@ -251,8 +251,7 @@ obtain :math:`-1`. By Theorem :ref:`Psatz <psatz_thm>`, the goal is valid.
.. [#] Support for :g:`nat` and :g:`N` is obtained by pre-processing the goal with
the ``zify`` tactic.
.. [#] Support for :g:`Z.div` and :g:`Z.modulo` may be obtained by pre-processing the goal with
- the ``Z.div_mod_to_quot_rem`` tactic after manually running ``zify``. Note that additionally
- running ``subst`` can speed up things up, sometimees by almost 4x in practice.
+ the ``Z.div_mod_to_quot_rem`` tactic after manually running ``zify``.
.. [#] Sources and binaries can be found at https://projects.coin-or.org/Csdp
.. [#] Variants deal with equalities and strict inequalities.
.. [#] In practice, the oracle might fail to produce such a refutation.
diff --git a/test-suite/success/Nia.v b/test-suite/success/Nia.v
index c157173b77..6cb645d9eb 100644
--- a/test-suite/success/Nia.v
+++ b/test-suite/success/Nia.v
@@ -4,7 +4,7 @@ Open Scope Z_scope.
(** Add [Z.div_mod_to_quot_rem] to the end of [zify], just for this
file. *)
-Ltac zify ::= repeat (zify_nat; zify_positive; zify_N); zify_op; Z.div_mod_to_quot_rem; subst.
+Ltac zify ::= repeat (zify_nat; zify_positive; zify_N); zify_op; Z.div_mod_to_quot_rem.
Lemma Z_zerop_or x : x = 0 \/ x <> 0. Proof. nia. Qed.
Lemma Z_eq_dec_or (x y : Z) : x = y \/ x <> y. Proof. nia. Qed.