forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is still an issue with `div2_double` and `div2_succ_double`. It's not possible to factor these because there are different such lemmas in `PeanoNat` and `BinNat`. So we settle for `div2_even` and `div2_odd'` in `NBits`. `div2_even` will appear twice (the other name is `div2_double`) in `PeanoNat`. Maybe this is not a big problem? The naming convention in Numbers is now (mostly) that - `even` after an operation name means (2 * n) - `odd` after an operation name means (2 * n + 1) - `even` as a prefix means it is about the boolean operation `even` - `same` for `odd` Unfortunately this clashes with `div2_odd`, hence the name `div2_odd'`. There are still some questions about the `div2` inequalities (some new in `NBits`, some imported from `PeanoNat`); some of which are very similar.
- Loading branch information
1 parent
c2d85c7
commit 5da5cb8
Showing
3 changed files
with
136 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters