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

prove that the category of types and functions is symmetric monoidal #23

Open
marcosh opened this issue May 23, 2019 · 5 comments
Open
Assignees

Comments

@marcosh
Copy link
Contributor

marcosh commented May 23, 2019

No description provided.

@marcosh marcosh self-assigned this May 23, 2019
@WhatisRT
Copy link
Contributor

It might be better to have cartesian monoidal categories instead. That way, we get a general machinery and just have to show the existence of finite products or binary products and a terminal object.

@FabrizioRomanoGenovese
Copy link

This actually makes sense. It may be easier to prove that type product is indeed a categorical product, then one could implement the proof that product gives always a monoidal structure (which we already know is true)

@marcosh
Copy link
Contributor Author

marcosh commented May 29, 2019

yes, that makes a lot of sense.

so the steps here could be:

  • define categorical product
  • define terminal object
  • prove that (,) is a categorical product in the category Idris
  • prove that Idris has a terminal object
  • prove that any category with finite products can be seen as a monoidal category

does this seem right?

@FabrizioRomanoGenovese
Copy link

Yes. The thing that may be a pain here is defining terminality. If $T$ is terminal, then you want to prove that f,g:X->T implies f = g for each X, f,g. I don't even think this is true without assuming extensionality, actually.

@marcosh
Copy link
Contributor Author

marcosh commented May 30, 2019

we are going to use TypesAsCategoryExtensional, btw, so we have extensionality

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

No branches or pull requests

3 participants