Skip to content

[Merged by Bors] - feat(RingTheory/Algebraic): add Algebra.IsAlgebraic.[of_]ringHom_of_comp_eq and iff version - #18769

Closed
acmepjz wants to merge 1 commit into
masterfrom
acmepjz_alg_isalg_ring_hom
Closed

acmepjz wants to merge 1 commit into
masterfrom
acmepjz_alg_isalg_ring_hom

Conversation

@acmepjz

@acmepjz acmepjz commented Nov 8, 2024

Copy link
Copy Markdown
Collaborator

... parallel to element-wise IsAlgebraic.[of_]ringHom_of_comp_eq.


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 8, 2024
@github-actions

github-actions Bot commented Nov 8, 2024

Copy link
Copy Markdown

PR summary 8f330a72bb

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ Algebra.IsAlgebraic.of_ringHom_of_comp_eq
+ Algebra.IsAlgebraic.ringHom_of_comp_eq
+ algebra_isAlgebraic_ringHom_iff_of_comp_eq

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 8, 2024
@erdOne

erdOne commented Nov 9, 2024

Copy link
Copy Markdown
Member

Thanks!
maintainer merge

@github-actions

github-actions Bot commented Nov 9, 2024

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 9, 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 9, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Nov 9, 2024
…comp_eq` and `iff` version (#18769)

... parallel to element-wise `IsAlgebraic.[of_]ringHom_of_comp_eq`.
@mathlib-bors

mathlib-bors Bot commented Nov 9, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(RingTheory/Algebraic): add Algebra.IsAlgebraic.[of_]ringHom_of_comp_eq and iff version [Merged by Bors] - feat(RingTheory/Algebraic): add Algebra.IsAlgebraic.[of_]ringHom_of_comp_eq and iff version Nov 9, 2024
@mathlib-bors mathlib-bors Bot closed this Nov 9, 2024
@mathlib-bors
mathlib-bors Bot deleted the acmepjz_alg_isalg_ring_hom branch November 9, 2024 15:13

theorem IsAlgebraic.ringHom_of_comp_eq (halg : IsAlgebraic R a)
(hf : Function.Injective f)
(h : RingHom.comp (algebraMap S B) f = RingHom.comp g (algebraMap R A)) :

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.

You can write

Suggested change
(h : RingHom.comp (algebraMap S B) f = RingHom.comp g (algebraMap R A)) :
(h : (algebraMap S B).comp f = RingHom.comp g (algebraMap R A)) :

and elsewhere.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Note that f and g are only in RingHomClass, so here I'm extra cautious on using dot notations.

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.

Yeah, but algebraMap _ _ is always a RingHom. I wonder whether (algebraMap R A).comp g works on the RHS; if yes that would be super confusing ...

TobiasLeichtfried pushed a commit that referenced this pull request Nov 21, 2024
…comp_eq` and `iff` version (#18769)

... parallel to element-wise `IsAlgebraic.[of_]ringHom_of_comp_eq`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants