Skip to content

Strict monoidal categories are strict categories#1196

Merged
ecavallo merged 4 commits intoagda:masterfrom
anshwad10:strict-monoidal
Jul 25, 2025
Merged

Strict monoidal categories are strict categories#1196
ecavallo merged 4 commits intoagda:masterfrom
anshwad10:strict-monoidal

Conversation

@anshwad10
Copy link
Contributor

No description provided.

@anshwad10
Copy link
Contributor Author

anshwad10 commented Mar 6, 2025

This will fix #753

@anshwad10 anshwad10 changed the title Strict monoidal categories are strict categories #1194 Strict monoidal categories are strict categories Mar 6, 2025
@anshwad10
Copy link
Contributor Author

@ecavallo could you take a look at this as well?

@ecavallo
Copy link
Collaborator

The change looks good, but I don't know what the intent behind this definition was in the first place (since it is barely used). There are two possibilities here:

  1. A StrictMonCategory is a monoidal {strict category}. This is the interpretation taken by this PR.
  2. A StrictMonCategory is a MonoidalCategory where the coherence isomorphisms are identities. This the interpretation suggested by @anuyts in Strict monoidal categories lack coherence laws #753.

Opinions from @barrettj12 or @anuyts? If there are no objections I will just merge.

@anuyts
Copy link
Contributor

anuyts commented Jul 25, 2025

I think this is (equally) wrong before and after. The unit and associativity laws should concern the entire functors, not just their object part. The current formulation is only correct on thin/posetal categories.

@ecavallo
Copy link
Collaborator

Thanks, I completely overlooked that.

@anuyts
Copy link
Contributor

anuyts commented Jul 25, 2025

Additionally, in the light of #753 cited by @anshwad10 , I think we need triangle & pentagon coherence laws since we cannot assume that the type of objects is an hset.

@ecavallo
Copy link
Collaborator

As it stands the PR does assume the type of objects is an h-set, as part of the definition of IsMonoid. This is what I meant by strict category in my option "1".

@anshwad10
Copy link
Contributor Author

Yeah, I had forgotten to axioms for the morphisms too (so I added it now). I think strict monoidal categories should have underlying strict categories, which is why I required the type of objects to be a set instead of assuming more coherence laws.

@anuyts
Copy link
Contributor

anuyts commented Jul 25, 2025

Ok, that makes sense.

@ecavallo
Copy link
Collaborator

Then I will merge! Thanks all.

@ecavallo ecavallo merged commit 1f2af52 into agda:master Jul 25, 2025
1 check passed
@anshwad10 anshwad10 deleted the strict-monoidal branch July 25, 2025 14:10
@maxsnew maxsnew linked an issue Aug 25, 2025 that may be closed by this pull request
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.

Strict monoidal categories lack coherence laws

3 participants