Commit 2019-06-10 08:38 004e0b30
View on Github →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