You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think ×C-sym is a good naming convention, I prefer Sym. You can always use qualified imports to make it explicit which Sym you are going for. IMO this ultimately reduces proliferation of long qualifiers.
The Yoneda embedding is already defined as YO in Cubical.Categories.Yoneda
Thanks for pointing me to YO, I had missed that somehow.
The lemma Sym has not followed a pre-existent naming convention already adopted by ×C-assoc. Whatever is decided, both should follow the same naming scheme.
One would probably want to use _×C_ unqualified, so one would need an unqualified import as well. Then either the file should be imported as
open importCubical.Categories.Constructions.BinProductusing ({-bunch of stuff that's clearly product-related-})
importCubical.Categories.Constructions.BinProduct as ×C
or we need to put everything that can get a shorter name by not mentioning it is product-related in a named submodule.
Given that categories are big records with eta-equality, often bearing complicated equality proofs, they often perform very badly as implicit arguments and produce poor interactive-mode guidance. So I would still suggest to make these arguments to Sym/×C-sym explicit as is the case in ×C-assoc.
One would probably want to use ×C unqualified, so one would need an unqualified import as well. Then either the file should be imported as
open importCubical.Categories.Constructions.BinProductusing ({-bunch of stuff that's clearly product-related-})
importCubical.Categories.Constructions.BinProduct as ×C
or we need to put everything that can get a shorter name by not mentioning it is product-related in a named submodule.
A better way to do this is to write it in a single line like so:
open importCubical.Categories.Constructions.BinProduct as ×C using ({-bunch of stuff that's clearly product-related-})
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
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.
No description provided.