This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 298
feat(algebra/*): morphisms from closures are equal if they agree on generators #18836
Open
eric-wieser
wants to merge
2
commits into
master
Choose a base branch
from
eric-wieser/span-ext
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
eric-wieser
added
awaiting-review
The author would like community review of the PR
awaiting-CI
The author would like to see what CI has to say before doing more work.
t-algebra
Algebra (groups, rings, fields etc)
labels
Apr 19, 2023
github-actions
bot
added
the
modifies-synchronized-file
This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR.
label
Apr 19, 2023
eric-wieser
commented
Apr 19, 2023
Comment on lines
-613
to
+620
lemma ext_adjoin {s : set A} [star_alg_hom_class F R (adjoin R s) B] {f g : F} | ||
(h : ∀ x : adjoin R s, (x : A) ∈ s → f x = g x) : f = g := | ||
/-- Two star algebra morphisms from `star_subalgebra.adjoin` are equal if they agree on the | ||
generators -/ | ||
lemma _root_.star_alg_hom_class.ext_adjoin | ||
{s : set A} [star_alg_hom_class F R (adjoin R s) B] ⦃f g : F⦄ | ||
(h : f ∘ set.inclusion (subset_adjoin _ _) = g ∘ set.inclusion (subset_adjoin _ _)) : f = g := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@j-loreaux, do you have thoughts on which phrasing is more useful of:
f ∘ set.inclusion (subset_adjoin _ _) = g ∘ set.inclusion (subset_adjoin _ _)
∀ x : adjoin R s, (x : A) ∈ s → f x = g x
∀ (x : A) (hx : x ∈ s), f ⟨x, subset_adjoin _ _ hx⟩ = g ⟨x, subset_adjoin _ _ hx⟩
In theory the first one lets you chain further ext lemmas, but in practice I don't think any exist.
eric-wieser
commented
Apr 19, 2023
generators. | ||
|
||
See note [partially-applied ext lemmas]. -/ | ||
@[ext] lemma ext_adjoin {s : set A} ⦃f g : adjoin R s →⋆ₐ[R] B⦄ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately the existing lemma couldn't be tagged ext
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
awaiting-CI
The author would like to see what CI has to say before doing more work.
awaiting-review
The author would like community review of the PR
modifies-synchronized-file
This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR.
t-algebra
Algebra (groups, rings, fields etc)
too-late
This PR was ready too late for inclusion in mathlib3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds this statement for:
subsemigroup
,add_subsemigroup
submonoid
,add_submonoid
submodule
subalgebra
star_subalgebra
I don't add it for
subsemiring
orsubring
as these are missing theinduction'
lemma used to prove it.