Skip to content

[Merged by Bors] - feat(RingTheory/Localization/*): add IsLocalization.algEquivOfAlgEquiv and other results#18661

Closed
acmepjz wants to merge 19 commits intomasterfrom
acmepjz_alg_equiv_of_alg_equiv
Closed

[Merged by Bors] - feat(RingTheory/Localization/*): add IsLocalization.algEquivOfAlgEquiv and other results#18661
acmepjz wants to merge 19 commits intomasterfrom
acmepjz_alg_equiv_of_alg_equiv

Conversation

@acmepjz
Copy link
Copy Markdown
Collaborator

@acmepjz acmepjz commented Nov 5, 2024

  • MulEquivClass.map_nonZeroDivisors: MulEquiv preserves non-zero divisors
  • IsLocalization.algEquivOfAlgEquiv: generalizes IsLocalization.ringEquivOfRingEquiv
  • rename IsFractionRing.fieldEquivOfRingEquiv -> IsFractionRing.ringEquivOfRingEquiv as it does not require field assumption anymore
  • IsFractionRing.algEquivOfAlgEquiv: generalize IsFractionRing.ringEquivOfRingEquiv
  • IsLocalization.liftAlgHom, IsFractionRing.liftAlgHom: AlgHom version of lift
  • generalize FractionRing.algEquiv to ring case
  • remove IsDomain assumption as much as possible. This makes the left hand side of mk'_eq_zero_iff_eq_zero not a simp normal form, so it's removed from simp lemmas.

Open in Gitpod

@acmepjz acmepjz added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebra Algebra (groups, rings, fields, etc) labels Nov 5, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 5, 2024

PR summary 36bca67931

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ MulEquivClass.map_nonZeroDivisors
+ algEquivOfAlgEquiv_algebraMap
+ algEquivOfAlgEquiv_eq
+ algEquivOfAlgEquiv_eq_map
+ algEquivOfAlgEquiv_mk'
+ restrictScalars_fieldEquivOfAlgEquiv
+ ringEquivOfRingEquiv
+ ringEquivOfRingEquiv_algebraMap
++ algEquivOfAlgEquiv
++ algEquivOfAlgEquiv_symm
++ coe_liftAlgHom
++ liftAlgHom
++ liftAlgHom_apply
++ liftAlgHom_toRingHom
++ ringEquivOfRingEquiv_symm

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.

@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Nov 5, 2024
@erdOne erdOne added the awaiting-author A reviewer has asked the author a question or requested changes. label Nov 9, 2024
acmepjz and others added 4 commits November 10, 2024 00:28
@acmepjz acmepjz removed the awaiting-author A reviewer has asked the author a question or requested changes. label Nov 9, 2024
@acmepjz acmepjz requested a review from alreadydone November 12, 2024 18:25
acmepjz and others added 2 commits November 13, 2024 07:52
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Copy link
Copy Markdown
Contributor

@alreadydone alreadydone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by alreadydone.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 13, 2024
@riccardobrasca
Copy link
Copy Markdown
Member

Thanks!

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Nov 13, 2024
mathlib-bors bot pushed a commit that referenced this pull request Nov 13, 2024
…iv` and other results (#18661)

- `MulEquivClass.map_nonZeroDivisors`: `MulEquiv` preserves non-zero divisors
- `IsLocalization.algEquivOfAlgEquiv`: generalizes `IsLocalization.ringEquivOfRingEquiv`
- rename `IsFractionRing.fieldEquivOfRingEquiv` -> `IsFractionRing.ringEquivOfRingEquiv` as it does not require field assumption anymore
- `IsFractionRing.algEquivOfAlgEquiv`: generalize `IsFractionRing.ringEquivOfRingEquiv`
- `IsLocalization.liftAlgHom`, `IsFractionRing.liftAlgHom`: `AlgHom` version of `lift`
- generalize `FractionRing.algEquiv` to ring case
- remove `IsDomain` assumption as much as possible. This makes the left hand side of `mk'_eq_zero_iff_eq_zero` not a simp normal form, so it's removed from simp lemmas.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 13, 2024

Build failed:

@riccardobrasca
Copy link
Copy Markdown
Member

Can you please merge master and fix the error? Thanks!

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 13, 2024

✌️ acmepjz can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Nov 13, 2024
ext
simp_rw [Submonoid.map_equiv_eq_comap_symm, Submonoid.mem_comap, mem_nonZeroDivisors_iff,
← h.symm.forall_congr_right, h.symm.coe_toMonoidHom, h.symm.toEquiv_eq_coe, h.symm.coe_toEquiv,
← map_mul, map_eq_zero_iff _ h.symm.injective]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like to_additive alias malfunctioing in #18809 ...

@alreadydone alreadydone added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Nov 13, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Nov 13, 2024
@riccardobrasca
Copy link
Copy Markdown
Member

Thanks!

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Nov 13, 2024
…iv` and other results (#18661)

- `MulEquivClass.map_nonZeroDivisors`: `MulEquiv` preserves non-zero divisors
- `IsLocalization.algEquivOfAlgEquiv`: generalizes `IsLocalization.ringEquivOfRingEquiv`
- rename `IsFractionRing.fieldEquivOfRingEquiv` -> `IsFractionRing.ringEquivOfRingEquiv` as it does not require field assumption anymore
- `IsFractionRing.algEquivOfAlgEquiv`: generalize `IsFractionRing.ringEquivOfRingEquiv`
- `IsLocalization.liftAlgHom`, `IsFractionRing.liftAlgHom`: `AlgHom` version of `lift`
- generalize `FractionRing.algEquiv` to ring case
- remove `IsDomain` assumption as much as possible. This makes the left hand side of `mk'_eq_zero_iff_eq_zero` not a simp normal form, so it's removed from simp lemmas.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 13, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(RingTheory/Localization/*): add IsLocalization.algEquivOfAlgEquiv and other results [Merged by Bors] - feat(RingTheory/Localization/*): add IsLocalization.algEquivOfAlgEquiv and other results Nov 13, 2024
@mathlib-bors mathlib-bors bot closed this Nov 13, 2024
@mathlib-bors mathlib-bors bot deleted the acmepjz_alg_equiv_of_alg_equiv branch November 13, 2024 15:19
@acmepjz
Copy link
Copy Markdown
Collaborator Author

acmepjz commented Nov 13, 2024

Can you please merge master and fix the error? Thanks!

Sorry, I was AFK for a while. Thanks for fixing the problem.

TobiasLeichtfried pushed a commit that referenced this pull request Nov 21, 2024
…iv` and other results (#18661)

- `MulEquivClass.map_nonZeroDivisors`: `MulEquiv` preserves non-zero divisors
- `IsLocalization.algEquivOfAlgEquiv`: generalizes `IsLocalization.ringEquivOfRingEquiv`
- rename `IsFractionRing.fieldEquivOfRingEquiv` -> `IsFractionRing.ringEquivOfRingEquiv` as it does not require field assumption anymore
- `IsFractionRing.algEquivOfAlgEquiv`: generalize `IsFractionRing.ringEquivOfRingEquiv`
- `IsLocalization.liftAlgHom`, `IsFractionRing.liftAlgHom`: `AlgHom` version of `lift`
- generalize `FractionRing.algEquiv` to ring case
- remove `IsDomain` assumption as much as possible. This makes the left hand side of `mk'_eq_zero_iff_eq_zero` not a simp normal form, so it's removed from simp lemmas.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants