Skip to content

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

Closed
acmepjz wants to merge 19 commits into
masterfrom
acmepjz_alg_equiv_of_alg_equiv
Closed

acmepjz wants to merge 19 commits into
masterfrom
acmepjz_alg_equiv_of_alg_equiv

Conversation

@acmepjz

@acmepjz acmepjz commented Nov 5, 2024 •

Copy link
Copy Markdown
Collaborator
  • 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

github-actions Bot commented Nov 5, 2024 •

Copy link
Copy Markdown

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 Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 9, 2024
@acmepjz acmepjz removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 9, 2024
@acmepjz
acmepjz requested a review from alreadydone November 12, 2024 18:25

@alreadydone alreadydone left a comment

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.

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

mathlib-bors Bot commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

Build failed:

@riccardobrasca

Copy link
Copy Markdown
Member

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

bors d+

@mathlib-bors

mathlib-bors Bot commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

✌️ 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 <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

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

acmepjz commented Nov 13, 2024

Copy link
Copy Markdown
Collaborator Author

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 <[email protected]>
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