Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - feat(category_theory/category/{Pointed,Bipointed}): The categories of pointed/bipointed types #11777

Closed
wants to merge 7 commits into from

Conversation

YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented Feb 2, 2022

Define

  • Pointed, the category of pointed types
  • Bipointed, the category of bipointed types
  • the forgetful functors from Bipointed to Pointed and from Pointed to Type*
  • Type_to_Pointed, the functor from Type* to Pointed induced by option
  • Bipointed.swap_equiv the equivalence between Bipointed and itself induced by prod.swap both ways.

Next, I'll define the monoidal structure on Bipointed given by the pointed sum.

Open in Gitpod

@YaelDillies YaelDillies added the awaiting-review The author would like community review of the PR label Feb 2, 2022
Copy link
Collaborator

@b-mehta b-mehta left a comment

Choose a reason for hiding this comment

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

Do we already have the category of pointed types? It would be nice to have the two forgetful functors to that, if we do. If not, feel free to just add it as a TODO.

@YaelDillies
Copy link
Collaborator Author

Now we do!

@YaelDillies YaelDillies changed the title feat(category_theory/category/Bipointed): The category of bipointed types feat(category_theory/category/{Pointed,Bipointed}): The categories of pointed/bipointed types Feb 2, 2022
Copy link
Collaborator

@b-mehta b-mehta left a comment

Choose a reason for hiding this comment

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

bors d+

src/category_theory/category/Bipointed.lean Show resolved Hide resolved
src/category_theory/category/Bipointed.lean Outdated Show resolved Hide resolved
@bors
Copy link

bors bot commented Feb 4, 2022

✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Feb 4, 2022
@YaelDillies
Copy link
Collaborator Author

Thanks for the review!

bors merge

bors bot pushed a commit that referenced this pull request Feb 4, 2022
… pointed/bipointed types (#11777)

Define
* `Pointed`, the category of pointed types
* `Bipointed`, the category of bipointed types
* the forgetful functors from `Bipointed` to `Pointed` and from `Pointed` to `Type*`
* `Type_to_Pointed`, the functor from `Type*` to `Pointed` induced by `option`
* `Bipointed.swap_equiv` the equivalence between `Bipointed` and itself induced by `prod.swap` both ways.
@bors
Copy link

bors bot commented Feb 4, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(category_theory/category/{Pointed,Bipointed}): The categories of pointed/bipointed types [Merged by Bors] - feat(category_theory/category/{Pointed,Bipointed}): The categories of pointed/bipointed types Feb 4, 2022
@bors bors bot closed this Feb 4, 2022
@bors bors bot deleted the Bipointed branch February 4, 2022 19:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
delegated The PR author may merge after reviewing final suggestions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants