This repository was archived by the owner on Jul 24, 2024. It is now read-only.
feat(algebra/*): morphisms from closures are equal if they agree on generators - #18836
Open
eric-wieser wants to merge 2 commits into
Open
feat(algebra/*): morphisms from closures are equal if they agree on generators#18836eric-wieser wants to merge 2 commits into
eric-wieser wants to merge 2 commits into
Conversation
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 := |
Member
Author
There was a problem hiding this comment.
@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⦄ |
Member
Author
There was a problem hiding this comment.
Unfortunately the existing lemma couldn't be tagged ext
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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_subsemigroupsubmonoid,add_submonoidsubmodulesubalgebrastar_subalgebraI don't add it for
subsemiringorsubringas these are missing theinduction'lemma used to prove it.