Comonoids, duality, and related displayed tech#584
Draft
jajaperson wants to merge 18 commits intothe1lab:mainfrom
Draft
Comonoids, duality, and related displayed tech#584jajaperson wants to merge 18 commits intothe1lab:mainfrom
jajaperson wants to merge 18 commits intothe1lab:mainfrom
Conversation
Since duality of monoids and comonoids should be constructed as a functor
displayed over the isomorphism
$(\mathcal C^\mathrm{op})^\mathrm{op} \cong \mathcal C$, this refactors
`Cat.Base` slightly by removing the `C^op^op≡C` in favour of defining
the underlying isomorphism in a separate module, which can then be used
to define a path between precategories.
Also I sorted some imports.
So that we can use it without importing all the bicategory stuff.
For consistency with `Cat.Reasoning`.
Member
New pages
Changed pages
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
WIP
Description
This PR is working up to proving$\mathrm{Mon}(\mathcal C^\mathrm{op})^\mathrm{op}$ and $\mathrm{Comon}(\mathcal C)$ are equivalent as displayed categories. This has involved defining a lot of displayed machinery.
Checklist
Before submitting a merge request, please check the items below:
support/sort-imports.hs(ornix run --experimental-features nix-command -f . sort-imports).If your change affects many files without adding substantial content, and
you don't want your name to appear on those pages (for example, treewide
refactorings or reformattings), start the commit message and PR title with
chore:.Footnotes
Ahrens, Benedikt, and Peter LeFanu Lumsdaine. 2017. “Displayed Categories.” In 2nd International Conference on Formal Structures for Computation and Deduction (FSCD 2017), edited by Dale Miller, vol. 84. Leibniz International Proceedings in Informatics (LIPIcs). Schloss Dagstuhl – Leibniz-Zentrum für Informatik. https://doi.org/10.4230/LIPIcs.FSCD.2017.5. ↩