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(category_theory/monoidal): define the bicategory of algebras and bimodules internal to some monoidal category #14402

Closed
wants to merge 59 commits into from

Conversation

manzyuk
Copy link
Collaborator

@manzyuk manzyuk commented May 26, 2022

We generalise the well-known construction of the 2-category of rings, bimodules, and intertwiners. Given a monoidal category C that has coequalizers and in which left and right tensor products preserve colimits, we define a bicategory whose

  • objects are monoids in C;
  • 1-morphisms are bimodules;
  • 2-morphisms are bimodule homomorphisms.

The composition of 1-morphisms is given by the tensor product of bimodules over the middle monoid.


Open in Gitpod

@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the awaiting-review The author would like community review of the PR label Jul 25, 2022
bors bot pushed a commit that referenced this pull request Jul 25, 2022
… bimodules internal to some monoidal category (#14402)

We generalise the [well-known construction](https://ncatlab.org/nlab/show/bimodule#AsMorphismsInA2Category) of the 2-category of rings, bimodules, and intertwiners.  Given a monoidal category `C` that has coequalizers and in which left and right tensor products preserve colimits, we define a bicategory whose
- objects are monoids in C;
- 1-morphisms are bimodules;
- 2-morphisms are bimodule homomorphisms.

The composition of 1-morphisms is given by the tensor product of bimodules over the middle monoid.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Jul 25, 2022

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Jul 25, 2022
… bimodules internal to some monoidal category (#14402)

We generalise the [well-known construction](https://ncatlab.org/nlab/show/bimodule#AsMorphismsInA2Category) of the 2-category of rings, bimodules, and intertwiners.  Given a monoidal category `C` that has coequalizers and in which left and right tensor products preserve colimits, we define a bicategory whose
- objects are monoids in C;
- 1-morphisms are bimodules;
- 2-morphisms are bimodule homomorphisms.

The composition of 1-morphisms is given by the tensor product of bimodules over the middle monoid.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Jul 25, 2022

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Jul 25, 2022
… bimodules internal to some monoidal category (#14402)

We generalise the [well-known construction](https://ncatlab.org/nlab/show/bimodule#AsMorphismsInA2Category) of the 2-category of rings, bimodules, and intertwiners.  Given a monoidal category `C` that has coequalizers and in which left and right tensor products preserve colimits, we define a bicategory whose
- objects are monoids in C;
- 1-morphisms are bimodules;
- 2-morphisms are bimodule homomorphisms.

The composition of 1-morphisms is given by the tensor product of bimodules over the middle monoid.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Jul 25, 2022

Build failed:

@robertylewis robertylewis added awaiting-author A reviewer has asked the author a question or requested changes and removed ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) labels Jul 28, 2022
@manzyuk
Copy link
Collaborator Author

manzyuk commented Aug 13, 2022

I didn't have time to look into this in detail (and patience, as VS Code takes ages to check the file) but apparently there has been a recent refactoring of preserves_colimits class, so that Lean is no longer able to derive an instance of preserves_colimit (parallel_pair f g) (tensor_left Z) from ∀ X : C, preserves_colimits (tensor_left X).

@semorrison semorrison requested a review from a team as a code owner October 16, 2022 07:26
@semorrison
Copy link
Collaborator

I didn't have time to look into this in detail (and patience, as VS Code takes ages to check the file) but apparently there has been a recent refactoring of preserves_colimits class, so that Lean is no longer able to derive an instance of preserves_colimit (parallel_pair f g) (tensor_left Z) from ∀ X : C, preserves_colimits (tensor_left X).

This was a universe issue, which I've just fixed, and will bump this back onto the queue.

@semorrison semorrison added awaiting-CI The author would like to see what CI has to say before doing more work. and removed awaiting-author A reviewer has asked the author a question or requested changes labels Oct 16, 2022
@semorrison
Copy link
Collaborator

bors d+

@bors
Copy link

bors bot commented Oct 16, 2022

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

@github-actions github-actions bot added the delegated The PR author may merge after reviewing final suggestions. label Oct 16, 2022
@manzyuk
Copy link
Collaborator Author

manzyuk commented Oct 16, 2022

Thanks you very much, Scott!

bors r+

@bors
Copy link

bors bot commented Oct 16, 2022

👎 Rejected by label

@semorrison
Copy link
Collaborator

@manzyuk, it needs to finish CI first (so that the awaiting-CI label gets removed) before you can ask bors to merge.

@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Oct 16, 2022
@manzyuk
Copy link
Collaborator Author

manzyuk commented Oct 16, 2022

bors r+

bors bot pushed a commit that referenced this pull request Oct 16, 2022
… bimodules internal to some monoidal category (#14402)

We generalise the [well-known construction](https://ncatlab.org/nlab/show/bimodule#AsMorphismsInA2Category) of the 2-category of rings, bimodules, and intertwiners.  Given a monoidal category `C` that has coequalizers and in which left and right tensor products preserve colimits, we define a bicategory whose
- objects are monoids in C;
- 1-morphisms are bimodules;
- 2-morphisms are bimodule homomorphisms.

The composition of 1-morphisms is given by the tensor product of bimodules over the middle monoid.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Oct 16, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(category_theory/monoidal): define the bicategory of algebras and bimodules internal to some monoidal category [Merged by Bors] - feat(category_theory/monoidal): define the bicategory of algebras and bimodules internal to some monoidal category Oct 16, 2022
@bors bors bot closed this Oct 16, 2022
@bors bors bot deleted the semorrison/Bimod branch October 16, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants