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 intomasterfrom
acmepjz_alg_isalg_ring_hom
Closed

[Merged by Bors] - feat(RingTheory/Algebraic): add Algebra.IsAlgebraic.[of_]ringHom_of_comp_eq and iff version#18769
acmepjz wants to merge 1 commit intomasterfrom
acmepjz_alg_isalg_ring_hom

Conversation

@acmepjz
Copy link
Copy Markdown
Collaborator

@acmepjz acmepjz commented Nov 8, 2024

... 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
Copy link
Copy Markdown

github-actions bot commented Nov 8, 2024

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
Copy link
Copy Markdown
Member

erdOne commented Nov 9, 2024

Thanks!
maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 9, 2024

🚀 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
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 9, 2024

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