Comments (9)
I'm not always fond of the IsX
stuff. It would be especially odd in CT, where 'flat' theories seem to make sense. Having said that, I'm sure there are cases where the current setup is wrong, and should be fixed.
from agda-categories.
what do you mean? I suppose this is more like a stylistic issue, isn't it?
from agda-categories.
I don't like the IsMonoid
structure that separates out all the properties into a bundle, with the rest 'unbundled'. It's a holdover from a combination of over-focusing on computation and downplaying proofs, and proof-irrelevance, which while not downplaying proofs as much, still says that there is no actual information content to proofs. This library is proof-relevant...
It is definitely a stylistic issue.
from agda-categories.
It is definitely a stylistic issue.
I guess that's true, but the reason why I mentioned this in #40 wasn't really stylistic. It was actually rather pragmatic. I was trying to implement the category Groupoids
of groupoids and functors, so I needed a structure Groupoid
(of type Set o
) for the objects. There was already a record Groupoid
(in Categories.Category.Groupoid
) but that wasn't the structure, it was a predicate on categories, the property of being a groupoid. Of course, I could have used Σ (Category _ _ _) Groupoid
as the type of objects, but that's not very readable. I prefer to use records to give proper names to structures.
So my question is really: when there's a structure Y
that is an X
with extra properties, and there are good reasons to both represent the structure Y
and the property (predicate on X
s) of being a Y
, how should the two be distinguished?
Note that I'm in no way suggesting that the predicate is somehow less important or that it has no information content. It simply has a different type, which I think should be reflected somehow in the name.
from agda-categories.
at this moment it is really done by repeating X
. see for example:
agda-categories/Categories/Functor/Monoidal.agda
Lines 20 to 27 in e84322e
indeed, if Monoidal
were a structure instead of a predicate, this definition would look a bit more natural.
from agda-categories.
So I agree that, right now, Groupoid
is ill-named, because it isn't the structure/type, but a predicate. I would be happy to change its name, and introduce a proper Groupoid
.
Monoidal
is to me different, because it adds additional structure on top of underlying structure. And you not infrequently want 2 monoidal structures on the same underlying category.
I guess I'd prefer to start with fixing the obvious cases that are wrong, and see what kind of naming convention emerges. I'm happy to release 0.X versions that are actively advertised as having a slightly unstable API -- and then ensure the 1.0 version stabilizes the core API. I don't feel like I quite know enough right now to suggest a naming convention that's going to be sufficiently future-proof.
from agda-categories.
The Groupoid
issue has now been taken care of.
In most presentations of monoidal categories, it starts with "A Monoidal category is a category equipped with ...". So it does feel like it is naturally an over-structure; it definitely isn't a 'predicate'.
Interestingly, the one that I'm still most unsure of is Apex
as part of Cone
! In some of the uses, it would be better parametrized, and others like it is, as a structure. So I am quite undecided. [Or maybe it's the other way around, it's Cone that should be parametrized]
from agda-categories.
So things have definitely 'evolved' since this issue was created. We do have a bunch of IsX
and also X
. It does seem to work just fine.
The question is now: what's left to do to close this particular issue? There doesn't seem to be any active, outstanding items?
from agda-categories.
It's been a month since I asked about this, and no comments. Re-reading makes me think there's nothing left to do. At least, this issue won't caused any more direct work.
from agda-categories.
Related Issues (20)
- Discrepancy of `unique` of `Product` and `unique` of `IsPullback` HOT 1
- Spelling mistake in Categories.Morphism.HeterogeneousIdentity HOT 1
- Suggested improvements for `IsPullback` HOT 1
- Bicategory terminology HOT 4
- Field names for RegularEpi/RegularMono are nondescriptive HOT 6
- Move Everything.agda to src. HOT 10
- Naming of fields in CartesianClosed Functor HOT 2
- Maybe the Hom version of Adjunction can be fully polymorphic? HOT 1
- Pull out adjunction between products and exponentials HOT 1
- Move Categories.Category.Diagram.Span to Categories.Diagram.Span
- Remove Categories.Category.Equivalence HOT 1
- `!-unique₂` takes implicit args in `Terminal`, whereas it takes explicit ones in `Initial` HOT 1
- ramp up stdlib version? HOT 14
- Caching on CI seems to be broken HOT 12
- NaturalNumber -> NNO? HOT 1
- Trivial solution set for Adjoint functor theorem HOT 8
- Yoneda is broken HOT 6
- Big dagger-category to-do list
- Support stdlib 2.0 HOT 4
- agda-categories should list compatibility versions on README HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agda-categories.