Skip to content
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(CategoryTheory/Limits): pushouts in the category of sets #9992

Closed
wants to merge 14 commits into from

Conversation

joelriou
Copy link
Collaborator

@joelriou joelriou commented Jan 25, 2024

This PR studies pushouts in the category of types. Specific properties of the pushout when one of the morphisms is injective are obtained.

This PR partly removes the reference to the issue #5752 : the HasPushouts (Type _) instance can now be found automatically, but not HasPullbacks.


Open in Gitpod

@joelriou joelriou added the t-category-theory Category theory label Jan 25, 2024
@joelriou joelriou changed the title feat(CategoryTheory/Limits): pushout in the category of sets feat(CategoryTheory/Limits): pushouts in the category of sets Jan 25, 2024
@joelriou joelriou added the awaiting-review The author would like community review of the PR label Jan 25, 2024
@urkud
Copy link
Member

urkud commented Jan 29, 2024

I left a couple of trivial comments but I'm not assigning this PR to myself because I'm not an active user of the category theory part of the library.

@joelriou
Copy link
Collaborator Author

Thanks @urkud for your suggestions!

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Feb 8, 2024
@joelriou
Copy link
Collaborator Author

joelriou commented Feb 8, 2024

Thanks @jcommelin for the suggestions which I have all applied.

@joelriou joelriou added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Feb 9, 2024
Mathlib/CategoryTheory/Limits/Shapes/Types.lean Outdated Show resolved Hide resolved
Mathlib/CategoryTheory/Limits/Shapes/Types.lean Outdated Show resolved Hide resolved
intro x y z hxy hyz
obtain _|⟨_, _, h⟩|s|_ := hxy
· exact hyz
· obtain z₁|z₂ := z
Copy link
Member

Choose a reason for hiding this comment

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

Can this step also be integrated into the rintro?

Copy link
Collaborator Author

@joelriou joelriou Feb 9, 2024

Choose a reason for hiding this comment

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

Thanks for the suggestions! I have used rintro for the hxy variable, but not for z because this would create 8 goals instead of 7.

Mathlib/CategoryTheory/Limits/Shapes/Types.lean Outdated Show resolved Hide resolved
@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Feb 9, 2024
joelriou and others added 2 commits February 9, 2024 07:37
Co-authored-by: Johan Commelin <johan@commelin.net>
Co-authored-by: Johan Commelin <johan@commelin.net>
@joelriou joelriou added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Feb 9, 2024
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Feb 9, 2024
mathlib-bors bot pushed a commit that referenced this pull request Feb 9, 2024
This PR studies pushouts in the category of types. Specific properties of the pushout when one of the morphisms is injective are obtained.

This PR partly removes the reference to the issue #5752 : the `HasPushouts (Type _)` instance can now be found automatically, but not `HasPullbacks`.



Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
@mathlib-bors
Copy link

mathlib-bors bot commented Feb 9, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(CategoryTheory/Limits): pushouts in the category of sets [Merged by Bors] - feat(CategoryTheory/Limits): pushouts in the category of sets Feb 9, 2024
@mathlib-bors mathlib-bors bot closed this Feb 9, 2024
@mathlib-bors mathlib-bors bot deleted the types-pushout branch February 9, 2024 21:00
atarnoam pushed a commit that referenced this pull request Feb 10, 2024
This PR studies pushouts in the category of types. Specific properties of the pushout when one of the morphisms is injective are obtained.

This PR partly removes the reference to the issue #5752 : the `HasPushouts (Type _)` instance can now be found automatically, but not `HasPullbacks`.



Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
This PR studies pushouts in the category of types. Specific properties of the pushout when one of the morphisms is injective are obtained.

This PR partly removes the reference to the issue #5752 : the `HasPushouts (Type _)` instance can now be found automatically, but not `HasPullbacks`.



Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors. t-category-theory Category theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants