Skip to content

Opposite monoidal categories and related duality#578

Closed
jajaperson wants to merge 0 commit intothe1lab:mainfrom
jajaperson:main
Closed

Opposite monoidal categories and related duality#578
jajaperson wants to merge 0 commit intothe1lab:mainfrom
jajaperson:main

Conversation

@jajaperson
Copy link
Contributor

Description

Extending #575, this pull request defines the following

  • Isomorphism of categories $(\mathcal C \times \mathcal D)^\mathrm{op} \cong \mathcal C^\mathrm{op} \times \mathcal D^\mathrm{op}$
  • The isomorphism of categories $[\mathcal C, \mathcal C]^\mathrm{op} \cong [\mathcal C^\mathrm{op}, \mathcal C^\mathrm{op}]$ preserves identity functors
  • Opposite bifunctor
  • Opposite monoidal category

Checklist

Before submitting a merge request, please check the items below:

  • I've read the contributing guidelines.
  • The imports of new modules have been sorted with support/sort-imports.hs (or nix run --experimental-features nix-command -f . sort-imports).
  • All new code blocks have "agda" as their language.

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:.

Copy link
Member

@plt-amy plt-amy left a comment

Choose a reason for hiding this comment

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

you were right, inverse-unique does give very elegant solutions here. thank you! i just have some style considerations.

@Lavenza
Copy link
Member

Lavenza commented Jan 2, 2026

@jajaperson
Copy link
Contributor Author

oh hang on I picked up a typo let me fix that

@jajaperson
Copy link
Contributor Author

also I think the imports can be cleaned up a bit, on that now

Copy link
Member

@ncfavier ncfavier left a comment

Choose a reason for hiding this comment

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

perhaps we should have some reflection helpers for these trivial category isos, à la Cat.Functor.Naturality.Reflection

@plt-amy plt-amy closed this Jan 2, 2026
jajaperson added a commit to jajaperson/1lab that referenced this pull request Jan 3, 2026
@jajaperson jajaperson mentioned this pull request Jan 3, 2026
3 tasks
ncfavier pushed a commit that referenced this pull request Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants