aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKazuhiko Sakaguchi2019-10-30 15:41:58 +0100
committerKazuhiko Sakaguchi2019-11-15 14:20:21 +0900
commitf9312f45b386c33723c0ec7741556e9389639f2c (patch)
tree9101b25d03f72ac10ea1cc0d015c13b86895a455 /doc
parent3d5d194742162255420907101c515aa26c237d25 (diff)
Add missing zify class instances
Add missing zify class instances for `Pos.pred_double`, `Pos.pred_N`, `Pos.of_nat`, `Pos.add_carry`, `Pos.pow`, `Pos.square`, `Z.pow`, `Z.double`, `Z.pred_double`, `Z.succ_double`, `Z.square`, `Z.div2`, `Z.quot2`, `isZero`, and `isLeZero`. Instances for `isZero` and `isLeZero` are useful to provide new zify instances by using Micromega tactics.
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/04-tactics/10998-zify-complements.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/changelog/04-tactics/10998-zify-complements.rst b/doc/changelog/04-tactics/10998-zify-complements.rst
new file mode 100644
index 0000000000..e0632e3f74
--- /dev/null
+++ b/doc/changelog/04-tactics/10998-zify-complements.rst
@@ -0,0 +1,7 @@
+- The :tacn:`zify` tactic is now aware of `Pos.pred_double`, `Pos.pred_N`,
+ `Pos.of_nat`, `Pos.add_carry`, `Pos.pow`, `Pos.square`, `Z.pow`, `Z.double`,
+ `Z.pred_double`, `Z.succ_double`, `Z.square`, `Z.div2`, and `Z.quot2`.
+ Injections for internal definitions in `ZifyBool.v` (`isZero` and `isLeZero`)
+ are also added to help users to declare new :tacn:`zify` class instances using
+ Micromega tactics.
+ (`#10998 <https://github.com/coq/coq/pull/10998>`_, by Kazuhiko Sakaguchi).