Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(algebra/gcd_monoid): extract gcd from multiset/finset (#17316)
+ `multiset.extract_gcd` / `finset.extract_gcd`: extract the gcd as a common factor from a nonempty multiset/finset in a `normalized_gcd_monoid`, so that the gcd of remaining factors is 1. + We prove these by induction, which require the more precise version of the two-element case `_root_.extract_gcd` with `d := gcd a b`. inspired by #16838 Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
- Loading branch information
1 parent
ca1b237
commit 43cd414
Showing
4 changed files
with
60 additions
and
9 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
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