Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat (data/pnat): extensions to pnat (#1073)
* Extended API, especially divisibility and primes * Positive euclidean algorithm * Disambiguate overloaded :: * Tweak broken proof of flip_is_special * Change to mathlib style * Update src/data/pnat.lean Co-Authored-By: Johan Commelin <johan@commelin.net> * Update src/data/pnat.lean Co-Authored-By: Johan Commelin <johan@commelin.net> * Adjust style for mathlib * Moved and renamed * Move some material from basic.lean to prime.lean * Move some material from basic.lean to factors.lean * Update import to data.pnat.basic. * Update import to data.pnat.basic * Fix import of data.pnat.basic * Use monoid.pow instead of nat.pow * Fix pnat.pow_succ -> pow_succ; stylistic changes * More systematic use of coercion * More consistent use of coercion * Formatting; change flip' to prod.swap
- Loading branch information
1 parent
3f9916e
commit 004e0b3
Showing
9 changed files
with
1,073 additions
and
85 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.