Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(algebra/squarefree): x is squarefree iff (x) is radical in `gcd_…
…monoid` (#17002) Define the notions of radical ideals and radical elements. Show that (under minimal assumptions): + an element is radical iff the ideal it generates is radical; + an ideal is radical iff the quotient by the ideal is reduced; + a ring is reduced iff 0 is a radical element. These are useful glues for #16998. The main theorem is `is_radical_iff_squarefree_or_zero`. The "if" direction only requires `cancel_comm_monoid_with_zero` as noted by @erdOne, and the "only if" direction depends on Cauchy induction #15880 (used to prove `is_radical_iff_pow_one_lt`). Since UFDs are GCDs, we use the main theorem to golf `unique_factorization_monoid.dvd_pow_iff_dvd_of_squarefree` whose conclusion essentially says that (x) is radical. Some unnecessary `normalization_monoid` and `nontrivial` assumptions are also removed from *squarefree.lean*. An earlier version of the PR only proved the main theorem for UFDs, and `le_dedup_self` and `normalized_factors_prod_eq` are remnants from that previous attempt; they are not used to prove the main theorem but are definitely useful lemmas to have. - [x] depends on: #15880 Co-authored-by: Shimon Schlessinger <shimonschlessinger@Eitans-MacBook-Air.local> Co-authored-by: Shimonschlessinger <Shimonschlessinger@users.noreply.github.com> Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
- Loading branch information
1 parent
b9cbf57
commit 79de90f
Showing
8 changed files
with
176 additions
and
78 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
Oops, something went wrong.