You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
In category theory, and specifically applied category theory, we often structure models as functors, with the domain of the functor representing syntax, the codomain representing semantics, and the functor itself assigning semantic interpretations to syntactic elements.
I am looking for prior work which takes this (or a similar perspective) and uses natural transformations (or other 2-cells) to structure model comparisons. I would appreciate any pointers or worked examples, especially things that are closer to the applied end of the spectrum (e.g., probability, dynamics).
Well, I guess you already know about ologs and algebraic profunctors, Spencer. Double Lawvere theories also do this. But I’m somehow guessing these aren’t what you want.
I'm mostly looking for references that I can pass on to students. Ologs are a good example, but I don't know a good worked example that takes this perspective.
Something with a quantitative element would also be nice. Perrone's paper on "Markov categories & entropy" is another that touches on this issue.
I'm not sure I'm catching what you mean. You don't think most ologs work reflects the functorial semantics perspective?
I think most ologs work concentrates on migrations, which are more like base change, rather than homomorphisms between models of the same olog.
I'm saying that ologs would provide a good example of this perspective, if I knew of good references to point at that work through this idea. Most references I know talk about things like graph homomorphisms, but there's a pretty big conceptual step to recognize how to use the 2-cells for this purpose.
One place that I expect to find something, but don't know quite where to look, is in the literature on coalgebras and bisomulation.
I think graph homomorphisms are a great example and have found (computer science) students very receptive to it
With apologies for suggesting my own work, my thesis takes this perspective on statistics: statistical models are viewed as Markov functors from syntactical Markov categories (with bells and whistles) into a category of Markov kernels, and morphisms between those (monoidal natural transformations) are studied as homomorphisms of statistical models. A number of concrete examples are worked out in detail. A fun thing is computing the automorphism groups of some classical kinds of models, such as linear models and linear mixed models.
I prefer to use the words "schema" and "foundations" for the domain and codomains of models. Just because "syntax" and "semantics" is a dichotomy I think of in terms of the type-theory/category-theory relationship.
In general, I think this form of model structural specification falls under the umbrella of functorial semantics. I've seen this kind of modeling in the context of lawvere theories, GATs, universal algebra, Charles Ereshmann talked a lot about this in terms of signatures, anything from higher category theory that involves a "walking object" W so that the structure of objects in X is hom(W,X). A lot of Riehl/Verity's elements book uses this mindset, for example this paper talks about the walking adjunction and monad: RV15.
As a potential new perspective, your comparison natural transformations, under the right meta-theory lens, can also be thought of as encoding functors, where you use one model as a schema, and another model as the foundations. ie a natural transformation between appropriate models can be thought of as a 2-model.
However, sometimes the direct natural transformations are not the correct morphisms for your model. For example see the introduction to Patterson's work here: P24. This necessitates a change at a higher meta-theory level
I don't think this subject really needs more idiosyncratic (use of) terminology, which includes the way you're using "2-model". A "2-model" normally refers to a model of a 2-dimensional theory, a "2-theory", not a model of a theory that "lives in the second dimension".
What would you call a model that requires two levels of functorial specification. e.g. like ?
It's actually more of a 0-model, because the elements of are (tuples of) functions, not functors.
if * = 2 and we have are 2-functors and are diagrams of 1-functors
I apologize if my terminology is not so standard, thank you for feedback
I thought by "*" you meant "with products", because the standard meaning of "pointed" didn't work in context. Categories of 2-categories are usually known as (sometimes with a subscript or superscript for strictness) or sometimes if you are talking about weak 2-categories specifically (but that terminology is somewhat obsolescent).
Anyway, in the case you speak of, then what you're talking about is an ordinary model or 1-model.
yes, I apologize for not introducing my perspective, I view to be the place holder for arbitrary structured higher categories, i.e. some kind of not-yet-specified higher doctrine
so what would you call an ?
Anyone else who sees that is going to think you mean pointed categories and get confused.
That would be a 2-model.
Oh, wait, no it wouldn't, I missed the extra set of parens, it would be a 1-model again.
okay so is a 2-model? :face_with_spiral_eyes:
So you want to refer to the ultimate codomain object dimensionality as the n in n-model? I have been loosely using the term for counting how many layers of functorial semantics one needs to specify a structure
Yes. If "model" has a numeric prefix, it refers to the nature of the model, whether it is composed of functions (0-functors), functors, 2-functors, etc, not to the context in which it is introduced. This contrasts with a numeric prefix on "morphism" or "transfor".
...but agrees with a numeric prefix on "category" or "functor".
Sorry to take over this thread I will ask one more question of you James, thank you for your feedback, if I wanted to name these models not by their categorical dimensionality but rather how many layers of iterated functorial semantics it takes to specify them, would you have any suggestions in mind as to what to name it?
The best I can think of is "(k-1)-morphism of [n-]models", although this deemphasizes the analogy between the lower-dimensional and higher-dimensional layers.
If you only want to go to 4 layers at most, you can use the sequence "doctrine, theory, model, homomorphism".
If neither is something you can work with, then and only then you should invent idiosyncratic terminology, but make sure you read enough of the related literature to avoid overlapping with something established. (It can help to google your prospective terms.)
There's a sense in which the number of layers is the dimensionality:
(diagram)
M is a k-globe of n-categories, n-functors, n-natural transformations, n- modifications, etc up to n- (k-transfors)
so k here is the globular dimension, I think this lines up with the k that you used above.