-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(model_theory/basic): more substructure API, including subtype, map, and comap #7937
Conversation
🎉 Great news! Looks like all the dependencies have been resolved: 💡 To add or remove a dependency please update this issue/PR description. Brought to you by Dependent Issues (:robot: ). Happy coding! |
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.
Mostly looks good to me. Some minor comments.
src/model_theory/basic.lean
Outdated
lemma map_map (g : N →[L] P) (f : M →[L] N) : (S.map f).map g = S.map (g.comp f) := | ||
set_like.coe_injective $ image_image _ _ _ | ||
|
||
|
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.
There seem to be a bunch of double empty lines between the lemma declarations here. Is that intentional?
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.
Could you give a motivation?
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.
Sorry for the wait!
bors d+
src/model_theory/basic.lean
Outdated
lemma map_map (g : N →[L] P) (f : M →[L] N) : (S.map f).map g = S.map (g.comp f) := | ||
set_like.coe_injective $ image_image _ _ _ | ||
|
||
|
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.
Could you give a motivation?
✌️ awainverse can now approve this pull request. To approve and merge a pull request, simply reply with |
@awainverse As far as I can see, this is mostly ready to go. Are you planning to return to this in the near future? |
I've just finished a long break while I've had a summer job - I'll push my changes and try to merge this once I can figure out personal access tokens. |
bors r+ |
…ap, and comap (#7937) Defines `first_order.language.embedding.of_injective`, which bundles an injective hom in an algebraic language as an embedding Defines the induced `L.Structure` on an `L.substructure` Defines the embedding `S.subtype` from `S : L.substructure M` into `M` Defines `substructure.map` and `substructure.comap` and associated API including Galois insertions
Pull request successfully merged into master. Build succeeded: |
Defines
first_order.language.embedding.of_injective
, which bundles an injective hom in an algebraic language as an embeddingDefines the induced
L.Structure
on anL.substructure
Defines the embedding
S.subtype
fromS : L.substructure M
intoM
Defines
substructure.map
andsubstructure.comap
and associated API including Galois insertionsThis is mostly copied from the
submonoid
API.